[eclipse-clp-users] How to get non-optimal solution from eplex with timeout

From: Sergii Dymchenko <kit1980_at_...6...>
Date: Sun, 14 Jul 2013 12:48:53 -0700

How can I get non-optimal solution from eplex with timeout?

I setup eplex with:
    eplex_solver_setup(min(Obj), _, [timeout(10), abort_handler(ab)], []),
and after timeout my handler `ab` is called.

But what to do in `ab` handler to get non-optimal solution?

I can get best or worst objective bounds with `eplex_get(best_bound, X)`,
but `eplex_get(typed_solution, Vars)` just fails.

Or maybe using abort_handler for getting non-optimal solution is not a good
idea and there is a better way?

Received on Sun Jul 14 2013 - 19:49:00 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:30 CEST