[Cbc] Find duals for a intermediate relaxed solution

John Forrest john.forrest at fastercoin.com
Mon Aug 14 05:23:52 EDT 2017


Eduardo,

I think that -

model.setMaximumIterations(0);
model.primal();

could give you what you want.

John Forrest
On 26/07/17 11:38, Eduardo F. Silva wrote:
>
> Hi all,
>
> I have a heurístic to solve a relaxed version of a MILP, but I need 
> the duals of the not optimal relaxed primal solutions I have found in 
> the heurístic.
>
> Is there any easy way to get those duals in CLP (using my primal 
> relaxed not optmal solutions) ?
>
> Thanks in advance,
>
> Eduardo
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=_OHQdVAb98AnJIZOd9s7X9gSUW1qiotav0t7aRZBCpM&s=QMAffhnRSMXVG6Sk7hpX2q-UWDCWuiQe0cZ3RpJ5ryo&e=


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20170814/e4d93f0e/attachment.html>


More information about the Cbc mailing list