problem.getPresolveSol
Purpose
Returns the solution for the presolved problem from memory.
Topic areas
Solution, Presolve, Optimizer
Synopsis
x, slack, duals, djs = problem.getPresolveSol()
Return value
|
x
|
Double array of length
COLS containing the values of the primal variables.
|
|
slack
|
Double array of length
ROWS containing the values of the slack variables.
|
|
duals
|
Double array of length
ROWS containing the values of the dual variables.
|
|
djs
|
Double array of length
COLS containing the reduced cost for each variable.
|
Further information
1. In callbacks, it is recommended to use
problem.getCallbackPresolveSolution instead of
problem.getPresolveSol.
2. This function applies to linear and convex quadratic (including second order conic) problems only.
3. If the problem has not been presolved, the solution in memory will be returned.
4. The solution to the original problem should be returned using the related function
problem.getLpSol.
5. If called during a callback during MIP tree search the solution of the current node will be returned.
6. When an integer solution is found during a tree search, it is always set up as a solution to the current node; therefore the integer solution is available as the current node solution and can be retrieved with
problem.getLpSol and
problem.getPresolveSol.
Related topics
problem.getSolution,
problem.getCallbackSolution,
problem.getLpSol, the Optimizer Reference Manual,
problem.postSolveSol.
© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation ("FICO"). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
