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.

quadprogTolPCGTermination tolerance on the PCG iteration.TolPCG is used as the exit criterion forproblems with only equality constraints (Aeq,beq).TolX Termination tolerance on x.ExamplesFind values of x that minimizesubject toFirst, note that this function can be written in matrix notation aswhereEnter these coefficient matrices.H = [1 -1; -1 2]f = [-2; -6]A = [1 1; -1 2; 2 1]b = [2; 2; 3]lb = zeros(2,1)8-197

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

Saved successfully!

Ooh no, something went wrong!