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

Detailed Description

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

#include <linear_solver.pb.h>

Inheritance diagram for operations_research::MPVariableProto:

Classes

class  _Internal

Public Types

enum  : int {
  kNameFieldNumber = 5 , kObjectiveCoefficientFieldNumber = 3 , kIsIntegerFieldNumber = 4 , kBranchingPriorityFieldNumber = 6 ,
  kLowerBoundFieldNumber = 1 , kUpperBoundFieldNumber = 2
}

Public Member Functions

 MPVariableProto ()
 ~MPVariableProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR MPVariableProto (::google::protobuf::internal::ConstantInitialized)
 MPVariableProto (const MPVariableProto &from)
 MPVariableProto (MPVariableProto &&from) noexcept
MPVariableProtooperator= (const MPVariableProto &from)
MPVariableProtooperator= (MPVariableProto &&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 (MPVariableProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (MPVariableProto *PROTOBUF_NONNULL other)
MPVariableProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const MPVariableProto &from)
void MergeFrom (const MPVariableProto &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_name () const
void clear_name ()
const ::std::string & name () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_name (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_name ()
::std::string *PROTOBUF_NULLABLE release_name ()
void set_allocated_name (::std::string *PROTOBUF_NULLABLE value)
bool has_objective_coefficient () const
void clear_objective_coefficient ()
double objective_coefficient () const
void set_objective_coefficient (double value)
bool has_is_integer () const
void clear_is_integer ()
bool is_integer () const
void set_is_integer (bool value)
bool has_branching_priority () const
void clear_branching_priority ()
::int32_t branching_priority () const
void set_branching_priority (::int32_t value)
bool has_lower_bound () const
void clear_lower_bound ()
double lower_bound () const
void set_lower_bound (double value)
bool has_upper_bound () const
void clear_upper_bound ()
double upper_bound () const
void set_upper_bound (double value)
template<typename>
PROTOBUF_CONSTEXPR MPVariableProto (::_pbi::ConstantInitialized)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_name (Arg_ &&arg, Args_... args)

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 MPVariableProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 0

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kNameFieldNumber 
kObjectiveCoefficientFieldNumber 
kIsIntegerFieldNumber 
kBranchingPriorityFieldNumber 
kLowerBoundFieldNumber 
kUpperBoundFieldNumber 

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

Constructor & Destructor Documentation

◆ MPVariableProto() [1/5]

operations_research::MPVariableProto::MPVariableProto ( )
inline

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

◆ ~MPVariableProto()

operations_research::MPVariableProto::~MPVariableProto ( )

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

◆ MPVariableProto() [2/5]

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

◆ MPVariableProto() [3/5]

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

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

◆ MPVariableProto() [4/5]

operations_research::MPVariableProto::MPVariableProto ( MPVariableProto && from)
inlinenoexcept

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

◆ MPVariableProto() [5/5]

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

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

Member Function Documentation

◆ _InternalSerialize()

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

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

◆ branching_priority()

int32_t operations_research::MPVariableProto::branching_priority ( ) const
inline

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

◆ ByteSizeLong()

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

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPVariableProto::Clear ( )

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

◆ clear_branching_priority()

void operations_research::MPVariableProto::clear_branching_priority ( )
inline

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

◆ clear_is_integer()

void operations_research::MPVariableProto::clear_is_integer ( )
inline

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

◆ clear_lower_bound()

void operations_research::MPVariableProto::clear_lower_bound ( )
inline

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

◆ clear_name()

void operations_research::MPVariableProto::clear_name ( )
inline

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

◆ clear_objective_coefficient()

void operations_research::MPVariableProto::clear_objective_coefficient ( )
inline

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

◆ clear_upper_bound()

void operations_research::MPVariableProto::clear_upper_bound ( )
inline

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

◆ CopyFrom()

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

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ has_branching_priority()

bool operations_research::MPVariableProto::has_branching_priority ( ) const
inline

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

◆ has_is_integer()

bool operations_research::MPVariableProto::has_is_integer ( ) const
inline

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

◆ has_lower_bound()

bool operations_research::MPVariableProto::has_lower_bound ( ) const
inline

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

◆ has_name()

bool operations_research::MPVariableProto::has_name ( ) const
inline

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

◆ has_objective_coefficient()

bool operations_research::MPVariableProto::has_objective_coefficient ( ) const
inline

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

◆ has_upper_bound()

bool operations_research::MPVariableProto::has_upper_bound ( ) const
inline

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

◆ InternalGenerateClassData_()

auto operations_research::MPVariableProto::InternalGenerateClassData_ ( )
staticconstexpr

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

◆ is_integer()

bool operations_research::MPVariableProto::is_integer ( ) const
inline

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

◆ IsInitialized()

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

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

◆ lower_bound()

double operations_research::MPVariableProto::lower_bound ( ) const
inline

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

◆ MergeFrom()

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

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

◆ mutable_name()

std::string *PROTOBUF_NONNULL operations_research::MPVariableProto::mutable_name ( )
inline

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

◆ mutable_unknown_fields()

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

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

◆ name()

const::std::string & operations_research::MPVariableProto::name ( ) const
inline

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

◆ New()

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

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

◆ objective_coefficient()

double operations_research::MPVariableProto::objective_coefficient ( ) const
inline

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ release_name()

std::string *PROTOBUF_NULLABLE operations_research::MPVariableProto::release_name ( )
inlinenodiscard

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

◆ set_allocated_name()

void operations_research::MPVariableProto::set_allocated_name ( ::std::string *PROTOBUF_NULLABLE value)
inline

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

◆ set_branching_priority()

void operations_research::MPVariableProto::set_branching_priority ( ::int32_t value)
inline

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

◆ set_is_integer()

void operations_research::MPVariableProto::set_is_integer ( bool value)
inline

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

◆ set_lower_bound()

void operations_research::MPVariableProto::set_lower_bound ( double value)
inline

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

◆ set_name() [1/2]

template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void operations_research::MPVariableProto::set_name ( Arg_ && arg,
Args_... args )

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

◆ set_name() [2/2]

template<typename Arg_ = const ::std::string&, typename... Args_>
void operations_research::MPVariableProto::set_name ( Arg_ && arg,
Args_... args )

◆ set_objective_coefficient()

void operations_research::MPVariableProto::set_objective_coefficient ( double value)
inline

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

◆ set_upper_bound()

void operations_research::MPVariableProto::set_upper_bound ( double value)
inline

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ upper_bound()

double operations_research::MPVariableProto::upper_bound ( ) const
inline

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

Definition at line 1012 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 1038 of file linear_solver.pb.h.

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::MPVariableProto::_impl_

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

◆ kIndexInFileMessages

int operations_research::MPVariableProto::kIndexInFileMessages = 0
staticconstexpr

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


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