Using Eclipse with Xpress-MP

From: Fabio <fabio.fabbri2_at_studio.unibo.it>
Date: Thu 17 Feb 2005 03:10:19 PM GMT
Message-Id: <20050217151023.045A22776C0@unibo.mm.cineca.it>
I'm trying to use eplex library with XPress-MP free student version as
external solver.



Any eplex sample I'm trying to use thrown this error, while executing
eplex_solver_setup: "Error in external function in
cplex_loadprob('EPLEX_XPRS'(16'4990970))".

Setting the first licence row of eplex_lic_info.ecl to XPress-MP licence
file, nothing changed.

How can I make it work?



Here's a sample code I'm using.

:- lib(eplex_xpress).

:- eplex_instance(prob).

m(Cost, Vars):-

Vars = [A1],

prob: (Vars $:: 0.0..2.0),

prob: (eplex_solver_setup(min(A1))),

prob: (eplex_solve(Cost)),

(foreach(V, Vars) do

prob: eplex_var_get(V, typed_solution, V)

).





Thank you for help.

---

Fabio Fabbri,

University of Bologna (Italy).
Received on Thu Feb 17 17:10:38 2005

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:34 PM GMT GMT