Learn R Programming

lpSolve (version 5.6.23)

lp.object: LP (linear programming) object

Description

Structure of lp object

Arguments

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

Sam Buttrey, buttrey@nps.edu

See Also

lp, lp.assign, lp.transport