photo

Haydar El Fouany


Last seen: 3 months 前 自 2024 起处于活动状态

Followers: 0   Following: 0

统计学

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

5 months 前 | 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

5 months 前 | 1 个回答 | 0

1

个回答