Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
routing_decision_builders.cc File Reference
#include "ortools/constraint_solver/routing_decision_builders.h"
#include <algorithm>
#include <cstdint>
#include <functional>
#include <limits>
#include <string>
#include <utility>
#include <vector>
#include "absl/container/flat_hash_set.h"
#include "absl/log/check.h"
#include "absl/types/span.h"
#include "ortools/base/map_util.h"
#include "ortools/base/strong_vector.h"
#include "ortools/constraint_solver/constraint_solver.h"
#include "ortools/constraint_solver/routing.h"
#include "ortools/constraint_solver/routing_lp_scheduling.h"
#include "ortools/util/saturated_arithmetic.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 

Functions

DecisionBuilderoperations_research::MakeSetValuesFromTargets (Solver *solver, std::vector< IntVar * > variables, std::vector< int64_t > targets)
 
DecisionBuilderoperations_research::MakeSetCumulsFromLocalDimensionCosts (Solver *solver, LocalDimensionCumulOptimizer *lp_optimizer, LocalDimensionCumulOptimizer *mp_optimizer, bool optimize_and_pack, std::vector< RoutingModel::RouteDimensionTravelInfo > dimension_travel_info_per_route)
 
DecisionBuilderoperations_research::MakeSetCumulsFromGlobalDimensionCosts (Solver *solver, GlobalDimensionCumulOptimizer *global_optimizer, GlobalDimensionCumulOptimizer *global_mp_optimizer, SearchMonitor *monitor, bool optimize_and_pack=false, std::vector< RoutingModel::RouteDimensionTravelInfo > dimension_travel_info_per_route={})
 Variant based on global optimizers, handling all routes together.
 
DecisionBuilderoperations_research::MakeRestoreDimensionValuesForUnchangedRoutes (RoutingModel *model)
 

Variable Documentation

◆ assignment_costs

std::vector<int64_t> assignment_costs

Definition at line 454 of file routing_decision_builders.cc.

◆ break_values

std::vector<std::vector<int64_t> > break_values

Definition at line 456 of file routing_decision_builders.cc.

◆ cumul_values

std::vector<std::vector<int64_t> > cumul_values

Definition at line 455 of file routing_decision_builders.cc.