问题描述:

The problem I am trying to solve involves irrigation system scheduling.

We have a total system capacity to output 500 gallons per minute of water.

We have valves (demands) that have three variables to them, flow (gallons), time (minutes) and priority (1-5). Also, there is the option to run from 1-X valves simultaneously to meet that capacity. Running 1 valve would be just running them consecutively but once you increase that number it should start stacking them to meet capacity.

I'd like to configure Optaplanner so that it will look among the first priority valves and combine those to meet our capacity. Those valves will run their time, and as they end, add another valve or valves to meet capacity. Adding valves to meet the demands is straightforward, but it is the time and priority component that I'm having a hard time defining.

相关阅读:
Top