Applied Optimization with Julia
University of Hamburg - Fall 2024
function
keywordreturn
to specify the output of a functionTip
You can create anonymous functions using the ->
syntax for quick, one-off operations.
using Pkg
to access package managementPkg.add("PackageName")
using PackageName
or import PackageName
DataFrame
constructorTip
Use describe(df)
to get a quick summary of your DataFrame.
CSV
packageCSV.read()
to read a CSV file into a DataFrameCSV.write()
to write a DataFrame to a CSV fileplot()
, scatter()
, bar()
title
, xlabel
, ylabel
Tip
Explore different plot types and in the long term even backends for various output formats and interactivity.
Tip
You can ask questions anytime in class or via email!
And that’s it for this lecture!
The remaining time we will already start working on the problems of the fourth lecture. From next week, we will start with different optimizations problems and topics, that we address together in the course.
Lauwens, B., & Downey, A. B. (2019). Think Julia: How to think like a computer scientist (First edition). O’Reilly®. Link to the free book website.
For more interesting literature to learn more about Julia, take a look at the literature list of this course.
Lecture IV - Modelling with JuMP | Dr. Tobias Vlćek | Home