Can linprog run using decimals in the "f" and "Aeq" matrices?

1 回表示 (過去 30 日間)
Austin Brehm
Austin Brehm 2018 年 7 月 16 日
編集済み: Stephan 2018 年 7 月 16 日
Can linprog run using decimals or do the values have to be integers?

回答 (1 件)

Stephan
Stephan 2018 年 7 月 16 日
編集済み: Stephan 2018 年 7 月 16 日
Hi,
there is no need to have integers. See linprog documentation for more information. There you find also examples with decimal values.
Only in the case that your searched solution has integer constraints things get specific and you have to use intlinprog .
Best regards
Stephan

カテゴリ

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