# A problem with Linear Programming Problems

24 views (last 30 days)

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

### Answers (3)

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

##### 0 Comments

Mostafa Eftekhary Mamaghani
on 28 Aug 2018

Edited: Mostafa Eftekhary Mamaghani
on 28 Aug 2018

##### 7 Comments

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.

Ali Naeemah
on 14 Oct 2021

##### 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

### See Also

### Community Treasure Hunt

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

Start Hunting!