Spring 2026 Repo for CS5757 - Optimization Methods for Robotics.
The assignments/ folder contains homework assignments: Each homework assignment is in its own directory:
hw0/- Homework 0hw1/- Homework 1- etc.
- Clone this repository
- Navigate to the relevant homework directory
- Follow the instructions in the homework-specific README
See individual homework directories for specific dependencies.
Please submit on Gradescope, more details can be found on the website
For questions about assignments, please use the course Ed discussion forum or attend office hours.
The lectures/ folder contains lecture materials: Each lectures have its own directory: This directory contains example code and demos used in lecture for CS 5757: Optimization Methods for Robotics, as well as lecture notes.
Choose one of the following methods to set up your Python environment.
uv is a fast Python package manager. Install it first if you haven't already.
# Create and activate virtual environment
uv venv --python 3.12
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
uv pip install -r requirements.txtTo register the environment as a Jupyter kernel:
uv pip install ipykernel
python -m ipykernel install --user --name=cs5757 --display-name="CS 5757"# Create a new conda environment
conda create -n cs5757 python=3.12 -y
conda activate cs5757
# Install dependencies
pip install -r requirements.txtTo register the environment as a Jupyter kernel:
conda install ipykernel -y
python -m ipykernel install --user --name=cs5757 --display-name="CS 5757"# If not already installed
pip install jupyterlab # or: conda install jupyterlab
# Launch
jupyter labSelect the CS 5757 kernel from the kernel dropdown.
- Install the Jupyter extension for VS Code.
- Open any
.ipynbfile. - Click "Select Kernel" in the top-right corner of the notebook.
- Choose "CS 5757" from the list (or select the Python interpreter from your virtual environment).
Note: If the kernel doesn't appear, reload VS Code or run the
ipykernel installcommand above. If you're usinguv, the kernel may appear as.venv.
Requirements may be updated over the semester. If you encounter missing packages, re-run the install command:
#cd
cd lectures/
# uv
uv pip install -r requirements.txt
# conda
pip install -r requirements.txt