[[["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."],[[["\u003cp\u003eThe \u003ccode\u003ePresolveContext\u003c/code\u003e class is central to the presolve phase in CP-SAT, managing the transformation and simplification of the constraint programming model before the core solving process.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation details the primary classes involved, including \u003ccode\u003ePresolveContext\u003c/code\u003e, \u003ccode\u003eSavedLiteral\u003c/code\u003e, and \u003ccode\u003eSavedVariable\u003c/code\u003e, essential for understanding and manipulating the model during presolve.\u003c/p\u003e\n"],["\u003cp\u003eThese classes provide mechanisms to save and restore information about variables and literals, crucial for reversing presolve operations to obtain a solution for the original problem.\u003c/p\u003e\n"]]],["The C++ `presolve_context` documentation outlines three classes: `PresolveContext`, `SavedLiteral`, and `SavedVariable`. These classes, likely used in optimization or SAT solving, manage the context during a presolve phase. `PresolveContext` likely handles the overall context, while `SavedLiteral` and `SavedVariable` likely store and manage specific literal and variable data respectively, potentially preserving information during the presolving process. The classes appear interconnected in a manner to support the presolving functionality.\n"],null,["# presolve_context\n\nC++ Reference: presolve_context\n===============================\n\n\nNote: This documentation is automatically generated.\n\n| Classes ------- ||\n|---------------------------------------------------------------------------------|---|\n| [PresolveContext](/optimization/reference/sat/presolve_context/PresolveContext) |\n| [SavedLiteral](/optimization/reference/sat/presolve_context/SavedLiteral) |\n| [SavedVariable](/optimization/reference/sat/presolve_context/SavedVariable) |"]]