lp.object: LP (linear programming) object
Description
Structure of lp objectValue
- An lp.object is a list containing the following elements:
- directionthe direction of optimization:
0
= minimization, 1
= maximization. - x.countan integer: the number of variables in objective function.
- objectivea numeric vector containing the coefficients of the objective function.
- const.countan integer: the number of constraints in the model.
- int.countan integer: the number of integer decision variables in the model.
- int.vecan integer vector: the indices of the integer decision variables in the model.
- objvala numeric value: the optimal value of the objective function.
- solutiona numeric vector: the values of the decision variables at the optimal solution.
- statusan integer: indicates 0 = success, 2 = no feasible solution.