help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] GLPK help for solving a linear optimization problem


From: Senjuti Basu Roy
Subject: [Help-glpk] GLPK help for solving a linear optimization problem
Date: Thu, 28 May 2009 02:38:50 +0300

Hi,

I am a new user of GLPK, trying to use it using Java.

I want to solve optimization problem like the following:

Minimize z= (x1-x2) /2 + (1-(x1-x2))

subject to

0.0<= x1-x2<= 0.2

where,
0.0<= x1 <= 0.5
0.o<=x2 <= 0.5

I am stuck at encoding the coefficients of the objective function(objective 
function involves x1 and x2 in two different ways). Any help would be greatly 
appreciated.

thanks,
Senjuti


 
Hi,

I am a new user of GLPK, trying to use it using Java.

I want to solve optimization problem like the following:

Minimize z= (x1-x2) /2 + (1-(x1-x2))

subject to

0.0<= x1-x2<= 0.2

where,
0.0<= x1 <= 0.5
0.o<=x2 <= 0.5

I am stuck at encoding the coefficients of the objective function(objective function involves x1 and x2 in two different ways). Any help would be greatly appreciated.

thanks,
Senjuti



reply via email to

[Prev in Thread] Current Thread [Next in Thread]