Hello GAMSworld,
I observed a dysfunction with SMIN function.
I run the following model:
solve model1 max obj using lp
data(‘xx1’)=x1.l;
data(‘xx2’)=x2.l;
data(‘xx3’)=x3.l;
data(‘xx4’)=x4.l;
solve model2 max obj1 using lp/dnlp
I set two additional constraints in model 2 which are the following:
CONMAX… XMAX=E=SMAX(i, data(i)); /data(i) parameter, set i/xx1*xx4/, XMAX, XMIN nonnegative variables.
CONMIN… XMIN=E=SMIN(i, data(i));
After getting the results data(xx1)=0.661, data(xx2)=0.339 and XMAX=0.661 but XMIN=0… which consequently means that SMIN function is not working properly.
Can please anyone help?
thank you in advance,
Konstantinos Petridis
\
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.