Code for the custom visualizations (CLI) tutorial. The following community app is used:
- Python HiGHS Knapsack: use the HiGHS solver to solve a knapsack problem defined in JSON format.
You will find two directories:
-
original: the original example without any modifications. -
visualization: the example modified to include visuals. -
Run the scripts individually.
-
app1.sh: Clones thepython-highs-knapsackcommunity app twice, once in theoriginaldirectory and once in thevisualizationdirectory.bash app1.sh
-
app2.sh: Creates a local run. Use this command in both theoriginalandvisualizationdirs.bash app2.sh
-
app3.sh: Visualizes the local run. Use this command in thevisualizationdir.bash app3.sh
-
app4.sh: Creates a Nextmv Cloud application. This command must be run from thevisualizationdirectory.bash app4.sh
-
app5.sh: Push the app to Nextmv Cloud. This command must be run from thevisualizationdirectory.bash app5.sh
-
app6.sh: Creates a remote run in Nextmv Cloud. This command must be run from thevisualizationdirectory.bash app6.sh
-