« Return to Thread: AMPL from Java?

AMPL from Java?

by Senjuti :: Rate this Message:

Reply to Author | View in Thread

Hi,

I am a new user of AMPL. I need to call a non linear optimization
function from my java code. Wonder how would that be possible using
AMPL?


Basically, I would need to pass the constraints as inputs to the optimization function from the java program.

Any help would be greatly appreciated.

my objective function is similar to this:

Maximize z= 0.5 a + 0.5 b + c

s.t,

c = 1- abs(a-b)
0 <= a <= c1
0<=b <= c2
abs(a-b) <= c3

thanks in advance

--Senjuti

 « Return to Thread: AMPL from Java?