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

Detailed Description

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

#include <solution.pb.h>

Inheritance diagram for operations_research::math_opt::SolutionProto:

Classes

class  _Internal

Public Types

enum  : int { kPrimalSolutionFieldNumber = 1 , kDualSolutionFieldNumber = 2 , kBasisFieldNumber = 3 }
 nested types -------------------------------------------------— More...

Public Member Functions

 SolutionProto ()
 ~SolutionProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR SolutionProto (::google::protobuf::internal::ConstantInitialized)
 SolutionProto (const SolutionProto &from)
 SolutionProto (SolutionProto &&from) noexcept
SolutionProtooperator= (const SolutionProto &from)
SolutionProtooperator= (SolutionProto &&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 (SolutionProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (SolutionProto *PROTOBUF_NONNULL other)
SolutionProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const SolutionProto &from)
void MergeFrom (const SolutionProto &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_primal_solution () const
 optional .operations_research.math_opt.PrimalSolutionProto primal_solution = 1;
void clear_primal_solution ()
const ::operations_research::math_opt::PrimalSolutionProtoprimal_solution () const
::operations_research::math_opt::PrimalSolutionProto *PROTOBUF_NULLABLE release_primal_solution ()
::operations_research::math_opt::PrimalSolutionProto *PROTOBUF_NONNULL mutable_primal_solution ()
void set_allocated_primal_solution (::operations_research::math_opt::PrimalSolutionProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_primal_solution (::operations_research::math_opt::PrimalSolutionProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::PrimalSolutionProto *PROTOBUF_NULLABLE unsafe_arena_release_primal_solution ()
bool has_dual_solution () const
 optional .operations_research.math_opt.DualSolutionProto dual_solution = 2;
void clear_dual_solution ()
const ::operations_research::math_opt::DualSolutionProtodual_solution () const
::operations_research::math_opt::DualSolutionProto *PROTOBUF_NULLABLE release_dual_solution ()
::operations_research::math_opt::DualSolutionProto *PROTOBUF_NONNULL mutable_dual_solution ()
void set_allocated_dual_solution (::operations_research::math_opt::DualSolutionProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_dual_solution (::operations_research::math_opt::DualSolutionProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::DualSolutionProto *PROTOBUF_NULLABLE unsafe_arena_release_dual_solution ()
bool has_basis () const
 optional .operations_research.math_opt.BasisProto basis = 3;
void clear_basis ()
const ::operations_research::math_opt::BasisProtobasis () const
::operations_research::math_opt::BasisProto *PROTOBUF_NULLABLE release_basis ()
::operations_research::math_opt::BasisProto *PROTOBUF_NONNULL mutable_basis ()
void set_allocated_basis (::operations_research::math_opt::BasisProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_basis (::operations_research::math_opt::BasisProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::BasisProto *PROTOBUF_NULLABLE unsafe_arena_release_basis ()
template<typename>
PROTOBUF_CONSTEXPR SolutionProto (::_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 SolutionProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 7

Protected Member Functions

 SolutionProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 SolutionProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const SolutionProto &from)
 SolutionProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, SolutionProto &&from) noexcept
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData () const PROTOBUF_FINAL

Static Protected Member Functions

static void *PROTOBUF_NONNULL PlacementNew_ (const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_ ()

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 (SolutionProto &a, SolutionProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

nested types -------------------------------------------------—

accessors ----------------------------------------------------—

Enumerator
kPrimalSolutionFieldNumber 
kDualSolutionFieldNumber 
kBasisFieldNumber 

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

Constructor & Destructor Documentation

◆ SolutionProto() [1/8]

operations_research::math_opt::SolutionProto::SolutionProto ( )
inline

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

◆ ~SolutionProto()

operations_research::math_opt::SolutionProto::~SolutionProto ( )

@protoc_insertion_point(destructor:operations_research.math_opt.SolutionProto)

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

◆ SolutionProto() [2/8]

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

◆ SolutionProto() [3/8]

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

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

◆ SolutionProto() [4/8]

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

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

◆ SolutionProto() [5/8]

operations_research::math_opt::SolutionProto::SolutionProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolutionProto)

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

◆ SolutionProto() [6/8]

operations_research::math_opt::SolutionProto::SolutionProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
const SolutionProto & from )
protected

@protoc_insertion_point(copy_constructor:operations_research.math_opt.SolutionProto)

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

◆ SolutionProto() [7/8]

operations_research::math_opt::SolutionProto::SolutionProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
SolutionProto && from )
inlineprotectednoexcept

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

◆ SolutionProto() [8/8]

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

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

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SolutionProto)

optional .operations_research.math_opt.PrimalSolutionProto primal_solution = 1;

optional .operations_research.math_opt.DualSolutionProto dual_solution = 2;

optional .operations_research.math_opt.BasisProto basis = 3;

@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolutionProto)

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

◆ basis()

const::operations_research::math_opt::BasisProto & operations_research::math_opt::SolutionProto::basis ( ) const
inline

@protoc_insertion_point(field_get:operations_research.math_opt.SolutionProto.basis)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolutionProto)

Prevent compiler warnings about cached_has_bits being unused

optional .operations_research.math_opt.PrimalSolutionProto primal_solution = 1;

optional .operations_research.math_opt.DualSolutionProto dual_solution = 2;

optional .operations_research.math_opt.BasisProto basis = 3;

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

◆ Clear()

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

@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolutionProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_basis()

void operations_research::math_opt::SolutionProto::clear_basis ( )
inline

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

◆ clear_dual_solution()

void operations_research::math_opt::SolutionProto::clear_dual_solution ( )
inline

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

◆ clear_primal_solution()

void operations_research::math_opt::SolutionProto::clear_primal_solution ( )
inline

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolutionProto)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ dual_solution()

const::operations_research::math_opt::DualSolutionProto & operations_research::math_opt::SolutionProto::dual_solution ( ) const
inline

@protoc_insertion_point(field_get:operations_research.math_opt.SolutionProto.dual_solution)

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

◆ GetCachedSize()

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

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

◆ GetClassData()

PROTOBUF_ATTRIBUTE_WEAKconst::google::protobuf::internal::ClassData *PROTOBUF_NONNULL operations_research::math_opt::SolutionProto::GetClassData ( ) const
protected

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ has_basis()

bool operations_research::math_opt::SolutionProto::has_basis ( ) const
inline

optional .operations_research.math_opt.BasisProto basis = 3;

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

◆ has_dual_solution()

bool operations_research::math_opt::SolutionProto::has_dual_solution ( ) const
inline

optional .operations_research.math_opt.DualSolutionProto dual_solution = 2;

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

◆ has_primal_solution()

bool operations_research::math_opt::SolutionProto::has_primal_solution ( ) const
inline

optional .operations_research.math_opt.PrimalSolutionProto primal_solution = 1;

SolutionProto.

optional .operations_research.math_opt.PrimalSolutionProto primal_solution = 1;

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

◆ InternalGenerateClassData_()

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

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

◆ InternalNewImpl_()

auto operations_research::math_opt::SolutionProto::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_basis()

operations_research::math_opt::BasisProto *PROTOBUF_NONNULL operations_research::math_opt::SolutionProto::mutable_basis ( )
inline

@protoc_insertion_point(field_mutable:operations_research.math_opt.SolutionProto.basis)

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

◆ mutable_dual_solution()

operations_research::math_opt::DualSolutionProto *PROTOBUF_NONNULL operations_research::math_opt::SolutionProto::mutable_dual_solution ( )
inline

@protoc_insertion_point(field_mutable:operations_research.math_opt.SolutionProto.dual_solution)

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

◆ mutable_primal_solution()

operations_research::math_opt::PrimalSolutionProto *PROTOBUF_NONNULL operations_research::math_opt::SolutionProto::mutable_primal_solution ( )
inline

@protoc_insertion_point(field_mutable:operations_research.math_opt.SolutionProto.primal_solution)

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

◆ mutable_unknown_fields()

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

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

◆ New()

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

implements Message -------------------------------------------—

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

void *PROTOBUF_NONNULL operations_research::math_opt::SolutionProto::PlacementNew_ ( const void * PROTOBUF_NONNULL,
void *PROTOBUF_NONNULL mem,
::google::protobuf::Arena *PROTOBUF_NULLABLE arena )
inlinestaticprotected

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

◆ primal_solution()

const::operations_research::math_opt::PrimalSolutionProto & operations_research::math_opt::SolutionProto::primal_solution ( ) const
inline

@protoc_insertion_point(field_get:operations_research.math_opt.SolutionProto.primal_solution)

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

◆ release_basis()

operations_research::math_opt::BasisProto *PROTOBUF_NULLABLE operations_research::math_opt::SolutionProto::release_basis ( )
inlinenodiscard

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

◆ release_dual_solution()

operations_research::math_opt::DualSolutionProto *PROTOBUF_NULLABLE operations_research::math_opt::SolutionProto::release_dual_solution ( )
inlinenodiscard

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

◆ release_primal_solution()

operations_research::math_opt::PrimalSolutionProto *PROTOBUF_NULLABLE operations_research::math_opt::SolutionProto::release_primal_solution ( )
inlinenodiscard

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

◆ set_allocated_basis()

void operations_research::math_opt::SolutionProto::set_allocated_basis ( ::operations_research::math_opt::BasisProto *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolutionProto.basis)

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

◆ set_allocated_dual_solution()

void operations_research::math_opt::SolutionProto::set_allocated_dual_solution ( ::operations_research::math_opt::DualSolutionProto *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolutionProto.dual_solution)

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

◆ set_allocated_primal_solution()

void operations_research::math_opt::SolutionProto::set_allocated_primal_solution ( ::operations_research::math_opt::PrimalSolutionProto *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolutionProto.primal_solution)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ unsafe_arena_release_basis()

operations_research::math_opt::BasisProto *PROTOBUF_NULLABLE operations_research::math_opt::SolutionProto::unsafe_arena_release_basis ( )
inline

@protoc_insertion_point(field_release:operations_research.math_opt.SolutionProto.basis)

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

◆ unsafe_arena_release_dual_solution()

operations_research::math_opt::DualSolutionProto *PROTOBUF_NULLABLE operations_research::math_opt::SolutionProto::unsafe_arena_release_dual_solution ( )
inline

@protoc_insertion_point(field_release:operations_research.math_opt.SolutionProto.dual_solution)

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

◆ unsafe_arena_release_primal_solution()

operations_research::math_opt::PrimalSolutionProto *PROTOBUF_NULLABLE operations_research::math_opt::SolutionProto::unsafe_arena_release_primal_solution ( )
inline

@protoc_insertion_point(field_release:operations_research.math_opt.SolutionProto.primal_solution)

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

◆ unsafe_arena_set_allocated_basis()

void operations_research::math_opt::SolutionProto::unsafe_arena_set_allocated_basis ( ::operations_research::math_opt::BasisProto *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolutionProto.basis)

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

◆ unsafe_arena_set_allocated_dual_solution()

void operations_research::math_opt::SolutionProto::unsafe_arena_set_allocated_dual_solution ( ::operations_research::math_opt::DualSolutionProto *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolutionProto.dual_solution)

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

◆ unsafe_arena_set_allocated_primal_solution()

void operations_research::math_opt::SolutionProto::unsafe_arena_set_allocated_primal_solution ( ::operations_research::math_opt::PrimalSolutionProto *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolutionProto.primal_solution)

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

◆ UnsafeArenaSwap()

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

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fmath_5fopt_2fsolution_2eproto

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SolutionProto::_impl_

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

◆ kIndexInFileMessages

int operations_research::math_opt::SolutionProto::kIndexInFileMessages = 7
staticconstexpr

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


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