rdl
unread,Jan 27, 2012, 7:14:09 AM1/27/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to or-tools-discuss
Hi there,
I am using the routing package of GoogleCP, which is doing quite
well.
I wanted to know if it is possible to monitor the evolution of the
objective function of the routing package.
I guess it is something like:
SearchMonitor* const monitor = (routing.solver())-
>MakeSearchLog(100000, THE_OBJECTIVE_VARIABLE);
routing.AddSearchMonitor(monitor);
but I do not know how to get the objective variable from the
RoutingModel .
Also, is there a clean way to interrupt a search in such a way that
control is returned from the engine so that the current solution can
be queried? I know about setting the time limit, but I would prefer a
more interactive mechanism.
Thanks in advance.
--
Renaud