Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: scip_proto_solver
Note: This documentation is automatically generated.
Note, here we do not override any of SCIP default parameters. This behavior
*differs* from `MPSolver::Solve()` which sets the feasibility tolerance to 1e-7, and the gap limit to 0.0001 (whereas SCIP defaults are 1e-6 and 0,
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["This documentation outlines the usage of the `scip_proto_solver` in C++, focusing on how it interfaces with SCIP for solving optimization problems."],["Unlike `MPSolver::Solve()`, `scip_proto_solver` utilizes SCIP's default parameter settings for feasibility tolerance (1e-6) and gap limit (0)."],["Two primary functions are provided: `FindErrorInMPModelForScip` for model validation and `ScipSolveProto` for solving the optimization problem using the given model."]]],["The core content details two C++ functions within the `scip_proto_solver` for interacting with the SCIP solver. `ScipSolveProto` takes an `MPModelRequest` and returns an `MPSolutionResponse` or an error status. `FindErrorInMPModelForScip` takes an `MPModelProto` and a `SCIP*` pointer, returning a string describing potential errors. Unlike `MPSolver::Solve()`, these functions do not override default SCIP parameters like feasibility tolerance and gap limit.\n"]]