problem.getDual
problem.getDual |
Purpose
Return the dual for all constraints of the problem w.r.t. the solution found by
solve(); this only works on continuous optimization problems.
Synopsis
d = problem.getDual ()
Example
p.solve () print ("duals:", p.getDual ())
Related topics
problem.getlpsol,
problem.getSlack,
problem.getRCost,
problem.getProbStatus,
problem.getProbStatusString.