photo

Haydar El Fouany


Last seen: 1 year ago Active since 2024

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
289,222
of 300,584

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,030

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 169,680

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

Feeds

View by

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer