Initializing help system before first use

problem.getlpsolval

problem.getlpsolval


Purpose
Used to obtain a single LP solution value following optimization.
Synopsis
x, slack, dual, dj = problem.getlpsolval(column=None, row=None)
Arguments
column 
Column of the variable for which to return the solution value.
row 
Row of the constraint for which to return the solution value.
The returned value of the primal variable.
slack 
The returned value of the slack variable.
dual 
The returned value of the dual variable ( cBTB-1).
dj 
The returned reduced cost for the variable ( cT-cBTB-1A).
Further information
1. This function is currently not supported if the problem is in a presolved state.
2. If column or row are None, the corresponding output is set to -xpress.infinity.
Related topics