Efficient Programming with CasADi 3.1

Two Day Workshop at Karlsruhe University of Applied Sciences

Joris Gillis

KU Leuven

Monday, March 27, 2017, 9:00 - Tuesday, March 28, 2017, 16:30

Steinbeis-Haus Karlsruhe, Willy-Andreas-Allee 19, 76131 Karlsruhe

Aim of the workshop

The aim of this workshop for software developers is to familiarize the participants with strategies for efficient programming in the optimization environment CasADi. Lecturer and tutor of the interactive workshop is Joris Gillis, one of the main developers of CasADi.

Registration

Registration for the workshop has closed.

Course schedule

The current schedule for the two course days is given below. Please check this page for possible updates of the schedule (time slots for arrival, departure, lunches and breaks will not be altered).

Schedule for Monday, March 27, 2017
  Start   End   Topic
  08:00     09:00     Arrival time
  09:00   09:15   Welcome and organizational topics
  09:15   10:00   CasADi basics: efficient symbolics, algorithmic differentiation, matrix-valued graphs, function embedding, code-generation/JIT
  10:00   10:30   Basic of algorithmic differentiation: composing a dense Jacobian, composing a sparse Jacobian
  10:30   10:50   Coffee break
  10:50   11:50   Memory and runtime: stages of an NLP solve, CasADi virtual machine, memory-lean graphs
  11:50   12:30   Mapping and parallelization: Map, MapAccum, Massive parallelization with OpenCL
  12:30   13:15   Lunch at Denkfabrik (http://www.denkfabrik-karlsruhe.de/) (self-payment!)
  13:15   14:00   Visit at the solar thermal climate system of Karlsruhe University of Applied Sciences (incl. 2x10 minutes walk)
  14:00   15:00   Scaling Studies: checkpointing, looping over matrix elements, dense vs. sparse decision variables
  15:00   15:30   Coffee break
  15:30   16:30   Conclusion and time for further questions
  16:30   18:00   Free time (Check-in at hotels, work, chatting, ...)
  18:00   18:30   Walk to dinner location
  18:30   21:30   Dinner at Lehner's Karlsruhe (http://karlsruhe.lehners-wirtshaus.de/) (self-payment!)

 

Schedule for Tuesday, March 28, 2017
  Start   End   Topic
  08:00     09:00     Arrival time
  09:00   10:30   Work on personal CasADi projects while Joris Gillis is available for questions
  10:30   10:50   Coffee break
  10:50   12:30   Work on personal CasADi projects while Joris Gillis is available for questions
  12:30   13:15   Lunch at Denkfabrik (http://www.denkfabrik-karlsruhe.de/) (self-payment!)
  13:15   15:00   Work on personal CasADi projects while Joris Gillis is available for questions
  15:00   15:30   Coffee break
  15:30   16:30   Conclusions and official end of workshop
  16:30   18:00   Workshop room remains open for people to continue project work, wait for transportation,  ...

 

Contact and organizational framework

The workshop is organized by Adrian Bürger as part of the cooperation of Angelika Altmann-Dieses, Karlsruhe University of Applied Sciences and Moritz Diehl, University of Freiburg.