2011-10-19 15:56:31 +00:00
|
|
|
<summary> C++ examples to demonstrate usage of the different
|
|
|
|
|
Operations Research libraries. </summary>
|
2011-10-19 12:58:35 +00:00
|
|
|
|
2011-11-03 10:27:53 +00:00
|
|
|
- %Constraint Solver examples:
|
|
|
|
|
- cryptarithm.cc Demonstrates the use of basic modeling objects
|
|
|
|
|
(integer variables, arithmetic constraints and expressions,
|
|
|
|
|
simple search).
|
2011-10-19 13:27:29 +00:00
|
|
|
- golomb.cc Demonstrates how to handle objective functions and collect
|
|
|
|
|
solutions found during the search.
|
|
|
|
|
- magic_square.cc Shows how to use the automatic search to solve your
|
|
|
|
|
problem.
|
2011-11-03 10:27:53 +00:00
|
|
|
- costas_array.cc Solves the problem of Costas Array (a constrained
|
|
|
|
|
assignment problem used for radars) with two version. On version is
|
|
|
|
|
a feasibility version with hard constraints, the other version is
|
|
|
|
|
an optimization version with soft constraints and violation costs.
|
|
|
|
|
- jobshop.cc Demonstrates scheduling of jobs on different machines.
|
2012-01-05 14:59:00 +00:00
|
|
|
- jobshop_ls.cc Demonstrates scheduling of jobs on different machines with
|
|
|
|
|
a search using Local Search and Large Neighorhood Search.
|
2011-10-19 13:27:29 +00:00
|
|
|
- nqueens.cc Solves the n-queen problem. It also demonstrates how to break
|
|
|
|
|
symmetries during search.
|
2011-11-03 10:27:53 +00:00
|
|
|
- network_routing.cc Solves a multicommodity mono-routing
|
|
|
|
|
problem with capacity constraints and a max usage cost structure.
|
|
|
|
|
- sports_scheduling.cc Finds a soccer championship schedule. Its uses an
|
|
|
|
|
original approach where all constraints attached to either one team,
|
|
|
|
|
or one week are regrouped into one global 'AllowedAssignment' constraints.
|
2012-01-25 18:03:07 +00:00
|
|
|
- dobble_ls.cc Shows how to write Local Search operators and Local Search
|
|
|
|
|
filters in a context of an assignment/partitioning problem. It also
|
|
|
|
|
shows how to write a simple constraint.
|
2011-10-19 12:58:35 +00:00
|
|
|
|
2011-11-03 10:27:53 +00:00
|
|
|
- Routing examples:
|
2011-12-08 16:47:32 +00:00
|
|
|
- tsp.cc Travelling Salesman Problem.
|
2011-11-03 10:27:53 +00:00
|
|
|
- cvrptw.cc Capacitated Vehicle Routing Problem with Time Windows.
|
2012-03-28 18:50:03 +00:00
|
|
|
- carptw.cc Capacitated Vehicle Arc-Routing Problem with Time Windows.
|
2011-12-08 16:47:32 +00:00
|
|
|
- pdptw.cc Pickup and Delivery Problem with Time Windows.
|
2011-10-19 12:58:35 +00:00
|
|
|
|
2011-11-03 10:27:53 +00:00
|
|
|
- Graph examples:
|
|
|
|
|
- flow_api.cc Demonstrates how to use Min-Cost Flow and Max-Flow api.
|
|
|
|
|
- linear_assignment_api.cc Demonstrates how to use the Linear Sum
|
2011-10-19 14:15:54 +00:00
|
|
|
Assignment solver.
|
2011-11-03 10:27:53 +00:00
|
|
|
- dimacs_assignment.cc Solves DIMACS challenge on assignment
|
|
|
|
|
problems.
|
2011-10-19 12:58:35 +00:00
|
|
|
|
2011-11-03 10:27:53 +00:00
|
|
|
- Linear and integer programming examples:
|
|
|
|
|
- linear_programming.cc Demonstrates how to use the linear solver
|
2011-10-19 15:56:31 +00:00
|
|
|
wrapper API to solve Linear Programming problems.
|
2011-11-03 10:27:53 +00:00
|
|
|
- integer_programming.cc Demonstrates how to use the linear solver
|
|
|
|
|
wrapper API to solve Integer Programming problems.
|
|
|
|
|
- linear_solver_protocol_buffers.cc Demonstrates how protocol
|
|
|
|
|
buffers can be used as input and output to the linear solver wrapper.
|
|
|
|
|
- strawberry_fields_with_column_generation.cc Complex example that
|
|
|
|
|
demonstrates how to use dynamic column generation to solve a 2D
|
|
|
|
|
covering problem.
|
|
|
|
|
|
2012-03-28 18:50:03 +00:00
|
|
|
- Examples using multiple technologies:
|
|
|
|
|
- warehouse_run.cc Solve a capacitated warehouse location problem with
|
|
|
|
|
different techniques.
|
|
|
|
|
|
2011-11-03 10:27:53 +00:00
|
|
|
- Utilities
|
|
|
|
|
- model_util.cc A utility to manipulate model files (.cp) dumped by the
|
|
|
|
|
solver.
|