Warm starting oscar-cbls from initial solution

20 views
Skip to first unread message

he...@simula.no

unread,
Mar 23, 2018, 8:37:12 PM3/23/18
to OscaR
Hi,

I'm looking for a way to use oscar-cbls with an initial solution as a starting point for search, i.e. provide an initial assignment to the decision variables and let oscar then either repair or improve the solution.

Is there any straightforward way to achieve this with the current API or should I look into any workarounds to achieve this?

The bonus for this would be, if ihe solution were compatible to oscar-fzn-cbls, but I can probably find a workaround for this myself.

Thanks!

Renaud De Landtsheer

unread,
Mar 24, 2018, 4:45:24 AM3/24/18
to oscar...@googlegroups.com
Hello,

Every CBLS variable that you declare in your model and that is not the output of an invariant can be assigned a value by your code. To do so, the variables support the := operator.
Also, you can specify an initial value to all variable that you declare.


Renaud De Landtsheer


--

---
You received this message because you are subscribed to the Google Groups "OscaR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to oscar-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages