|
| ABSL_FLAG (bool, cp_model_dump_models, false, "DEBUG ONLY. When set to true, SolveCpModel() will dump its model " "protos (original model, presolved model, mapping model) in text " "format to 'FLAGS_cp_model_dump_prefix'{model|presolved_model|" "mapping_model}.pb.txt.") |
|
| ABSL_FLAG (std::string, cp_model_dump_prefix, "/tmp/", "Prefix filename for all dumped files") |
|
| ABSL_FLAG (bool, cp_model_dump_submodels, false, "DEBUG ONLY. When set to true, solve will dump all " "lns or objective_shaving submodels proto in text format to " "'FLAGS_cp_model_dump_prefix'xxx.pb.txt.") |
|
| ABSL_FLAG (std::string, cp_model_load_debug_solution, "", "DEBUG ONLY. When this is set to a non-empty file name, " "we will interpret this as an internal solution which can be used for " "debugging. For instance we use it to identify wrong cuts/reasons.") |
|
| ABSL_FLAG (bool, cp_model_check_intermediate_solutions, false, "When true, all intermediate solutions found by the solver will be " "checked. This can be expensive, therefore it is off by default.") |
|
void | operations_research::sat::LoadDebugSolution (const CpModelProto &model_proto, Model *model) |
|
void | operations_research::sat::InitializeDebugSolution (const CpModelProto &model_proto, Model *model) |
|
std::vector< int64_t > | operations_research::sat::GetSolutionValues (const CpModelProto &model_proto, const Model &model) |
|
IntegerVariable | operations_research::sat::AddLPConstraints (bool objective_need_to_be_tight, const CpModelProto &model_proto, Model *m) |
| Adds one LinearProgrammingConstraint per connected component of the model.
|
|
void | operations_research::sat::RegisterVariableBoundsLevelZeroExport (const CpModelProto &, SharedBoundsManager *shared_bounds_manager, Model *model) |
|
void | operations_research::sat::RegisterVariableBoundsLevelZeroImport (const CpModelProto &model_proto, SharedBoundsManager *shared_bounds_manager, Model *model) |
|
void | operations_research::sat::RegisterObjectiveBestBoundExport (IntegerVariable objective_var, SharedResponseManager *shared_response_manager, Model *model) |
|
void | operations_research::sat::RegisterObjectiveBoundsImport (SharedResponseManager *shared_response_manager, Model *model) |
|
void | operations_research::sat::RegisterClausesExport (int id, SharedClausesManager *shared_clauses_manager, Model *model) |
| Registers a callback that will export good clauses discovered during search.
|
|
int | operations_research::sat::RegisterClausesLevelZeroImport (int id, SharedClausesManager *shared_clauses_manager, Model *model) |
|
void | operations_research::sat::LoadBaseModel (const CpModelProto &model_proto, Model *model) |
|
void | operations_research::sat::LoadFeasibilityPump (const CpModelProto &model_proto, Model *model) |
|
void | operations_research::sat::LoadCpModel (const CpModelProto &model_proto, Model *model) |
|
void | operations_research::sat::SolveLoadedCpModel (const CpModelProto &model_proto, Model *model) |
|
void | operations_research::sat::QuickSolveWithHint (const CpModelProto &model_proto, Model *model) |
|
void | operations_research::sat::MinimizeL1DistanceWithHint (const CpModelProto &model_proto, Model *model) |
|
void | operations_research::sat::PostsolveResponseWithFullSolver (int num_variables_in_original_model, CpModelProto mapping_proto, const std::vector< int > &postsolve_mapping, std::vector< int64_t > *solution) |
|
void | operations_research::sat::PostsolveResponseWrapper (const SatParameters ¶ms, int num_variable_in_original_model, const CpModelProto &mapping_proto, const std::vector< int > &postsolve_mapping, std::vector< int64_t > *solution) |
|
void | operations_research::sat::AdaptGlobalParameters (const CpModelProto &model_proto, Model *model) |
|
ABSL_FLAG |
( |
bool | , |
|
|
cp_model_dump_models | , |
|
|
false | , |
|
|
"DEBUG ONLY. When set to | true, |
|
|
SolveCpModel() will dump its model " "protos(original model, presolved model, mapping model) in text " "format to 'FLAGS_cp_model_dump_prefix'{model|presolved_model|" "mapping_model}.pb.txt." | ) |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.