> Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> Per conto di Alessandra De Luca
> Inviato: venerdì 7 settembre 2007 15.52
> 
> Hi, 
> I'm trying to solve a MIP problem from my java application using GLPK java
interface, but I've a problem.
> When I try to solve a problem with 37400 variables and 26925 constraints,
I've this error:
>
............................................................................
............................
> * 54200:   objval =  1.974280191e+006   infeas =  5.631602624e-014 (0)
> * 54398:   objval =  1.974137553e+006   infeas =  1.858620062e-012 (0)
> OPTIMAL SOLUTION FOUND
> Integer optimization begins...
> + 54398: mip =     not found yet >=              -inf        (1; 0)
> umalloc: size = 24720512; malloc failed
> 
> How can I solve it?
> Thanks

You didn't specify which java-to-GLPK library you're using. But anyway, did
you already try to increase the maximum memory available to java?

It is controlled by the '-Xmx' switch in the jre from Sun.

In example, issuing java with the -Xmx128M option allows the runtime to
allocate at most 128 MBytes of memory.

In your case, try to specify at least half the size of the RAM available in
your PC. If you have 512MB, in example, try starting java with -Xmx256M.

Cheers,

Giampaolo




_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to