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

Detailed Description

Definition at line 462 of file solution.pb.h.

#include <solution.pb.h>

Inheritance diagram for operations_research::math_opt::PrimalSolutionProto:

Classes

class  _Internal

Public Types

enum  : int { kVariableValuesFieldNumber = 1 , kObjectiveValueFieldNumber = 2 , kFeasibilityStatusFieldNumber = 3 , kAuxiliaryObjectiveValuesFieldNumber = 4 }

Public Member Functions

 PrimalSolutionProto ()
 ~PrimalSolutionProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR PrimalSolutionProto (::google::protobuf::internal::ConstantInitialized)
 PrimalSolutionProto (const PrimalSolutionProto &from)
 PrimalSolutionProto (PrimalSolutionProto &&from) noexcept
PrimalSolutionProtooperator= (const PrimalSolutionProto &from)
PrimalSolutionProtooperator= (PrimalSolutionProto &&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 (PrimalSolutionProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (PrimalSolutionProto *PROTOBUF_NONNULL other)
PrimalSolutionProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const PrimalSolutionProto &from)
void MergeFrom (const PrimalSolutionProto &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
bool has_variable_values () const
void clear_variable_values ()
const ::operations_research::math_opt::SparseDoubleVectorProtovariable_values () const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_variable_values ()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_variable_values ()
void set_allocated_variable_values (::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_variable_values (::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_variable_values ()
void clear_objective_value ()
double objective_value () const
void set_objective_value (double value)
void clear_feasibility_status ()
::operations_research::math_opt::SolutionStatusProto feasibility_status () const
void set_feasibility_status (::operations_research::math_opt::SolutionStatusProto value)
int auxiliary_objective_values_size () const
void clear_auxiliary_objective_values ()
const ::google::protobuf::Map<::int64_t, double > & auxiliary_objective_values () const
::google::protobuf::Map<::int64_t, double > *PROTOBUF_NONNULL mutable_auxiliary_objective_values ()
template<typename>
PROTOBUF_CONSTEXPR PrimalSolutionProto (::_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 PrimalSolutionProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 1

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_2fmath_5fopt_2fsolution_2eproto
void swap (PrimalSolutionProto &a, PrimalSolutionProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kVariableValuesFieldNumber 
kObjectiveValueFieldNumber 
kFeasibilityStatusFieldNumber 
kAuxiliaryObjectiveValuesFieldNumber 

Definition at line 603 of file solution.pb.h.

Constructor & Destructor Documentation

◆ PrimalSolutionProto() [1/5]

operations_research::math_opt::PrimalSolutionProto::PrimalSolutionProto ( )
inline

Definition at line 465 of file solution.pb.h.

◆ ~PrimalSolutionProto()

operations_research::math_opt::PrimalSolutionProto::~PrimalSolutionProto ( )

Definition at line 601 of file solution.pb.cc.

◆ PrimalSolutionProto() [2/5]

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

◆ PrimalSolutionProto() [3/5]

operations_research::math_opt::PrimalSolutionProto::PrimalSolutionProto ( const PrimalSolutionProto & from)
inline

Definition at line 478 of file solution.pb.h.

◆ PrimalSolutionProto() [4/5]

operations_research::math_opt::PrimalSolutionProto::PrimalSolutionProto ( PrimalSolutionProto && from)
inlinenoexcept

Definition at line 479 of file solution.pb.h.

◆ PrimalSolutionProto() [5/5]

template<typename>
PROTOBUF_CONSTEXPR operations_research::math_opt::PrimalSolutionProto::PrimalSolutionProto ( ::_pbi::ConstantInitialized )

Definition at line 85 of file solution.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

Definition at line 753 of file solution.pb.cc.

◆ auxiliary_objective_values()

const::google::protobuf::Map<::int64_t, double > & operations_research::math_opt::PrimalSolutionProto::auxiliary_objective_values ( ) const
inline

Definition at line 1976 of file solution.pb.h.

◆ auxiliary_objective_values_size()

int operations_research::math_opt::PrimalSolutionProto::auxiliary_objective_values_size ( ) const
inline

Definition at line 1963 of file solution.pb.h.

◆ ByteSizeLong()

size_t operations_research::math_opt::PrimalSolutionProto::ByteSizeLong ( ) const
final

Definition at line 827 of file solution.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::math_opt::PrimalSolutionProto::Clear ( )

Definition at line 723 of file solution.pb.cc.

◆ clear_auxiliary_objective_values()

void operations_research::math_opt::PrimalSolutionProto::clear_auxiliary_objective_values ( )
inline

Definition at line 1966 of file solution.pb.h.

◆ clear_feasibility_status()

void operations_research::math_opt::PrimalSolutionProto::clear_feasibility_status ( )
inline

Definition at line 1992 of file solution.pb.h.

◆ clear_objective_value()

void operations_research::math_opt::PrimalSolutionProto::clear_objective_value ( )
inline

Definition at line 1935 of file solution.pb.h.

◆ clear_variable_values()

void operations_research::math_opt::PrimalSolutionProto::clear_variable_values ( )

Definition at line 536 of file solution.pb.cc.

◆ CopyFrom()

void operations_research::math_opt::PrimalSolutionProto::CopyFrom ( const PrimalSolutionProto & from)

Definition at line 916 of file solution.pb.cc.

◆ default_instance()

const PrimalSolutionProto & operations_research::math_opt::PrimalSolutionProto::default_instance ( )
inlinestatic

Definition at line 513 of file solution.pb.h.

◆ descriptor()

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

Definition at line 504 of file solution.pb.h.

◆ feasibility_status()

operations_research::math_opt::SolutionStatusProto operations_research::math_opt::PrimalSolutionProto::feasibility_status ( ) const
inline

Definition at line 1998 of file solution.pb.h.

◆ GetCachedSize()

int operations_research::math_opt::PrimalSolutionProto::GetCachedSize ( ) const
inline

Definition at line 572 of file solution.pb.h.

◆ GetDescriptor()

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

Definition at line 507 of file solution.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::math_opt::PrimalSolutionProto::GetMetadata ( ) const

Definition at line 937 of file solution.pb.cc.

◆ GetReflection()

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

Definition at line 510 of file solution.pb.h.

◆ has_variable_values()

bool operations_research::math_opt::PrimalSolutionProto::has_variable_values ( ) const
inline

Definition at line 1842 of file solution.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::math_opt::PrimalSolutionProto::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 637 of file solution.pb.cc.

◆ IsInitialized()

bool operations_research::math_opt::PrimalSolutionProto::IsInitialized ( ) const
inline

Definition at line 548 of file solution.pb.h.

◆ MergeFrom()

void operations_research::math_opt::PrimalSolutionProto::MergeFrom ( const PrimalSolutionProto & from)
inline

Definition at line 541 of file solution.pb.h.

◆ mutable_auxiliary_objective_values()

google::protobuf::Map<::int64_t, double > *PROTOBUF_NONNULL operations_research::math_opt::PrimalSolutionProto::mutable_auxiliary_objective_values ( )
inline

Definition at line 1984 of file solution.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::math_opt::PrimalSolutionProto::mutable_unknown_fields ( )
inline

Definition at line 499 of file solution.pb.h.

◆ mutable_variable_values()

operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL operations_research::math_opt::PrimalSolutionProto::mutable_variable_values ( )
inline

Definition at line 1906 of file solution.pb.h.

◆ New()

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

Definition at line 535 of file solution.pb.h.

◆ objective_value()

double operations_research::math_opt::PrimalSolutionProto::objective_value ( ) const
inline

Definition at line 1941 of file solution.pb.h.

◆ operator=() [1/2]

PrimalSolutionProto & operations_research::math_opt::PrimalSolutionProto::operator= ( const PrimalSolutionProto & from)
inline

Definition at line 481 of file solution.pb.h.

◆ operator=() [2/2]

PrimalSolutionProto & operations_research::math_opt::PrimalSolutionProto::operator= ( PrimalSolutionProto && from)
inlinenoexcept

Definition at line 485 of file solution.pb.h.

◆ release_variable_values()

operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE operations_research::math_opt::PrimalSolutionProto::release_variable_values ( )
inlinenodiscard

Definition at line 1870 of file solution.pb.h.

◆ set_allocated_variable_values()

void operations_research::math_opt::PrimalSolutionProto::set_allocated_variable_values ( ::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
inline

Definition at line 1913 of file solution.pb.h.

◆ set_feasibility_status()

void operations_research::math_opt::PrimalSolutionProto::set_feasibility_status ( ::operations_research::math_opt::SolutionStatusProto value)
inline

Definition at line 2002 of file solution.pb.h.

◆ set_objective_value()

void operations_research::math_opt::PrimalSolutionProto::set_objective_value ( double value)
inline

Definition at line 1945 of file solution.pb.h.

◆ Swap()

void operations_research::math_opt::PrimalSolutionProto::Swap ( PrimalSolutionProto *PROTOBUF_NONNULL other)
inline

Definition at line 519 of file solution.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::math_opt::PrimalSolutionProto::unknown_fields ( ) const
inline

Definition at line 495 of file solution.pb.h.

◆ unsafe_arena_release_variable_values()

operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE operations_research::math_opt::PrimalSolutionProto::unsafe_arena_release_variable_values ( )
inline

Definition at line 1889 of file solution.pb.h.

◆ unsafe_arena_set_allocated_variable_values()

void operations_research::math_opt::PrimalSolutionProto::unsafe_arena_set_allocated_variable_values ( ::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
inline

Definition at line 1856 of file solution.pb.h.

◆ UnsafeArenaSwap()

void operations_research::math_opt::PrimalSolutionProto::UnsafeArenaSwap ( PrimalSolutionProto *PROTOBUF_NONNULL other)
inline

Definition at line 527 of file solution.pb.h.

◆ variable_values()

const::operations_research::math_opt::SparseDoubleVectorProto & operations_research::math_opt::PrimalSolutionProto::variable_values ( ) const
inline

Definition at line 1852 of file solution.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 669 of file solution.pb.h.

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

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

Definition at line 671 of file solution.pb.h.

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

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

Definition at line 662 of file solution.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 668 of file solution.pb.h.

◆ ::TableStruct_ortools_2fmath_5fopt_2fsolution_2eproto

friend struct ::TableStruct_ortools_2fmath_5fopt_2fsolution_2eproto
friend

Definition at line 695 of file solution.pb.h.

◆ swap

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

Definition at line 518 of file solution.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::PrimalSolutionProto::_impl_

Definition at line 694 of file solution.pb.h.

◆ kIndexInFileMessages

int operations_research::math_opt::PrimalSolutionProto::kIndexInFileMessages = 1
staticconstexpr

Definition at line 517 of file solution.pb.h.


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