R: LP (linear programming) object

lp.object {lpSolve} | R Documentation

## LP (linear programming) object

### Description

Structure of lp object

### Value

An lp.object is a list containing the following elements:

`direction` | Optimization direction, as entered
`x.count` | Number of variables in objective function
`objective` | Vector of objective function coefficients, as entered
`const.count` | Number of constraints entered
`constraints` | Constraint matrix, as entered (not returned by `lp.assign` or `lp.transport`)
`int.count` | Number of integer variables
`int.vec` | Vector of integer variables' indices, as entered
`objval` | Value of objective function at optimum
`solution` | Vector of optimal coefficients
`num.bin.solns` | Numeric indicator of number of solutions returned
`status` | Numeric indicator: 0 = success, 2 = no feasible solution

### Author(s)

Sam Buttrey, buttrey@nps.edu

### See Also

`lp`, `lp.assign`, `lp.transport`

[Package lpSolve version 5.6.13 Index]