Feeds
提问
Solve a multiobjective optimization problem by problem-based approach in Matlab2021a
I am trying this: % teste_multiobjective file x1 = optimvar('x1','LowerBound',0); x2 = optimvar('x2','LowerBound',0); s1...
3 years 前 | 3 个回答 | 0
3
个回答已回答
error : Objective must be a scalar OptimizationExpression or a struct containing a scalar OptimizationExpression.
I guess you should use: wavepower_optimization.Objective = sum(NPC_bat + NPC_sc + NPC_fw);
error : Objective must be a scalar OptimizationExpression or a struct containing a scalar OptimizationExpression.
I guess you should use: wavepower_optimization.Objective = sum(NPC_bat + NPC_sc + NPC_fw);
3 years 前 | 0
提问
How plot or view each element of optimexpr variable in case of problem-based optimization?
I have written a code with some variables and one of them is w(optimexpr) which is a combination from two optimvar variables. ...
3 years 前 | 1 个回答 | 0

