1 2 3 4 5 6 7 8 9 10
use solverforge::prelude::*; #[planning_entity] pub struct Task { #[planning_id] pub id: String, #[planning_variable(value_range_provider = "resources", allows_unassigned = true)] pub resource_idx: Option<usize>, }