<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><br></div>
Is there a way to get LP relaxation value of the master being solved through a function call? Is there a way to get at the Clp solver solution?<br></blockquote><br> <br>From your user function, get access to the DecompAlgo class:<br>
DecompAlgo * algo = getDecompAlgo();<br><br>Then, use the access methods in there, e.g.:<br> const double * masterDualSol = algo->getMasterDualSolution();<br> const double * masterPrimalSol = algo->getMasterPrimalSolution();<br>
double masterObjValue = algo->getMasterObjValue();<br><br>If you want direct access to the master Osi object, use:<br> OsiSolverInterface * osi = algo->getMasterOSI( )<br><br>From there, you can use any base Osi method, or if you want specific OsiClp methods, cast the Osi object to an OsiClp object.<br>
<br><br>
<br></div>