Variable in cost function should take only two values.
1 回表示 (過去 30 日間)
古いコメントを表示
How can i set my objective function variable to take only 0 and 1 and not anything in between? I am using ga solver and my objective function is like min(f(x))= x(1) + x(2) + x(3) with constraint that (x(1) +x(2) + x(3))*0.2=0.4. Please help
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Solver-Based Optimization Problem Setup についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!