Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Solve a minimization problem

1 回表示 (過去 30 日間)
Hampus Alfredsson
Hampus Alfredsson 2019 年 10 月 3 日
閉鎖済み: John D'Errico 2019 年 10 月 3 日
Hi, this could be a very simple problem, but I don't know how to do...
Let's say I have 3 sources of income:
Source 1 = $200
Source 2 = $700
Source 3 = $400
Now, I have something that I want to pay for using these income sources, let's say it's $800.
I want to take as small percentage as possible from each source to pay for those $800. So I have something like;
x1*200 + x2*700 + x3*400 = 800

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by