A problem with Linear Programming Problems
古いコメントを表示
Hi everyone, I need a guidance on a problem with linprog. I have an optimization problem that weights and the minimum value of the objective function are needed, but I can't allocate the parameters properly. The form of problem and subjects are like this. The picture of the problem is attached.
Any help regarding understanding the problem and getting a solution would be much appreciated.

Ws and Ksi are the optimal weights and objective function we want to obtain and As are the vector that its values are present.
3 件のコメント
Torsten
2018 年 8 月 24 日
In the first constraint, w_j appears in the denominator. Thus it seems your problem is not linear. Or is it simply an error in notation ?
Mostafa Eftekhary Mamaghani
2018 年 8 月 24 日
回答 (3 件)
Ali Naeemah
2021 年 10 月 14 日
1 投票
Please kindly gentlemen, can you highlight the parts that can be changed with my values, please because I am confused about what values I have to change exactly.
1 件のコメント
Ali Naeemah
2021 年 10 月 15 日
Hello sir
Please kindly,
Can you highlight or identify the place that I have to insert my values, please? I am confused about where I have to insert my values exactly in the code.
Thank you so much
Matt J
2018 年 8 月 24 日
It should be straightforward to cast this into the form of linear in/equalities, once you recognize that
|P|<=q
is equivalent to the simultaneous constraints
p-q<=0
-p-q<=0
Mostafa Eftekhary Mamaghani
2018 年 8 月 28 日
編集済み: Mostafa Eftekhary Mamaghani
2018 年 8 月 28 日
7 件のコメント
Torsten
2018 年 8 月 29 日
You implemented an optimization problem, but it's not the one you presented above.
Mostafa Eftekhary Mamaghani
2018 年 8 月 29 日
Torsten
2018 年 8 月 30 日
But you are aware that you can also implement your original problem in "fmincon", aren't you ?
Mostafa Eftekhary Mamaghani
2018 年 8 月 30 日
JAIRAM RAIGAR
2019 年 4 月 23 日
Can you tell me what is in data which is read from excel file ???
Mostafa Eftekhary Mamaghani
2019 年 5 月 1 日
Soheil sadeghi
2021 年 5 月 6 日
Is it possible to upload an Excel file as well?
Because it seems that in the Excel file associated with this code, a set of cells are named.
カテゴリ
ヘルプ センター および 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!
