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

4 vues (au cours des 30 derniers jours)
Austin Brehm
Austin Brehm le 16 Juil 2018
Modifié(e) : Stephan le 16 Juil 2018
Can linprog run using decimals or do the values have to be integers?

Réponses (1)

Stephan
Stephan le 16 Juil 2018
Modifié(e) : Stephan le 16 Juil 2018
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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by