Inverts the reduction chain and unpacks the raw solver solution into the original problem's variables and constraints. This is step 3 of the decomposed solve pipeline:
problem_data()– compile the problemsolve_via_data(chain, data)– call the solverproblem_unpack_results()– invert and unpack
Arguments
- problem
A
Problemobject.- solution
The raw solver result from
solve_via_data().- chain
The
SolvingChainfromproblem_data().- inverse_data
The inverse data list from
problem_data().
Details
After calling this function, variable values are available via
value() and constraint duals via dual_value().
