Inquiry on Robust Optimization Using YALMIP #1368
-
When I was learning robust optimization (https://yalmip.github.io/tutorial/robustoptimization/), I encountered some Interesting problems. The code is as follows.
The results are as follows. The objective is -24, and x is [8; 8; 8]. I found that the constraint sum(w)<=2 is useless, and the worst case in the results is w=[2, 2, 2]. However, the worst case should be w = [2, 0, 0], and the objective is 28 when x is [8, 10, 10]. Despite going through the documentation and various resources, I still don't understand the uncertain. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you set x(2) to 10 I simply pick w(2)=2 and thus your solution is not feasible in the worst-case. There is no single worst-case w. The worst possible w depends on the selected solution x. |
Beta Was this translation helpful? Give feedback.
The other way around. w can be anything in the uncertainty set. w(2)=2 is obviously in the feasible set for W, and consequently x(2)=10 is not feasible since the constraint then is violated
You seem to fail to understand what robust optimization is. x represent the decision variables that you have to pick first, and then there is an opponent w which tries to make things as bad as possible to destroy for you and make constraints violated. If you pick x(2) =10, the opponent will immediately pick any w(2) > 0 causing the constraint to be violated, meaning your choice of x was not robust. Hence the only way to be robust is to have all x<=8
You want to put water in three buckets. You want to p…