Learn R Programming

lpSolve (version 1.1.7)

lp.object: LP (linear programming) object

Description

Structure of lp object

Arguments

Value

  • An lp.object is a list containing the following elements:
  • directionOptimization direction, as entered
  • x.countNumber of variables in objective function
  • objectiveVector of objective function coefficients, as entered
  • const.countNumber of constraints entered
  • constraintsConstraint matrix, as entered
  • int.countNumber of integer variables
  • int.vecVector of integer variables' indices, as entered
  • objval{Value of objective function at optimum}
  • solutionVector of optimal coefficients
  • statusNumeric indicator: 0 = success, 2 = no feasible solution

See Also

lp, lp.assign, lp.transport