C++ Reference: class SolveWrapper

This documentation is automatically generated.

This class is not meant to be reused after one solve.
Method
AddLogCallback

Return type: void

Arguments: std::function<void(const std::string&)> log_callback

AddLogCallbackFromClass

Return type: void

Arguments: LogCallback* log_callback

Workaround for C#.

AddSolutionCallback

Return type: void

Arguments: const SolutionCallback& callback

ClearSolutionCallback

Return type: void

Arguments: const SolutionCallback& callback

SetParameters

Return type: void

Arguments: const operations_research::sat::SatParameters& parameters

SetStringParameters

Return type: void

Arguments: const std::string& string_parameters

Solve

Return type: operations_research::sat::CpSolverResponse

Arguments: const operations_research::sat::CpModelProto& model_proto

StopSearch

Return type: void