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

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Solver 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