problem.getRCost
problem.getRCost |
Purpose
Return the reduced cost of all variables of the problem w.r.t. the solution found by
solve(). This function only works on continuous optimization problems.
Synopsis
r = problem.getRCost()
Example
p.solve() print("reduced costs:", p.getRCost())
Related topics
problem.solve,
problem.getlpsol,
problem.getSolution,
problem.getDual,
problem.getSlack,
problem.getProbStatus,
problem.getProbStatusString.