Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rivus class #21

Open
lnksz opened this issue Jul 5, 2017 · 0 comments
Open

Rivus class #21

lnksz opened this issue Jul 5, 2017 · 0 comments

Comments

@lnksz
Copy link
Contributor

lnksz commented Jul 5, 2017

I would like to start a discussion about status que vs. a Rivus class.

Has anybody already thought about OOP-ing the module?
I was creating the rivus.graph submodule and thought something like this would be pretty intuitive instead of what we are doing now:

import rivus as rv
prob = rv.Rivus(edge, vertex, sheet_data, ...)  # constructor (maybe even from paths instead of objects?
prob.solve('gurobi', threads=6, MIPGap=.001, ...)
prob.report('./result/abc')
prob.to_igraph('./result/graph/')
prob.plot()
....

What are your thoughts about it?
Does somebody have experience regarding the performance difference between the two paradigms?

#discussion #enhancement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant