Binary multiplication for MINLP

Problems with modeling
Post Reply
KhB
User
User
Posts: 4
Joined: 2 years ago

Binary multiplication for MINLP

Post by KhB »

Hello,

I'm trying to model MINLP by using binary multiplication to choose a specific value from a parameter.
Basically, I have two domains, r /1*6/ and t /1*8/

Code: Select all

Parameter X1(t) the valus of p
/1 1.5
 2 2
 3 2.5
 4 3
 5 3.5
 6 4
 7 4.5
 8 5/;
Binary variable Ub;
Variables z,tds(r) 
I want to choose the best variable from X1(t) that fits the following equations in order to optimize 'r'.

Code: Select all

Equations Obj,con1(r),e1(r);

Obj..         z =e= sum(r, ((tds(r) * 0.14) / (vcPower((pf(r) / (sum(t,(X1(t)*Ub(r,t))) * cti(r))),0.02) - 1)));

e1(r)..       sum(t,Ub(r,t))=e=1;

con1(r)..     ((tds(r) * 0.14) / (vcPower((pf(r) / (sum(t,(X1(t)*Ub(r,t)))* cti(r))),0.02) - 1)) =g= 0.2;

Model SampleProblem1 /all/;
Solve SampleProblem1 maximizing  z using minlp;
The results are Infeasible solutions and the binary variable shows some decimal values. I would inquire how to approach a solution from my code?
Post Reply