yes,it is also simple to view it as this,
II=I*VV*XX,and VV is a constant, II and XX is a binary variable,and I want to make it nonlinear to a linear constraints,so I involve more variable P and a constant ''big'' M:
0<=I*VV-P<=M*(1-XX),
0<=II<=M*XX
and meanwhile the I also have its range,so M is not too big,like 5.07e-07,of couse we can take it as very big,but i have to add a extral constraint:0<=I<=
2.83e-05 ,and VV is a constant 0.0179 ,the problem is
when I and VV is certain,and their product is 5.07e-07 ,when XX is 1,II should be 5.07e-07,but it may be 0, and when when XX is 0,II should be 0,but it may be 5.07e-07,so the constraint is very rigorous,but the value is not accurate.
Should I change the sdpsettings,some value such as tolerances and gaps,but I do not know what should I change. my settings is as following:
sdpsettings('solver','cplex','verbose',2,'cplex.mip.tolerances.mipgap',1e-20,'cplex.mip.tolerances.absmipgap',1e-20,'cplex.mip.tolerances.integrality',1e-20);
but it can not solve the problem. so change what is a big problem or it is yalmip and matlab's inner question.the output is my first question displayed first time.
thanks very much.