Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::MPSolution Class Referencefinal

Detailed Description

Definition at line 1502 of file linear_solver.pb.h.

#include <linear_solver.pb.h>

Inheritance diagram for operations_research::MPSolution:

Classes

class  _Internal

Public Types

enum  : int { kVariableValueFieldNumber = 2 , kObjectiveValueFieldNumber = 1 }

Public Member Functions

 MPSolution ()
 ~MPSolution () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR MPSolution (::google::protobuf::internal::ConstantInitialized)
 MPSolution (const MPSolution &from)
 MPSolution (MPSolution &&from) noexcept
MPSolutionoperator= (const MPSolution &from)
MPSolutionoperator= (MPSolution &&from) noexcept
const ::google::protobuf::UnknownFieldSet & unknown_fields () const ABSL_ATTRIBUTE_LIFETIME_BOUND
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields () ABSL_ATTRIBUTE_LIFETIME_BOUND
void Swap (MPSolution *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (MPSolution *PROTOBUF_NONNULL other)
MPSolution *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const MPSolution &from)
void MergeFrom (const MPSolution &from)
bool IsInitialized () const
ABSL_ATTRIBUTE_REINITIALIZES void Clear () PROTOBUF_FINAL
::size_t ByteSizeLong () const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize (::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
int GetCachedSize () const
::google::protobuf::Metadata GetMetadata () const
int variable_value_size () const
void clear_variable_value ()
double variable_value (int index) const
void set_variable_value (int index, double value)
void add_variable_value (double value)
const ::google::protobuf::RepeatedField< double > & variable_value () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_variable_value ()
bool has_objective_value () const
void clear_objective_value ()
double objective_value () const
void set_objective_value (double value)
template<typename>
PROTOBUF_CONSTEXPR MPSolution (::_pbi::ConstantInitialized)

Static Public Member Functions

static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor ()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor ()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection ()
static const MPSolutiondefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 19

Friends

class ::google::protobuf::internal::TcParser
class ::google::protobuf::MessageLite
class ::google::protobuf::Arena
template<typename T>
class ::google::protobuf::Arena::InternalHelper
struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
void swap (MPSolution &a, MPSolution &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kVariableValueFieldNumber 
kObjectiveValueFieldNumber 

Definition at line 1643 of file linear_solver.pb.h.

Constructor & Destructor Documentation

◆ MPSolution() [1/5]

operations_research::MPSolution::MPSolution ( )
inline

Definition at line 1505 of file linear_solver.pb.h.

◆ ~MPSolution()

operations_research::MPSolution::~MPSolution ( )

Definition at line 8167 of file linear_solver.pb.cc.

◆ MPSolution() [2/5]

template<typename = void>
PROTOBUF_CONSTEXPR operations_research::MPSolution::MPSolution ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ MPSolution() [3/5]

operations_research::MPSolution::MPSolution ( const MPSolution & from)
inline

Definition at line 1518 of file linear_solver.pb.h.

◆ MPSolution() [4/5]

operations_research::MPSolution::MPSolution ( MPSolution && from)
inlinenoexcept

Definition at line 1519 of file linear_solver.pb.h.

◆ MPSolution() [5/5]

template<typename>
PROTOBUF_CONSTEXPR operations_research::MPSolution::MPSolution ( ::_pbi::ConstantInitialized )

Definition at line 173 of file linear_solver.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

uint8_t *PROTOBUF_NONNULL operations_research::MPSolution::_InternalSerialize ( ::uint8_t *PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream ) const
final

Definition at line 8297 of file linear_solver.pb.cc.

◆ add_variable_value()

void operations_research::MPSolution::add_variable_value ( double value)
inline

Definition at line 9937 of file linear_solver.pb.h.

◆ ByteSizeLong()

size_t operations_research::MPSolution::ByteSizeLong ( ) const
final

Definition at line 8337 of file linear_solver.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPSolution::Clear ( )

Definition at line 8275 of file linear_solver.pb.cc.

◆ clear_objective_value()

void operations_research::MPSolution::clear_objective_value ( )
inline

Definition at line 9892 of file linear_solver.pb.h.

◆ clear_variable_value()

void operations_research::MPSolution::clear_variable_value ( )
inline

Definition at line 9923 of file linear_solver.pb.h.

◆ CopyFrom()

void operations_research::MPSolution::CopyFrom ( const MPSolution & from)

Definition at line 8393 of file linear_solver.pb.cc.

◆ default_instance()

const MPSolution & operations_research::MPSolution::default_instance ( )
inlinestatic

Definition at line 1553 of file linear_solver.pb.h.

◆ descriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::MPSolution::descriptor ( )
inlinestatic

Definition at line 1544 of file linear_solver.pb.h.

◆ GetCachedSize()

int operations_research::MPSolution::GetCachedSize ( ) const
inline

Definition at line 1612 of file linear_solver.pb.h.

◆ GetDescriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::MPSolution::GetDescriptor ( )
inlinestatic

Definition at line 1547 of file linear_solver.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::MPSolution::GetMetadata ( ) const

Definition at line 8409 of file linear_solver.pb.cc.

◆ GetReflection()

const ::google::protobuf::Reflection *PROTOBUF_NONNULL operations_research::MPSolution::GetReflection ( )
inlinestatic

Definition at line 1550 of file linear_solver.pb.h.

◆ has_objective_value()

bool operations_research::MPSolution::has_objective_value ( ) const
inline

Definition at line 9888 of file linear_solver.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::MPSolution::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 8202 of file linear_solver.pb.cc.

◆ IsInitialized()

bool operations_research::MPSolution::IsInitialized ( ) const
inline

Definition at line 1588 of file linear_solver.pb.h.

◆ MergeFrom()

void operations_research::MPSolution::MergeFrom ( const MPSolution & from)
inline

Definition at line 1581 of file linear_solver.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::MPSolution::mutable_unknown_fields ( )
inline

Definition at line 1539 of file linear_solver.pb.h.

◆ mutable_variable_value()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::MPSolution::mutable_variable_value ( )
inline

Definition at line 9948 of file linear_solver.pb.h.

◆ New()

MPSolution *PROTOBUF_NONNULL operations_research::MPSolution::New ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena = nullptr) const
inline

Definition at line 1575 of file linear_solver.pb.h.

◆ objective_value()

double operations_research::MPSolution::objective_value ( ) const
inline

Definition at line 9898 of file linear_solver.pb.h.

◆ operator=() [1/2]

MPSolution & operations_research::MPSolution::operator= ( const MPSolution & from)
inline

Definition at line 1521 of file linear_solver.pb.h.

◆ operator=() [2/2]

MPSolution & operations_research::MPSolution::operator= ( MPSolution && from)
inlinenoexcept

Definition at line 1525 of file linear_solver.pb.h.

◆ set_objective_value()

void operations_research::MPSolution::set_objective_value ( double value)
inline

Definition at line 9902 of file linear_solver.pb.h.

◆ set_variable_value()

void operations_research::MPSolution::set_variable_value ( int index,
double value )
inline

Definition at line 9933 of file linear_solver.pb.h.

◆ Swap()

void operations_research::MPSolution::Swap ( MPSolution *PROTOBUF_NONNULL other)
inline

Definition at line 1559 of file linear_solver.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::MPSolution::unknown_fields ( ) const
inline

Definition at line 1535 of file linear_solver.pb.h.

◆ UnsafeArenaSwap()

void operations_research::MPSolution::UnsafeArenaSwap ( MPSolution *PROTOBUF_NONNULL other)
inline

Definition at line 1567 of file linear_solver.pb.h.

◆ variable_value() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::MPSolution::variable_value ( ) const
inline

Definition at line 9943 of file linear_solver.pb.h.

◆ variable_value() [2/2]

double operations_research::MPSolution::variable_value ( int index) const
inline

Definition at line 9929 of file linear_solver.pb.h.

◆ variable_value_size()

int operations_research::MPSolution::variable_value_size ( ) const
inline

Definition at line 9920 of file linear_solver.pb.h.

◆ ::google::protobuf::Arena

friend class ::google::protobuf::Arena
friend

Definition at line 1686 of file linear_solver.pb.h.

◆ ::google::protobuf::Arena::InternalHelper

template<typename T>
friend class ::google::protobuf::Arena::InternalHelper
friend

Definition at line 1688 of file linear_solver.pb.h.

◆ ::google::protobuf::internal::TcParser

friend class ::google::protobuf::internal::TcParser
friend

Definition at line 1679 of file linear_solver.pb.h.

◆ ::google::protobuf::MessageLite

friend class ::google::protobuf::MessageLite
friend

Definition at line 1685 of file linear_solver.pb.h.

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
friend

Definition at line 1707 of file linear_solver.pb.h.

◆ swap

void swap ( MPSolution & a,
MPSolution & b )
friend

Definition at line 1558 of file linear_solver.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::MPSolution::_impl_

Definition at line 1706 of file linear_solver.pb.h.

◆ kIndexInFileMessages

int operations_research::MPSolution::kIndexInFileMessages = 19
staticconstexpr

Definition at line 1557 of file linear_solver.pb.h.


The documentation for this class was generated from the following files: