[[["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\u003emodel_exporter\u003c/code\u003e provides functionalities to export optimization models in different formats.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExportModelAsLpFormat\u003c/code\u003e function exports a model in the LP file format, taking an \u003ccode\u003eMPModelProto\u003c/code\u003e object and optional export options.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExportModelAsMpsFormat\u003c/code\u003e function exports a model in the MPS file format, accepting an \u003ccode\u003eMPModelProto\u003c/code\u003e object and optional export options for customization.\u003c/p\u003e\n"]]],["The core content details two C++ functions for exporting optimization models. `ExportModelAsLpFormat` exports a `MPModelProto` model into LP format, and `ExportModelAsMpsFormat` exports the same model into MPS format. Both functions return a string containing the exported model or an error status. They accept the model as input, along with optional export settings defined by `MPModelExportOptions`.\n"],null,["# model_exporter\n\nC++ Reference: model_exporter\n=============================\n\n\nNote: This documentation is automatically generated.\n\n| Function | Type | Arguments | Comments |\n|----------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|----------|\n| [`ExportModelAsLpFormat`](https://github.com/google/or-tools/blob/v9.4/ortools/linear_solver/model_exporter.h#L71) | Return type: `absl::StatusOr\u003cstd::string\u003e ` Arguments: ` const MPModelProto& model, const MPModelExportOptions& options = MPModelExportOptions()` \u003cbr /\u003e |\n| [`ExportModelAsMpsFormat`](https://github.com/google/or-tools/blob/v9.4/ortools/linear_solver/model_exporter.h#L100) | Return type: `absl::StatusOr\u003cstd::string\u003e ` Arguments: ` const MPModelProto& model, const MPModelExportOptions& options = MPModelExportOptions()` \u003cbr /\u003e |"]]