12.07.2015 Views

What Is Optimization Toolbox?

What Is Optimization Toolbox?

What Is Optimization Toolbox?

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Large-Scale Examplescgiterations: 0message: '<strong>Optimization</strong> terminated.'Linear Programming with Dense Columns in theEqualitiesThe problem isand you can load the matrices and vectors Aeq, beq, f, lb, andub into theMATLAB workspace withload densecolumnsThe problem in densecolumns.mat has 1677 variables and 627 equalities withlower bounds on all the variables, and upper bounds on 399 of the variables.The equality matrix Aeq has dense columns among its first 25 columns, whichis easy to see with a spy plot:spy(Aeq)You can use linprog to solve the problem:[x,fval,exitflag,output] = ...linprog(f,[],[],Aeq,beq,lb,ub,[],optimset('Display','iter'));2-75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!