Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lp.object

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


lpSolve

Interface to 'Lp_solve' v. 5.5 to Solve Linear/Integer Programs

v5.6.15
LGPL-2
Authors
Michel Berkelaar and others
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.