View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Optimization in MATLAB: An Introduction to Quadratic Programming

5.0 | 4 ratings Rate this file 50 Downloads (last 30 days) File Size: 34.7 KB File ID: #35856 Version:
image thumbnail

Optimization in MATLAB: An Introduction to Quadratic Programming


Seth DeLand (view profile)


26 Mar 2012 (Updated )

Files used in "An Introduction to Quadratic Programming" Webinar

| Watch this File

File Information

A control strategy for optimal operation of a hydroelectric dam is found through nonlinear and quadratic programming techniques. We use symbolic math to formulate an original model of the hydroelectric dam and then optimize the operation schedule using FMINCON. We then show how improvements can be made to the optimization process and end up with a quadratic programming problem that can be solved efficiently using the large-scale "interior-point-convex" algorithm with the QUADPROG solver.
These files go along with the "An Introduction to Quadratic Programming" webinar, which can be found here:

Required Products Optimization Toolbox
Symbolic Math Toolbox
MATLAB release MATLAB 7.13 (R2011b)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
21 Jan 2017 Leandro Coelho


You adopt the HydroelectricDamOptimization problem. Is there the description of this optimization problem in scientific papers and/or books?

Comment only
29 Aug 2016 Phillip Maser

Its amazing how the tools work to generate answers to polynomial problems.

Comment only
04 Aug 2016 Wei Xiong

28 Jun 2015 dzu le ngoc

thank you for Watching this File Optimization in MATLAB: An Introduction to Quadratic Programming.

Comment only
31 Mar 2015 Mohammad

23 Apr 2013 YuXiao

YuXiao (view profile)

01 Feb 2013 Fabien

Fabien (view profile)


great optimization problem and solution !
and very close to my job -> so i bought symobolic math toolbox and start to work on this example
I tried to adapt HydroelectricDamOptimization_largeScale to my problem (a 1 year problem with calculation every 8 hours)

and I ave some issues
some time the problem is not convex ! and i donc understand why
for example, in HydroelectricDamOptimization_largeScale we have MW2kW = 1000. with MW2kW = 1/1000, the probleme become non convex!
an idea why ? an idea to manage this issue ?
(this is just a stupid example, but I have this kind of issues when I try to adapt this exemple on real life)

thanks (and sorry for my poor english)

09 Dec 2013 1.7

Updated 3 files with copyright information

01 Sep 2016

Updated license

20 Jan 2017

Updated use of "sym" to clarify that variables are 'real'.

Contact us