Skip to content

Instantly share code, notes, and snippets.

@AAmedeo
Created March 29, 2022 13:50
Show Gist options
  • Save AAmedeo/7002cb653b8bebd0f7629054fa430750 to your computer and use it in GitHub Desktop.
Save AAmedeo/7002cb653b8bebd0f7629054fa430750 to your computer and use it in GitHub Desktop.
test new helper
from hypatia import Model
from hypatia import Plotter
model = Model(path="/Users/afa/Desktop/Hypatia/examples/Utopia2_planning_single_node_DN/sets/", mode="Planning")
model.read_input_data("/Users/afa/Desktop/Hypatia/examples/Utopia2_planning_single_node_DN/parameters/")
model.run(solver='glpk')
model.to_csv(path="/Users/afa/Desktop/Hypatia/examples/Utopia2_planning_single_node_DN/result/", force_rewrite=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment