[[["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\u003e\u003ccode\u003ecp_model_postsolve\u003c/code\u003e provides functionality for postsolve operations in C++ within the OR-Tools library.\u003c/p\u003e\n"],["\u003cp\u003eThe primary function, \u003ccode\u003ePostsolveResponse\u003c/code\u003e, aids in mapping solutions back to the original model variables after presolve transformations.\u003c/p\u003e\n"],["\u003cp\u003eThis function takes the original model size, a mapping protocol buffer, a postsolve mapping vector, and a solution vector as input, enabling it to reverse presolve modifications and return the solution in terms of the original variables.\u003c/p\u003e\n"]]],["The `PostsolveResponse` function, part of the C++ `cp_model_postsolve` reference, takes the number of variables in the original model, a `CpModelProto` for mapping, a vector defining `postsolve_mapping`, and a pointer to a `solution` vector. Its purpose is to process and return the postsolve solution. This function has a `void` return type and modifies the provided `solution` vector. The information on this function are auto generated.\n"],null,["# cp_model_postsolve\n\nC++ Reference: cp_model_postsolve\n=================================\n\n\nNote: This documentation is automatically generated.\n\n| Function | Type | Arguments | Comments |\n|----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|----------|\n| [`PostsolveResponse`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/cp_model_postsolve.h#L44) | Return type: `void ` Arguments: `const int64_t num_variables_in_original_model, const CpModelProto& mapping_proto, const std::vector\u003cint\u003e& postsolve_mapping, std::vector\u003cint64_t\u003e* solution` \u003cbr /\u003e |"]]