How I can solve multivariable optimization problem without Optimization toolbox?

2 ビュー (過去 30 日間)
Juha Sironen
Juha Sironen 2020 年 5 月 12 日
コメント済み: Star Strider 2020 年 5 月 12 日
Hi,
I have optimization problem. I need to solve mininium of vector v=X*b, where is X integer 0 to 10 and b is float (price).
Sum of X are known and also min and max of each X cell.
In other words, I need answer which minice cost and returns X so that total sum is as a given and each cell stays inside known limits?
I dont have optimization toolbox...
  1 件のコメント
Star Strider
Star Strider 2020 年 5 月 12 日
It is straightforward to write your own genetic algorithm code for simple, unconstrained problems.

サインインしてコメントする。

回答 (1 件)

Alan Weiss
Alan Weiss 2020 年 5 月 12 日
I would solve this in a loop for X = 0, X = 1,..., X = 10.
Alan Weiss
MATLAB mathematical toolbox documentation

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by