Skip to content

janderson4/AL-Visualizer

Repository files navigation

Visualizes steps of the Augmented Lagrangian method for 2D optimization problems.

The objective function can be changed by editing the box labeled "f =" and the constraints can be changed by editing the x and y values of the control points under the labels "X:" and "Y:" or by adding and removing control points. To begin the optimization, press the "NEXT STEP" button.

The top center plot displays the objective function with inequality constraints indicated by colored lines and shaded regions. At each step of the AL method, the app displays a plot of the unconstrained AL subproblem at that step and the current estimates of the Lagrange multipliers. Each AL subproblem is solved using fminunc, which means MATLAB Optimization Toolbox is required. Symbolic Math Toolbox is also required.

The Augmented Lagrangian algorithm used by this app is as follows:

About

Visualizes steps of the Augmented Lagrangian method for 2D optimization problems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors