Skip to content

Commit d55eeda

Browse files
authored
[md] Make links relative to project root (#5298)
1 parent 271bbae commit d55eeda

14 files changed

Lines changed: 268 additions & 268 deletions

File tree

ortools/constraint_solver/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ a technology issued from AI and used in operations research.
1010

1111
To begin, skim:
1212

13-
* [constraint_solver.h](../constraint_solver/constraint_solver.h):
13+
* [constraint_solver.h](/ortools/constraint_solver/constraint_solver.h):
1414
Declaration of the core objects for the constraint solver.
1515

1616
### Parameters
1717

18-
* [solver_parameters.proto](../constraint_solver/solver_parameters.proto):
18+
* [solver_parameters.proto](/ortools/constraint_solver/solver_parameters.proto):
1919
This file contains protocol buffers for all parameters of the CP solver.
20-
* [search_limit.proto](../constraint_solver/search_limit.proto):
20+
* [search_limit.proto](/ortools/constraint_solver/search_limit.proto):
2121
Holds parameters to limit the search space within the CP solver, which is
2222
important for performance.
2323

2424
### Solution
2525

26-
* [assignment.proto](../constraint_solver/assignment.proto):
26+
* [assignment.proto](/ortools/constraint_solver/assignment.proto):
2727
Holds the solution of a CP problem.
2828

2929
## Routing solver

ortools/flatzinc/predicates.md

Lines changed: 93 additions & 93 deletions
Large diffs are not rendered by default.

ortools/glop/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ It contains in particular:
2020
* [`status.h`][status_h]: Return type for various solver functions.
2121

2222
<!-- Links used throughout the document. -->
23-
[parameters_proto]: ../glop/parameters.proto
24-
[benchmark_proto]: ../glop/benchmark.proto
25-
[lp_solver_h]: ../glop/lp_solver.h
26-
[preprocessor_h]: ../glop/preprocessor.h
27-
[revised_simplex_h]: ../glop/revised_simplex.h
28-
[status_h]: ../glop/status.h
23+
[parameters_proto]: /ortools/glop/parameters.proto
24+
[benchmark_proto]: /ortools/glop/benchmark.proto
25+
[lp_solver_h]: /ortools/glop/lp_solver.h
26+
[preprocessor_h]: /ortools/glop/preprocessor.h
27+
[revised_simplex_h]: /ortools/glop/revised_simplex.h
28+
[status_h]: /ortools/glop/status.h

ortools/graph/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -201,19 +201,19 @@ node.
201201
You can find some canonical examples in [`samples`][samples].
202202

203203
<!-- Links used throughout the document. -->
204-
[graph_h]: ../graph_base/graph.h
205-
[bounded_dijkstra_h]: ../graph/bounded_dijkstra.h
206-
[bidirectional_dijkstra_h]: ../graph/bidirectional_dijkstra.h
207-
[shortest_paths_h]: ../graph/shortest_paths.h
208-
[dag_shortest_path_h]: ../graph/dag_shortest_path.h
209-
[dag_constrained_shortest_path_h]: ../graph/dag_constrained_shortest_path.h
210-
[hamiltonian_path_h]: ../graph/hamiltonian_path.h
211-
[eulerian_path_h]: ../graph/eulerian_path.h
212-
[connected_components_h]: ../graph/connected_components.h
213-
[strongly_connected_components_h]: ../graph/strongly_connected_components.h
214-
[cliques_h]: ../graph/cliques.h
215-
[linear_assignment_h]: ../graph/linear_assignment.h
216-
[max_flow_h]: ../graph/max_flow.h
217-
[min_cost_flow_h]: ../graph/min_cost_flow.h
204+
[graph_h]: /ortools/graph_base/graph.h
205+
[bounded_dijkstra_h]: /ortools/graph/bounded_dijkstra.h
206+
[bidirectional_dijkstra_h]: /ortools/graph/bidirectional_dijkstra.h
207+
[shortest_paths_h]: /ortools/graph/shortest_paths.h
208+
[dag_shortest_path_h]: /ortools/graph/dag_shortest_path.h
209+
[dag_constrained_shortest_path_h]: /ortools/graph/dag_constrained_shortest_path.h
210+
[hamiltonian_path_h]: /ortools/graph/hamiltonian_path.h
211+
[eulerian_path_h]: /ortools/graph/eulerian_path.h
212+
[connected_components_h]: /ortools/graph/connected_components.h
213+
[strongly_connected_components_h]: /ortools/graph/strongly_connected_components.h
214+
[cliques_h]: /ortools/graph/cliques.h
215+
[linear_assignment_h]: /ortools/graph/linear_assignment.h
216+
[max_flow_h]: /ortools/graph/max_flow.h
217+
[min_cost_flow_h]: /ortools/graph/min_cost_flow.h
218218
[samples]: ../graph/samples/
219-
[graph]: ../graph_base/
219+
[graph]: /ortools/graph_base/

ortools/julia/docs/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ within Google3: they are intended for use by the open-source community only.
66
Note: the wrapper is being written and highly experimental.
77

88
For now, only MathOpt is accessible through
9-
[its C API](../math_opt/core/c_api).
9+
[its C API](/ortools/math_opt/core/c_api/).
1010

1111
TODO(user): how to run this on my machine?
1212

@@ -19,10 +19,10 @@ The Julia wrapper is divided into three Julia packages:
1919

2020
* [`ORTools_jll`](https://github.com/JuliaRegistries/General/tree/master/jll/O/ORTools_jll)
2121
contains the precompiled OR-Tools binaries.
22-
* [`ORToolsGenerated.jl`](../ORToolsGenerated.jl)
22+
* [`ORToolsGenerated.jl`](/ortools/julia/ORToolsGenerated.jl)
2323
contains the generated part of the wrapper. For now, this package
2424
corresponds to Protocol Buffers files.
25-
* [`ORTools.jl`](../ORTools.jl)
25+
* [`ORTools.jl`](/ortools/julia/ORTools.jl)
2626
is the actual, high-level wrapper (more specifically, the
2727
[MathOptInterface](https://github.com/jump-dev/MathOptInterface.jl) code for
2828
use through [JuMP](https://jump.dev/)).
@@ -44,13 +44,13 @@ When releasing a new version of OR-Tools:
4444
Buffers files any time the new release has new Protocol Buffers files.
4545

4646
2. Update the generated files in
47-
[`ORToolsGenerated.jl`](../ORToolsGenerated.jl).
47+
[`ORToolsGenerated.jl`](/ortools/julia/ORToolsGenerated.jl).
4848
This step depends on the first one: the PR you wrote at the first step must
4949
be accepted and merged into the repository. Updating the generated files
5050
amounts to have a local Julia installation, adding the new version of
5151
`ORTools_jll` (within a Julia shell, `]add ORTools_jll` the first time, then
5252
update the version with `]update`), and calling the script
53-
[`update_package.jl`](../ORToolsGenerated.jl/scripts/update_package.jl).
53+
[`update_package.jl`](/ortools/julia/ORToolsGenerated.jl/scripts/update_package.jl).
5454

5555
3. Synchronize the results of the previous step with OR-Tools' repository: the
5656
updated files go into `ortools/julia/ORToolsGenerated/` (an updated
@@ -129,10 +129,10 @@ If there is an update in the C API, use `scripts/TODO(user)` to update the
129129
generated code to call the C functions.
130130
131131
If there is an update in the MathOpt proto interface, use
132-
[`ORToolsGenerated.jl/scripts/gen_pb.jl`](../ORToolsGenerated.jl/scripts/gen_pb.jl)
132+
[`ORToolsGenerated.jl/scripts/gen_pb.jl`](/ortools/julia/ORToolsGenerated.jl/scripts/gen_pb.jl)
133133
to update the generated Protocol Buffers code. This script is automatically
134134
called by
135-
[`update_package.jl`](../ORToolsGenerated.jl/scripts/update_package.jl).
135+
[`update_package.jl`](/ortools/julia/ORToolsGenerated.jl/scripts/update_package.jl).
136136
137137
## Design decisions
138138

ortools/linear_solver/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,39 +29,39 @@ This module provides:
2929

3030
To begin, skim
3131

32-
* [linear_solver.proto](../linear_solver/linear_solver.proto):
32+
* [linear_solver.proto](/ortools/linear_solver/linear_solver.proto):
3333
Specifically, look at `MPModelProto`. This gives a succinct description of
3434
what problems can be solved.
3535

36-
* [solve_mp_model.h](../linear_solver/solve_mp_model.h):
36+
* [solve_mp_model.h](/ortools/linear_solver/solve_mp_model.h):
3737
This file contains the key functions to run various solvers.
3838

3939
## Available solvers
4040

4141
Each *\*_interface.cc* file corresponds to one of the solver accessible
4242
through the wrapper.
4343

44-
* Google's BOP (boolean) solver: [bop_interface.cc](../linear_solver/bop_interface.cc)
44+
* Google's BOP (boolean) solver: [bop_interface.cc](/ortools/linear_solver/bop_interface.cc)
4545

46-
* Google's GLOP (lp) solver: [glop_interface.cc](../linear_solver/glop_interface.cc)
46+
* Google's GLOP (lp) solver: [glop_interface.cc](/ortools/linear_solver/glop_interface.cc)
4747

48-
* Gurobi (MIP) solver: [gurobi_interface.cc](../linear_solver/gurobi_interface.cc)
48+
* Gurobi (MIP) solver: [gurobi_interface.cc](/ortools/linear_solver/gurobi_interface.cc)
4949

50-
* Google's PLDP solver: [pdlp_interface.cc](../linear_solver/pdlp_interface.cc)
50+
* Google's PLDP solver: [pdlp_interface.cc](/ortools/linear_solver/pdlp_interface.cc)
5151

52-
* SCIP (MIP) solver: [scip_interface.cc](../linear_solver/scip_interface.cc)
52+
* SCIP (MIP) solver: [scip_interface.cc](/ortools/linear_solver/scip_interface.cc)
5353

54-
* Google's CP-SAT solver: [sat_interface.cc](../linear_solver/sat_interface.cc)
54+
* Google's CP-SAT solver: [sat_interface.cc](/ortools/linear_solver/sat_interface.cc)
5555

56-
* Coin-OR Cbc (MIP) solver: [cbc_interface.cc](../linear_solver/cbc_interface.cc)
56+
* Coin-OR Cbc (MIP) solver: [cbc_interface.cc](/ortools/linear_solver/cbc_interface.cc)
5757

58-
* Coin-OR Clp (LP) solver: [clp_interface.cc](../linear_solver/clp_interface.cc)
58+
* Coin-OR Clp (LP) solver: [clp_interface.cc](/ortools/linear_solver/clp_interface.cc)
5959

60-
* CPLEX (MIP) solver: [cplex_interface.cc](../linear_solver/cplex_interface.cc)
60+
* CPLEX (MIP) solver: [cplex_interface.cc](/ortools/linear_solver/cplex_interface.cc)
6161

62-
* GLPK (MIP) solver: [glpk_interface.cc](../linear_solver/glpk_interface.cc)
62+
* GLPK (MIP) solver: [glpk_interface.cc](/ortools/linear_solver/glpk_interface.cc)
6363

64-
* Xpress (MIP) solver: [xpress_interface.cc](../linear_solver/xpress_interface.cc)
64+
* Xpress (MIP) solver: [xpress_interface.cc](/ortools/linear_solver/xpress_interface.cc)
6565

6666
## Wrappers
6767

@@ -76,4 +76,4 @@ through the wrapper.
7676

7777
## Samples
7878

79-
You can find some canonical examples in [samples](../linear_solver/samples/)
79+
You can find some canonical examples in [samples](/ortools/linear_solver/samples/)

ortools/lp_data/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,19 @@ This group of libraries handles reading and writing LP data in various formats.
6868

6969
<!-- Links used throughout the document. -->
7070

71-
[lp_types_h]: ../lp_data/lp_types.h
72-
[lp_data_h]: ../lp_data/lp_data.h
73-
[lp_utils_h]: ../lp_data/lp_utils.h
74-
[sparse_h]: ../lp_data/sparse.h
75-
[sparse_vector_h]: ../lp_data/sparse_vector.h
76-
[sparse_column_h]: ../lp_data/sparse_column.h
77-
[sparse_row_h]: ../lp_data/sparse_row.h
78-
[scattered_vector_h]: ../lp_data/scattered_vector.h
79-
[matrix_scaler_h]: ../lp_data/matrix_scaler.h
80-
[lp_decomposer_h]: ../lp_data/lp_decomposer.h
81-
[permutation_h]: ../lp_data/permutation.h
82-
[lp_parser_h]: ../lp_data/lp_parser.h
83-
[mps_reader_h]: ../lp_data/mps_reader.h
84-
[sol_reader_h]: ../lp_data/sol_reader.h
85-
[proto_utils_h]: ../lp_data/proto_utils.h
86-
[lp_print_utils_h]: ../lp_data/lp_print_utils.h
71+
[lp_types_h]: /ortools/lp_data/lp_types.h
72+
[lp_data_h]: /ortools/lp_data/lp_data.h
73+
[lp_utils_h]: /ortools/lp_data/lp_utils.h
74+
[sparse_h]: /ortools/lp_data/sparse.h
75+
[sparse_vector_h]: /ortools/lp_data/sparse_vector.h
76+
[sparse_column_h]: /ortools/lp_data/sparse_column.h
77+
[sparse_row_h]: /ortools/lp_data/sparse_row.h
78+
[scattered_vector_h]: /ortools/lp_data/scattered_vector.h
79+
[matrix_scaler_h]: /ortools/lp_data/matrix_scaler.h
80+
[lp_decomposer_h]: /ortools/lp_data/lp_decomposer.h
81+
[permutation_h]: /ortools/lp_data/permutation.h
82+
[lp_parser_h]: /ortools/lp_data/lp_parser.h
83+
[mps_reader_h]: /ortools/lp_data/mps_reader.h
84+
[sol_reader_h]: /ortools/lp_data/sol_reader.h
85+
[proto_utils_h]: /ortools/lp_data/proto_utils.h
86+
[lp_print_utils_h]: /ortools/lp_data/lp_print_utils.h

ortools/math_opt/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ as GLOP, CP-SAT, SCIP and Gurobi. In particular, a single API is provided to
66
make these solvers largely interoperable.
77

88
New code should prefer MathOpt to `MPSolver`, as defined in
9-
[linear_solver.h](../linear_solver/linear_solver.h)
9+
[linear_solver.h](/ortools/linear_solver/linear_solver.h)
1010
when possible.
1111

1212
MathOpt has client libraries in C++, Python, and Java that most users should use
1313
to build and solve their models. A proto API is also provided, but this is not
1414
recommended for most users.
1515

1616
See
17-
[parameters.proto](../math_opt/parameters.proto?q=SolverTypeProto)
17+
[parameters.proto](/ortools/math_opt/parameters.proto?q=SolverTypeProto)
1818
for the list of supported solvers.

ortools/pdlp/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ performance and numerical stability. See also
4343

4444
<!-- Links used throughout the document. -->
4545
[background]: https://developers.google.com/optimization/lp/pdlp_math
46-
[primal_dual_hybrid_gradient_h]: ../pdlp/primal_dual_hybrid_gradient.h
47-
[quadratic_program_h]: ../pdlp/quadratic_program.h
48-
[quadratic_program_io_h]: ../pdlp/quadratic_program_io.h
49-
[sharded_quadratic_program_h]: ../pdlp/sharded_quadratic_program.h
50-
[sharder_h]: ../pdlp/sharder.h
51-
[scheduler_h]: ../pdlp/scheduler.h
52-
[iteration_stats_h]: ../pdlp/iteration_stats.h
53-
[termination_h]: ../pdlp/termination.h
54-
[solvers_proto]: ../pdlp/solvers.proto
55-
[solve_log_proto]: ../pdlp/solve_log.proto
46+
[primal_dual_hybrid_gradient_h]: /ortools/pdlp/primal_dual_hybrid_gradient.h
47+
[quadratic_program_h]: /ortools/pdlp/quadratic_program.h
48+
[quadratic_program_io_h]: /ortools/pdlp/quadratic_program_io.h
49+
[sharded_quadratic_program_h]: /ortools/pdlp/sharded_quadratic_program.h
50+
[sharder_h]: /ortools/pdlp/sharder.h
51+
[scheduler_h]: /ortools/pdlp/scheduler.h
52+
[iteration_stats_h]: /ortools/pdlp/iteration_stats.h
53+
[termination_h]: /ortools/pdlp/termination.h
54+
[solvers_proto]: /ortools/pdlp/solvers.proto
55+
[solve_log_proto]: /ortools/pdlp/solve_log.proto

ortools/routing/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ extension that is implemented on top of the CP solver library.
77

88
To begin, skim:
99

10-
* [routing.h](../routing/routing.h): The
10+
* [routing.h](/ortools/routing/routing.h): The
1111
vehicle routing library lets one model and solve generic vehicle routing
1212
problems ranging from the Traveling Salesman Problem to more complex
1313
problems such as the Capacitated Vehicle Routing Problem with Time Windows.
1414

1515
### Parameters
1616

17-
* [parameters.proto](../routing/parameters.proto):
17+
* [parameters.proto](/ortools/routing/parameters.proto):
1818
The Vehicle Routing solver parameters.
19-
* [enums.proto](../routing/enums.proto):
19+
* [enums.proto](/ortools/routing/enums.proto):
2020
Enums used to define routing parameters.
2121

2222
### Solution
2323

24-
* [assignment.proto](../constraint_solver/assignment.proto):
24+
* [assignment.proto](/ortools/constraint_solver/assignment.proto):
2525
Holds the solution of a Routing problem (as a special case of a CS problem).
2626

2727
## Parsers
2828

2929
Utilities for file formats are in the
30-
[`parsers`](../routing/parsers) subfolder.
30+
[`parsers`](/ortools/routing/parsers) subfolder.

0 commit comments

Comments
 (0)