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

4 views (last 30 days)
Can linprog run using decimals or do the values have to be integers?

Answers (1)

Stephan
Stephan on 16 Jul 2018
Edited: Stephan on 16 Jul 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!