Struct vrp_pragmatic::format::problem::Problem [−][src]
pub struct Problem {
pub plan: Plan,
pub fleet: Fleet,
pub objectives: Option<Vec<Vec<Objective>>>,
}Expand description
A VRP problem definition.
Fields
plan: PlanProblem plan: customers to serve.
fleet: FleetProblem resources: vehicles to be used, routing info.
objectives: Option<Vec<Vec<Objective>>>Specifies objective function hierarchy.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Reads problem defined in pragmatic format.
Auto Trait Implementations
impl RefUnwindSafe for Problem
impl UnwindSafe for Problem
Blanket Implementations
Mutably borrows from an owned value. Read more