[eclipse-users] Memory management for Eplex with OSI clpnbncblpcbplp

From: Daniel Lucraft <dan_at_...68...>
Date: Mon, 09 Jul 2007 16:40:27 +0100
Hi,

when I run this:

%----------------
:-lib(eplex).
:- eplex_instance(prob).

main:-
   (
     for(_, 1, 100000)
   do
     solve(_, _)
   ).

solve(Cost, Vars) :-
   Vars = [A1,A2,A3,B1,B2,B3,C1,C2,C3,D1,D2,D3],
   prob: eplex_cleanup,
   prob: (Vars $:: 0.0..1.0Inf),
   prob: (A1 + A2 + A3 $= 21),
   prob: (A3 + B3 + C3 + D3 $=< 40),
   prob: eplex_solver_setup(min(7*D3)),
   prob: eplex_solve(Cost),
   prob: eplex_cleanup.
%----------------

with the OSI clpcbc solver, the memory of the process shoots up and away 
  until it reaches enormous levels. It was using 850MB of RAM and 1.5GB 
of  swap space just now when I killed it. Running in TkEclipse the 
'statistics' panel doesn't show any of this.

Is this expected, normal or an error in my code?

thanks,
Dan
Received on Mon Jul 09 2007 - 16:41:32 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST