Can linprog run using decimals in the "f" and "Aeq" matrices?
4 views (last 30 days)
Show older comments
Can linprog run using decimals or do the values have to be integers?
0 Comments
Answers (1)
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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!