variable declaration for optimization
古いコメントを表示
hello,
I am writing a code where I need to declare two variables which will be used for optimization in further, i.e,
a,b -----> variable(a=complex, b=real)
x=h1*a^2+h2*b^2+h3;------>h1,h2,h3 are constants
x=objective of optimization problem
what will be the code to declare 'a' and 'b';?
4 件のコメント
Walter Roberson
2020 年 10 月 31 日
Are you doing Problem Based Optimization?
Soumili Sen
2020 年 10 月 31 日
Walter Roberson
2020 年 10 月 31 日
You do not define variables for solver based optimization: you define a function that accepts a vector of values.
Soumili Sen
2020 年 11 月 12 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Problem-Based Optimization Setup についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!