Feeds
질문
How to define a binary variable in non linear constraints
if x(1)+x(2)+x(3)> 0 then x(4)= 1 otherwise x(4)=0
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
How to define if/else non linear constraint in an optimization problem
if x(1)+x(2)+x(3)= 0 then x(4)= 0 elseif 0<x(1)+x(2)+x(3)<20 then x(4)=10 elseif 20<x(1)+x(2)+x(3)<60 then x(4)=30
거의 2년 전 | 답변 수: 1 | 0