OR-Tools  9.2
arc_flow_solver.h
Go to the documentation of this file.
1 // Copyright 2010-2021 Google LLC
2 // Licensed under the Apache License, Version 2.0 (the "License");
3 // you may not use this file except in compliance with the License.
4 // You may obtain a copy of the License at
5 //
6 // http://www.apache.org/licenses/LICENSE-2.0
7 //
8 // Unless required by applicable law or agreed to in writing, software
9 // distributed under the License is distributed on an "AS IS" BASIS,
10 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 // See the License for the specific language governing permissions and
12 // limitations under the License.
13 
14 #ifndef OR_TOOLS_PACKING_ARC_FLOW_SOLVER_H_
15 #define OR_TOOLS_PACKING_ARC_FLOW_SOLVER_H_
16 
19 
20 namespace operations_research {
21 namespace packing {
22 
23 vbp::VectorBinPackingSolution SolveVectorBinPackingWithArcFlow(
24  const vbp::VectorBinPackingProblem& problem,
26  const std::string& mip_params, double time_limit, int num_threads,
27  int max_bins);
28 
29 } // namespace packing
30 } // namespace operations_research
31 
32 #endif // OR_TOOLS_PACKING_ARC_FLOW_SOLVER_H_
vbp::VectorBinPackingSolution SolveVectorBinPackingWithArcFlow(const vbp::VectorBinPackingProblem &problem, MPSolver::OptimizationProblemType solver_type, const std::string &mip_params, double time_limit, int num_threads, int max_bins)
ModelSharedTimeLimit * time_limit
A C++ wrapper that provides a simple and unified interface to several linear programming and mixed in...
OptimizationProblemType
The type of problems (LP or MIP) that will be solved and the underlying solver (GLOP,...
Collection of objects used to extend the Constraint Solver library.