Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: model_exporter_swig_helper
Note: This documentation is automatically generated.
Function |
Type |
Arguments |
Comments |
ExportModelAsLpFormatReturnString | Return type: inline std::string Arguments: const MPModelProto& input_model, const MPModelExportOptions& options = MPModelExportOptions() |
ExportModelAsMpsFormatReturnString | Return type: inline std::string Arguments: const MPModelProto& input_model, const MPModelExportOptions& options = MPModelExportOptions() |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["The document outlines two functions for exporting a model in C++. `ExportModelAsLpFormatReturnString` takes an `MPModelProto` and `MPModelExportOptions` to return a model as a string in LP format. Similarly, `ExportModelAsMpsFormatReturnString` accepts the same input and returns the model as a string in MPS format. Both functions are inline and use `std::string` as their return type. The `MPModelExportOptions` is an optional argument with default values.\n"],null,[]]