MATLAB Answers

How can I include constant terms in the vector f of linprog optimization?

1 view (last 30 days)
The detailed explaination of my problem is inside the file attached. Please see it.


Sign in to comment.

Accepted Answer

Torsten on 21 Aug 2018
Constant terms in the objective don't change the optimal solution vector. Thus can just set them to 0.
Best wishes


Sign in to comment.

More Answers (1)

Community Treasure Hunt

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

Start Hunting!

Translated by