Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
proto_converter.h File Reference
#include <optional>
#include "absl/status/statusor.h"
#include "ortools/linear_solver/linear_solver.pb.h"
#include "ortools/math_opt/model.pb.h"
#include "ortools/math_opt/model_parameters.pb.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::math_opt
 An object oriented wrapper for quadratic constraints in ModelStorage.
 

Functions

absl::StatusOr< ModelProto > operations_research::math_opt::MPModelProtoToMathOptModel (const MPModelProto &model)
 
absl::StatusOr< std::optional< SolutionHintProto > > operations_research::math_opt::MPModelProtoSolutionHintToMathOptHint (const MPModelProto &model)
 
absl::StatusOr< MPModelProto > operations_research::math_opt::MathOptModelToMPModelProto (const ModelProto &model)