A problem with Linear Programming Problems
Show older comments
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 Comments
Torsten
on 24 Aug 2018
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
on 24 Aug 2018
Answers (3)
Ali Naeemah
on 14 Oct 2021
1 vote
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 Comment
Ali Naeemah
on 15 Oct 2021
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
on 24 Aug 2018
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
on 28 Aug 2018
Edited: Mostafa Eftekhary Mamaghani
on 28 Aug 2018
7 Comments
Torsten
on 29 Aug 2018
You implemented an optimization problem, but it's not the one you presented above.
Mostafa Eftekhary Mamaghani
on 29 Aug 2018
Torsten
on 30 Aug 2018
But you are aware that you can also implement your original problem in "fmincon", aren't you ?
Mostafa Eftekhary Mamaghani
on 30 Aug 2018
JAIRAM RAIGAR
on 23 Apr 2019
Can you tell me what is in data which is read from excel file ???
Mostafa Eftekhary Mamaghani
on 1 May 2019
Soheil sadeghi
on 6 May 2021
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.
Categories
Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!