pub struct MatchAllocationSolver;Expand description
Match-based allocation solver for capacity planning
Algorithm:
- Sort demands by priority (highest first)
- For each demand, find teams with matching skills and resource types
- Allocate capacity from matching teams, respecting utilization limits
- Track fulfillment and utilization metrics
Implementations§
Source§impl MatchAllocationSolver
impl MatchAllocationSolver
Sourcepub fn solve_capacity(
&self,
input: &CapacityPlanningInput,
spec: &ProblemSpec,
) -> Result<(CapacityPlanningOutput, SolverReport)>
pub fn solve_capacity( &self, input: &CapacityPlanningInput, spec: &ProblemSpec, ) -> Result<(CapacityPlanningOutput, SolverReport)>
Solve the capacity planning problem
Trait Implementations§
Source§impl PackSolver for MatchAllocationSolver
impl PackSolver for MatchAllocationSolver
Auto Trait Implementations§
impl Freeze for MatchAllocationSolver
impl RefUnwindSafe for MatchAllocationSolver
impl Send for MatchAllocationSolver
impl Sync for MatchAllocationSolver
impl Unpin for MatchAllocationSolver
impl UnsafeUnpin for MatchAllocationSolver
impl UnwindSafe for MatchAllocationSolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more