Can linprog run using decimals in the "f" and "Aeq" matrices?
이전 댓글 표시
Can linprog run using decimals or do the values have to be integers?
답변 (1개)
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
카테고리
도움말 센터 및 File Exchange에서 Linear Programming and Mixed-Integer Linear Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!