Linear Program set up for this Optimization (linprog)

3 views (last 30 days)
Hi everyone: I am new to Matlab and this forum. Hope can find an answer for this problem. I am trying to solve the optimization problem using linprog, but I have no idea how to set up the input matrices and constraint vectors. Please see below the problem.
Where E[Yi] will be known vector, Vi = 0.2, X0 and qk will be given. X and Xi are the vectors want to solve. Any help would be appreciated! Many thanks.
  2 Comments
Walter Roberson
Walter Roberson on 2 Nov 2011
That was well done, to figure out how to embed the image. Relatively few people have found the technique for doing that.
Jake Bolanski
Jake Bolanski on 3 Nov 2011
Can't you just put the link in 2 angular brackets? There is a link called "Markup Help" above where you post which explains it.

Sign in to comment.

Answers (1)

Amith Kamath
Amith Kamath on 3 Nov 2011
From whatever optimization problems I've solved in MATLAB, the easiest way to do it has always been using the package called cvx, distributed free from Prof. Boyd's lab at Stanford. Here is a link for that, and the user interface is much more intuitive than linprog:

Categories

Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!