![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
The search branching will be used to decide how to branch on unfixed nodes.
Protobuf enum operations_research.sat.SatParameters.SearchBranching
Definition at line 1313 of file SatParameters.java.
Public Member Functions | |
| final int | getNumber () |
| final com.google.protobuf.Descriptors.EnumValueDescriptor | getValueDescriptor () |
| final com.google.protobuf.Descriptors.EnumDescriptor | getDescriptorForType () |
Static Public Member Functions | |
| [static initializer] | |
| static SearchBranching | valueOf (int value) |
| static SearchBranching | forNumber (int value) |
| static com.google.protobuf.Internal.EnumLiteMap< SearchBranching > | internalGetValueMap () |
| static com.google.protobuf.Descriptors.EnumDescriptor | getDescriptor () |
| static SearchBranching | valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
Public Attributes | |
| AUTOMATIC_SEARCH =(0) | |
| FIXED_SEARCH =(1) | |
| PORTFOLIO_SEARCH =(2) | |
| LP_SEARCH =(3) | |
| PSEUDO_COST_SEARCH =(4) | |
| PORTFOLIO_WITH_QUICK_RESTART_SEARCH =(5) | |
| HINT_SEARCH =(6) | |
| PARTIAL_FIXED_SEARCH =(7) | |
| RANDOMIZED_SEARCH =(8) | |
Static Public Attributes | |
| static final int | AUTOMATIC_SEARCH_VALUE = 0 |
| static final int | FIXED_SEARCH_VALUE = 1 |
| static final int | PORTFOLIO_SEARCH_VALUE = 2 |
| static final int | LP_SEARCH_VALUE = 3 |
| static final int | PSEUDO_COST_SEARCH_VALUE = 4 |
| static final int | PORTFOLIO_WITH_QUICK_RESTART_SEARCH_VALUE = 5 |
| static final int | HINT_SEARCH_VALUE = 6 |
| static final int | PARTIAL_FIXED_SEARCH_VALUE = 7 |
| static final int | RANDOMIZED_SEARCH_VALUE = 8 |
|
static |
|
static |
| value | The numeric wire value of the corresponding enum entry. |
Definition at line 1520 of file SatParameters.java.
|
static |
Definition at line 1556 of file SatParameters.java.
| final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.sat.SatParameters.SearchBranching.getDescriptorForType | ( | ) |
Definition at line 1552 of file SatParameters.java.
| final int com.google.ortools.sat.SatParameters.SearchBranching.getNumber | ( | ) |
Definition at line 1502 of file SatParameters.java.
| final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.sat.SatParameters.SearchBranching.getValueDescriptor | ( | ) |
Definition at line 1548 of file SatParameters.java.
|
static |
Definition at line 1536 of file SatParameters.java.
|
static |
Definition at line 1562 of file SatParameters.java.
|
static |
| value | The numeric wire value of the corresponding enum entry. |
forNumber(int) instead. Definition at line 1512 of file SatParameters.java.
| com.google.ortools.sat.SatParameters.SearchBranching.AUTOMATIC_SEARCH =(0) |
Try to fix all literals using the underlying SAT solver's heuristics, then generate and fix literals until integer variables are fixed. New literals on integer variables are generated using the fixed search specified by the user or our default one.
AUTOMATIC_SEARCH = 0;
Definition at line 1325 of file SatParameters.java.
|
static |
Try to fix all literals using the underlying SAT solver's heuristics, then generate and fix literals until integer variables are fixed. New literals on integer variables are generated using the fixed search specified by the user or our default one.
AUTOMATIC_SEARCH = 0;
Definition at line 1423 of file SatParameters.java.
| com.google.ortools.sat.SatParameters.SearchBranching.FIXED_SEARCH =(1) |
If used then all decisions taken by the solver are made using a fixed order as specified in the API or in the CpModelProto search_strategy field.
FIXED_SEARCH = 1;
Definition at line 1335 of file SatParameters.java.
|
static |
If used then all decisions taken by the solver are made using a fixed order as specified in the API or in the CpModelProto search_strategy field.
FIXED_SEARCH = 1;
Definition at line 1433 of file SatParameters.java.
| com.google.ortools.sat.SatParameters.SearchBranching.HINT_SEARCH =(6) |
Mainly used internally. This is like FIXED_SEARCH, except we follow the solution_hint field of the CpModelProto rather than using the information provided in the search_strategy.
HINT_SEARCH = 6;
Definition at line 1382 of file SatParameters.java.
|
static |
Mainly used internally. This is like FIXED_SEARCH, except we follow the solution_hint field of the CpModelProto rather than using the information provided in the search_strategy.
HINT_SEARCH = 6;
Definition at line 1480 of file SatParameters.java.
| com.google.ortools.sat.SatParameters.SearchBranching.LP_SEARCH =(3) |
If used, the solver will use heuristics from the LP relaxation. This exploit the reduced costs of the variables in the relaxation.
LP_SEARCH = 3;
Definition at line 1352 of file SatParameters.java.
|
static |
If used, the solver will use heuristics from the LP relaxation. This exploit the reduced costs of the variables in the relaxation.
LP_SEARCH = 3;
Definition at line 1450 of file SatParameters.java.
| com.google.ortools.sat.SatParameters.SearchBranching.PARTIAL_FIXED_SEARCH =(7) |
Similar to FIXED_SEARCH, but differ in how the variable not listed into the fixed search heuristics are branched on. This will always start the search tree according to the specified fixed search strategy, but will complete it using the default automatic search.
PARTIAL_FIXED_SEARCH = 7;
Definition at line 1393 of file SatParameters.java.
|
static |
Similar to FIXED_SEARCH, but differ in how the variable not listed into the fixed search heuristics are branched on. This will always start the search tree according to the specified fixed search strategy, but will complete it using the default automatic search.
PARTIAL_FIXED_SEARCH = 7;
Definition at line 1491 of file SatParameters.java.
| com.google.ortools.sat.SatParameters.SearchBranching.PORTFOLIO_SEARCH =(2) |
Simple portfolio search used by LNS workers.
PORTFOLIO_SEARCH = 2;
Definition at line 1343 of file SatParameters.java.
|
static |
Simple portfolio search used by LNS workers.
PORTFOLIO_SEARCH = 2;
Definition at line 1441 of file SatParameters.java.
| com.google.ortools.sat.SatParameters.SearchBranching.PORTFOLIO_WITH_QUICK_RESTART_SEARCH =(5) |
Mainly exposed here for testing. This quickly tries a lot of randomized heuristics with a low conflict limit. It usually provides a good first solution.
PORTFOLIO_WITH_QUICK_RESTART_SEARCH = 5;
Definition at line 1372 of file SatParameters.java.
|
static |
Mainly exposed here for testing. This quickly tries a lot of randomized heuristics with a low conflict limit. It usually provides a good first solution.
PORTFOLIO_WITH_QUICK_RESTART_SEARCH = 5;
Definition at line 1470 of file SatParameters.java.
| com.google.ortools.sat.SatParameters.SearchBranching.PSEUDO_COST_SEARCH =(4) |
If used, the solver uses the pseudo costs for branching. Pseudo costs are computed using the historical change in objective bounds when some decision are taken. Note that this works whether we use an LP or not.
PSEUDO_COST_SEARCH = 4;
Definition at line 1362 of file SatParameters.java.
|
static |
If used, the solver uses the pseudo costs for branching. Pseudo costs are computed using the historical change in objective bounds when some decision are taken. Note that this works whether we use an LP or not.
PSEUDO_COST_SEARCH = 4;
Definition at line 1460 of file SatParameters.java.
| com.google.ortools.sat.SatParameters.SearchBranching.RANDOMIZED_SEARCH =(8) |
Randomized search. Used to increase entropy in the search.
RANDOMIZED_SEARCH = 8;
Definition at line 1401 of file SatParameters.java.
|
static |
Randomized search. Used to increase entropy in the search.
RANDOMIZED_SEARCH = 8;
Definition at line 1499 of file SatParameters.java.