Skip to content

Commit 068fb14

Browse files
committed
experiments with header for uv, see https://docs.astral.sh/uv/guides/scripts/
1 parent e48721f commit 068fb14

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

experiments.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
"""
2+
This script runs the experiments for the Markowitz reference implementation.
3+
4+
To run this script with uv (https://github.com/astral-sh/uv):
5+
1. Install uv:
6+
curl -LsSf https://astral.sh/uv/install.sh | sh
7+
8+
2. Run the experiments:
9+
uv run experiments.py
10+
"""
11+
12+
# /// script
13+
# requires-python = ">=3.11"
14+
# dependencies = [
15+
# "mosek==11.0.27",
16+
# "loguru==0.7.3",
17+
# "numpy==2.3.2",
18+
# "pandas[output-formatting]==2.3.1",
19+
# "matplotlib==3.10.5",
20+
# "cvxpy-base==1.7.1",
21+
# "clarabel==0.11.1"
22+
# ]
23+
# ///
124
import os
225
import sys
326
from pathlib import Path

0 commit comments

Comments
 (0)