Dear Sir or Madam, I am new to eclipse and clp and I have nonlinear constraints as follows: only x1..xn are vaiables and all the thers are constants. c1/x1<=r1 c1/x1+c2/x2<=r2 c1/x1+c2/x2+c3/x3<=r3 c1?x1+c2/x2+c3/x3+..+cn/xn<=rn I was wondering if I can use a single for loop to post all the constraints. Is there any eclipse data type for me to store expressions like c1/x1+c2/x2...? Another constraint is like exp(c1*x1)+exp(c2*x2)+...+exp(cn*xn)>=constant How can I build the above constraints using c++ API? Thank you in advance 2009-08-22 liu.yu.senior.chinaReceived on Sun Aug 23 2009 - 03:39:18 CEST
This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET