Nonlinear Optimization (6 ECTS)

Lecturer:   Dr. Andreas Sommer   ( )
Lecture:  Tuesdays, 8:30 – 10:00 in Seminar Room II in B6 D 007
Exercise: Mondays, 8:30 – 10:00 in Seminar Room II in B6 D 007
The lecture is held in English.
Begin: 14.02.2023

Please book your slot before June 1st

Examination takes place in B6, Room 301


Introduction slides with formalia

Exercise Sheet #1  (Programming Solution:
Exercise Sheet #2  (Programming Solution: – Addendum
Exercise Sheet #3  (Note the due date)
Exercise Sheet #4  (Programming Solution:
--- Performance comparison: timeGrowingArrays.m
Exercise Sheet #5  (Programming Solution:
Exercise Sheet #6  (Programming Solution:
Easter Challenge Sheet and data file LVdata.mat or
Exercise Sheet #7  (Programming Solution:
Exercise Sheet #8  (Programming Solution:
Exercise Sheet #9
Exercise Sheet #10 (Programming Solution:
Exercise Sheet #11

Lecture Script (updated 2023-04-29)

Matlab-Tutorial (with exercises)

Course contents

The first part of the lecture copes with unconstrained nonlinear optimization problems. We formulate optimality conditions and discuss solution methods, with a focus on local descent methods like gradient- and Newton(like) methods, and their globalization using line-search methods.
The second part introduces solution theory and basic algorithms for constrainted optimization problems, especially penalty and SQP (sequential quadratic programming) methods.
The accompanying exercises will strengthen on the one hand the theoretical grounds, and on the other hand give practice on the application of introduced algorithms and methods, with a focus on efficient programming.
Matlab will be used during the course, however, the language for the programming exercises can be freely chosen.


Knowledge corresponding to the modules Analysis I/II and Linear Algebra I/II, and ideally also Linear Optimisation. Basic skills in the use of MATLAB may be helpful.

Matlab Student Licenses

Matlab ( licenses are available for all students of the University of Mannheim free of charge.
Alternatively, the partially compatible open source alternative GNU Octave ( can be used.


  • J. Nocedal and S. J. Wright, Numerical Optimization, Springer, Berlin, 2006.
  • F. Jarre, J. Stoer: Optimierung, Springer Verlag.
  • M. Ulbrich, S. Ulbrich, Nichtlineare Optimierung, Birkhäuser, 2012.
  • D. Bertsekas, Nonlinear Programming, Athena Scientific Publisher, Belmont, Massachusetts, 1995.
  •  A. R. Conn, N. I. M. Gould, P. L. Toint, Trust-Region Methods, SIAM, Philadelphia, 2000.
  • J. E. Dennis, R. B. Schnabel, Numerical Methods for Unconstrained Optimization and Nonlinear Equations, SIAM Philadelphia, 1996.
  • R. Fletcher, Practical Methods of Optimization, Wiley \& Sons Publisher, New York, 1980.
  • C. T. Kelley, Iterative Methods for Optimization, Frontiers in Applied Mathematics, SIAM, Philadelphia, 1999.
  • C. Geiger, C. Kanzow, Numerische Verfahren zur Lösung unrestringierter Optimierungsaufgaben, Springer-Verlag, Berlin, 1999.