plasmo-dev / Plasmo.jl

A Platform for Scalable Modeling and Optimization
Other
150 stars 21 forks source link

fix set_model. add alias query functions #40

Closed jalving closed 3 years ago

jalving commented 3 years ago

This PR should fix https://github.com/zavalab/Plasmo.jl/issues/39. It additionally adds some convenience query functions to get optigraph objects, namely: optinodes, optiedges, and subgraphs with corresponding functions all_optinodes,all_optiedges, and all_subgraphs.

etatara commented 3 years ago

Awesome! I will test and let you know!

jalving commented 3 years ago

just a heads up, I am registering v0.4.1 right now. so, if you wait a couple hours, you can just do pkg> update Plasmo and get the latest version.