@@ -85,7 +85,7 @@ void bind_submodule(py::module_ const& m) {
85
85
86
86
The optimization problem is represented as an heterogenous bipartite graph.
87
87
On one side, a node is associated with one variable, on the other side a node is
88
- associated with one constraint .
88
+ associated with one LP row .
89
89
There exist an edge between a variable and a constraint if the variable exists in the
90
90
constraint with a non-zero coefficient.
91
91
@@ -236,13 +236,13 @@ void bind_submodule(py::module_ const& m) {
236
236
Strong branching score observation function on branch-and bound node.
237
237
238
238
This observation obtains scores for all LP or pseudo candidate variables at a
239
- branch-and-bound node. The strong branching score measures the quality of branching
240
- for each variable. This observation can be used as an expert for imitation
241
- learning algorithms.
239
+ branch-and-bound node.
240
+ The strong branching score measures the quality of branching for each variable.
241
+ This observation can be used as an expert for imitation learning algorithms.
242
242
243
243
This observation function extracts an array containing the strong branching score for
244
- each variable in the problem which can be indexed by the action set. Variables for which
245
- a strong branching score is not applicable are filled with NaN.
244
+ each variable in the problem which can be indexed by the action set.
245
+ Variables for which a strong branching score is not applicable are filled with `` NaN`` .
246
246
)" );
247
247
strong_branching_scores.def (py::init<bool >(), py::arg (" pseudo_candidates" ) = true , R"(
248
248
Constructor for StrongBranchingScores.
@@ -269,8 +269,8 @@ void bind_submodule(py::module_ const& m) {
269
269
pseudocost branching (also known as hybrid branching).
270
270
271
271
This observation function extracts an array containing the pseudocost for
272
- each variable in the problem which can be indexed by the action set. Variables for which
273
- a pseudocost is not applicable are filled with NaN.
272
+ each variable in the problem which can be indexed by the action set.
273
+ Variables for which a pseudocost is not applicable are filled with `` NaN`` .
274
274
)" );
275
275
pseudocosts.def (py::init<>());
276
276
def_before_reset (pseudocosts, R"( Do nothing.)" );
@@ -283,8 +283,8 @@ void bind_submodule(py::module_ const& m) {
283
283
284
284
The observation is a matrix where rows represent all variables and columns represent features related
285
285
to these variables.
286
- Only rows representing pseudo branching candidate contain meaningful observation, other rows are filled with
287
- ``NaN``.
286
+ Only rows representing pseudo branching candidate contain meaningful observation, other rows are filled
287
+ with ``NaN``.
288
288
See [Khalil2016]_ for a complete reference on this observation function.
289
289
290
290
The first :py:attr:`Khalil2016Obs.n_static_features` are static (they do not change through the solving
0 commit comments