Skip to content

Commit

Permalink
add documentation on how to run the script on the server
Browse files Browse the repository at this point in the history
  • Loading branch information
joAschauer committed Apr 24, 2024
1 parent f3e150e commit 9d8909b
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion offline_optimization_script.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# -*- coding: utf-8 -*-
"""Offline optimization of parameter combinations."""
"""
Offline optimization of parameter combinations.
Optimization on the server:
login as ptxboa user:
$ ssh ptxboa2
navigate to repository folder and update code:
$ cd ptx-boa_offline_optimization/ptx-boa
$ git pull
go back to offline optimization folder and activate virtualenv:
$ cd ..
$ . .venv/bin/activate
run script with cache dir in offline optimization folder:
$ python ptx-boa/offline_optimization_script.py --cache_dir "./optimization_cache"
"""

import argparse
import itertools
Expand Down

0 comments on commit 9d8909b

Please sign in to comment.