[FlopCpp] Set a QP on FlopC++

S. T. makejoint at yahoo.it
Fri Jun 19 09:09:50 EDT 2009


Hi all,

I'm Sergio from DII-University of Siena (www.dii.unisi.it). I'm new to FlopC++. 
I am trying to implement a Quadratic Progamming model in FlopC++ language.

I have problems in compiling code (and probably I have problems understanding variable/data in FlopC++).

The Objective Function is this:

J=0.5*sum((i,j),u(i)*H(i,j)*u(j)) + sum(i,x(i)*sum(j,F(i,j)*u(j)));

where
enum {u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,horizon};
MP_seti(horizon); 
MP_setj(horizon);
MP_data H(i,j);
MP_data G(i,j);
MP_data F(i,j);
MP_data S(i,j);
MP_data W(j);
MP_datax(i);

Then I call a minimize(J) function. 
Also I apply constraints with success when compiling. WhereIamwrong? Do you need some other informations?

Thanks,

Sergio
DII-UniSI
Siena (Italy)


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/flopcpp/attachments/20090619/23fd8361/attachment.html 


More information about the FlopCpp mailing list