Operation solver
Main > Reference Manual > Solver algorithm > Implementation details > Operation solver
Fixed time operation
Operation is asked for a quantity Q at the date D
Create an operation plan
If lead time constraints are enabled and the operation plan is planned in the past
If capacity constraints are enabled
We then restart the loop over the loadplans
For each consuming flowplans
If material constraints are enabled we update Qremaining and Dupdated.
Return the accumulated promise quantity
Time-per operation
The steps are very similar to the fixed_time operations, with the difference that the calculations for the feasible quantity is more complex.
Alternate operation
Operation is asked for a quantity Q at the date D
Remaining quantity = Q
Next ask date = infinite future
Loop through all alternate sub operations
If the total quantity planned over all alternates is less than the requested quantity
Return the planned quantity and the next ask date
Routing operation
Operation is asked for a quantity Q at the date D
Create the top operation plan
Check the flowplans and loadplans of the top operation plan
Initialize Q2 to Q and D2 to D
For all steps of the routing
