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

optapy-quickstarts: cloud balancing #1

Open
aderumier opened this issue Nov 19, 2021 · 2 comments
Open

optapy-quickstarts: cloud balancing #1

aderumier opened this issue Nov 19, 2021 · 2 comments

Comments

@aderumier
Copy link

aderumier commented Nov 19, 2021

Hi,

Thanks for porting optaplanner to python.

I could be great to have a basic quickstart for cloud balancing
https://docs.optaplanner.org/7.0.0.Beta1/optaplanner-docs/html/ch02.html
https://www.optaplanner.org/learn/useCases/cloudOptimization.html

It could be really usefull for a lot opensource hypervisors or cloud solution.
(I'm looking to implement it for proxmox clusters)

@Christopher-Chianelli
Copy link
Collaborator

Current plans are to expose the remainder of OptaPlanner functionality (IIRC the only things needed in main are custom shadow variables, strength comparators, easy score calculator, and incremental score calculator), add testing and add an Employee Rostering Quickstart. A Cloud Balancing Quickstart would be interesting.

FWIW, the OptaPlanner Cloud Balancing example can be found in the OptaPlanner repo. Of particular interest are the domain classes and the Constraint Provider. It should be easy to convert the OptaPlanner example to an OptaPy one (replace @PlanningEntity with @optapy.planning_entity, etc).

It'll probably be a while before I can get to this, although I'll happily review any PR that adds this quickstart (or any quickstart).

@aderumier
Copy link
Author

I could test && review a PR too, implementing it with real workload && vms. (I have some 10000 vms clusters).

I'm pretty poor in java && maths, but I'm able to understand the other python examples without too much problem for review.

@Christopher-Chianelli Christopher-Chianelli transferred this issue from optapy/optapy Mar 23, 2022
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

2 participants