Re: eplex cost expression simplification

From: Kish Shen <ks15_at_icparc.ic.ac.uk>
Date: Fri 19 Apr 2002 11:27:24 AM GMT
Message-Id: <E16yWY0-000791-00@holborn.icparc.ic.ac.uk>
Dear Stefano,

The bug you reported yesterday seems to be fixed in my main branch ECLiPSe
(which will be checked in later today), i.e. both costs in the first
probe was 2.0. 

However, you can no longer use lp_var_get/3 like you do in the code. In order
to get the solution values in your case, you now need to give the handle as
well, using lp_handle_var_get/4, with the handle as the first argument, like:

        lp_handle_var_get(H,X,solution,VX),
        lp_handle_var_get(H,Y,solution,VY),
        lp_handle_var_get(H,Z,solution,VZ),

(lp_var_get/3 is still there, but will now only work if there is a solver
associated with the constraint pool it is called from (eplex in this case)).

Cheers,

Kish
Received on Fri Apr 19 12:27:26 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:15 PM GMT GMT