operations_research::MPConstraintProto Class Reference

Detailed Description

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

Public Member Functions

 MPConstraintProto ()
 
virtual ~MPConstraintProto ()
 
 MPConstraintProto (const MPConstraintProto &from)
 
 MPConstraintProto (MPConstraintProto &&from) noexcept
 
MPConstraintProtooperator= (const MPConstraintProto &from)
 
MPConstraintProtooperator= (MPConstraintProto &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (MPConstraintProto *other)
 
MPConstraintProtoNew () const final
 
MPConstraintProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
 
void CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void MergeFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void CopyFrom (const MPConstraintProto &from)
 
void MergeFrom (const MPConstraintProto &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
bool MergePartialFromCodedStream (::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
 
void SerializeWithCachedSizes (::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
 
::PROTOBUF_NAMESPACE_ID::uint8 * InternalSerializeWithCachedSizesToArray (::PROTOBUF_NAMESPACE_ID::uint8 *target) const final
 
int GetCachedSize () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
int var_index_size () const
 
void clear_var_index ()
 
::PROTOBUF_NAMESPACE_ID::int32 var_index (int index) const
 
void set_var_index (int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
 
void add_var_index (::PROTOBUF_NAMESPACE_ID::int32 value)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & var_index () const
 
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_var_index ()
 
int coefficient_size () const
 
void clear_coefficient ()
 
double coefficient (int index) const
 
void set_coefficient (int index, double value)
 
void add_coefficient (double value)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & coefficient () const
 
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_coefficient ()
 
bool has_name () const
 
void clear_name ()
 
const std::string & name () const
 
void set_name (const std::string &value)
 
void set_name (std::string &&value)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
std::string * mutable_name ()
 
std::string * release_name ()
 
void set_allocated_name (std::string *name)
 
bool has_is_lazy () const
 
void clear_is_lazy ()
 
bool is_lazy () const
 
void set_is_lazy (bool 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)
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const MPConstraintProtodefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const MPConstraintProtointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const int kVarIndexFieldNumber = 6
 
static const int kCoefficientFieldNumber = 7
 
static const int kNameFieldNumber = 4
 
static const int kIsLazyFieldNumber = 5
 
static const int kLowerBoundFieldNumber = 2
 
static const int kUpperBoundFieldNumber = 3
 

Friends

class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
 
void swap (MPConstraintProto &a, MPConstraintProto &b)
 

Constructor & Destructor Documentation

◆ MPConstraintProto() [1/3]

operations_research::MPConstraintProto::MPConstraintProto ( )

◆ ~MPConstraintProto()

virtual operations_research::MPConstraintProto::~MPConstraintProto ( )
virtual

◆ MPConstraintProto() [2/3]

operations_research::MPConstraintProto::MPConstraintProto ( const MPConstraintProto from)

◆ MPConstraintProto() [3/3]

operations_research::MPConstraintProto::MPConstraintProto ( MPConstraintProto &&  from)
inlinenoexcept

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

Member Function Documentation

◆ add_coefficient()

void operations_research::MPConstraintProto::add_coefficient ( double  value)
inline

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

◆ add_var_index()

void operations_research::MPConstraintProto::add_var_index ( ::PROTOBUF_NAMESPACE_ID::int32  value)
inline

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

◆ ByteSizeLong()

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

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void operations_research::MPConstraintProto::Clear ( )
final

◆ clear_coefficient()

void operations_research::MPConstraintProto::clear_coefficient ( )
inline

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

◆ clear_is_lazy()

void operations_research::MPConstraintProto::clear_is_lazy ( )
inline

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

◆ clear_lower_bound()

void operations_research::MPConstraintProto::clear_lower_bound ( )
inline

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

◆ clear_name()

void operations_research::MPConstraintProto::clear_name ( )
inline

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

◆ clear_upper_bound()

void operations_research::MPConstraintProto::clear_upper_bound ( )
inline

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

◆ clear_var_index()

void operations_research::MPConstraintProto::clear_var_index ( )
inline

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

◆ coefficient() [1/2]

double operations_research::MPConstraintProto::coefficient ( int  index) const
inline

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

◆ coefficient() [2/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & operations_research::MPConstraintProto::coefficient ( ) const
inline

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

◆ coefficient_size()

int operations_research::MPConstraintProto::coefficient_size ( ) const
inline

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

◆ CopyFrom() [1/2]

void operations_research::MPConstraintProto::CopyFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ CopyFrom() [2/2]

void operations_research::MPConstraintProto::CopyFrom ( const MPConstraintProto from)

◆ default_instance()

static const MPConstraintProto& operations_research::MPConstraintProto::default_instance ( )
static

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* operations_research::MPConstraintProto::descriptor ( )
inlinestatic

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

◆ GetCachedSize()

int operations_research::MPConstraintProto::GetCachedSize ( ) const
inlinefinal

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

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* operations_research::MPConstraintProto::GetDescriptor ( )
inlinestatic

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

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata operations_research::MPConstraintProto::GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* operations_research::MPConstraintProto::GetReflection ( )
inlinestatic

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

◆ has_is_lazy()

bool operations_research::MPConstraintProto::has_is_lazy ( ) const
inline

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

◆ has_lower_bound()

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

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

◆ has_name()

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

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

◆ has_upper_bound()

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

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

◆ InitAsDefaultInstance()

static void operations_research::MPConstraintProto::InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const MPConstraintProto* operations_research::MPConstraintProto::internal_default_instance ( )
inlinestatic

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

◆ InternalSerializeWithCachedSizesToArray()

::PROTOBUF_NAMESPACE_ID::uint8* operations_research::MPConstraintProto::InternalSerializeWithCachedSizesToArray ( ::PROTOBUF_NAMESPACE_ID::uint8 *  target) const
final

◆ is_lazy()

bool operations_research::MPConstraintProto::is_lazy ( ) const
inline

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

◆ IsInitialized()

bool operations_research::MPConstraintProto::IsInitialized ( ) const
final

◆ lower_bound()

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

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

◆ MergeFrom() [1/2]

void operations_research::MPConstraintProto::MergeFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ MergeFrom() [2/2]

void operations_research::MPConstraintProto::MergeFrom ( const MPConstraintProto from)

◆ MergePartialFromCodedStream()

bool operations_research::MPConstraintProto::MergePartialFromCodedStream ( ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *  input)
final

◆ mutable_coefficient()

PROTOBUF_NAMESPACE_ID::RepeatedField< double > * operations_research::MPConstraintProto::mutable_coefficient ( )
inline

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

◆ mutable_name()

std::string * operations_research::MPConstraintProto::mutable_name ( )
inline

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

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* operations_research::MPConstraintProto::mutable_unknown_fields ( )
inline

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

◆ mutable_var_index()

PROTOBUF_NAMESPACE_ID::RepeatedField<::PROTOBUF_NAMESPACE_ID::int32 > * operations_research::MPConstraintProto::mutable_var_index ( )
inline

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

◆ name()

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

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

◆ New() [1/2]

MPConstraintProto* operations_research::MPConstraintProto::New ( ) const
inlinefinal

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

◆ New() [2/2]

MPConstraintProto* operations_research::MPConstraintProto::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena) const
inlinefinal

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ release_name()

std::string * operations_research::MPConstraintProto::release_name ( )
inline

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

◆ SerializeWithCachedSizes()

void operations_research::MPConstraintProto::SerializeWithCachedSizes ( ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *  output) const
final

◆ set_allocated_name()

void operations_research::MPConstraintProto::set_allocated_name ( std::string *  name)
inline

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

◆ set_coefficient()

void operations_research::MPConstraintProto::set_coefficient ( int  index,
double  value 
)
inline

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

◆ set_is_lazy()

void operations_research::MPConstraintProto::set_is_lazy ( bool  value)
inline

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

◆ set_lower_bound()

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

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

◆ set_name() [1/4]

void operations_research::MPConstraintProto::set_name ( const std::string &  value)
inline

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

◆ set_name() [2/4]

void operations_research::MPConstraintProto::set_name ( std::string &&  value)
inline

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

◆ set_name() [3/4]

void operations_research::MPConstraintProto::set_name ( const char *  value)
inline

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

◆ set_name() [4/4]

void operations_research::MPConstraintProto::set_name ( const char *  value,
size_t  size 
)
inline

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

◆ set_upper_bound()

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

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

◆ set_var_index()

void operations_research::MPConstraintProto::set_var_index ( int  index,
::PROTOBUF_NAMESPACE_ID::int32  value 
)
inline

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

◆ Swap()

void operations_research::MPConstraintProto::Swap ( MPConstraintProto other)

◆ unknown_fields()

const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& operations_research::MPConstraintProto::unknown_fields ( ) const
inline

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

◆ upper_bound()

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

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

◆ var_index() [1/2]

PROTOBUF_NAMESPACE_ID::int32 operations_research::MPConstraintProto::var_index ( int  index) const
inline

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

◆ var_index() [2/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::PROTOBUF_NAMESPACE_ID::int32 > & operations_research::MPConstraintProto::var_index ( ) const
inline

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

◆ var_index_size()

int operations_research::MPConstraintProto::var_index_size ( ) const
inline

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

Friends And Related Function Documentation

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
friend

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

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

◆ swap

void swap ( MPConstraintProto a,
MPConstraintProto b 
)
friend

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

Member Data Documentation

◆ kCoefficientFieldNumber

const int operations_research::MPConstraintProto::kCoefficientFieldNumber = 7
static

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

◆ kIndexInFileMessages

constexpr int operations_research::MPConstraintProto::kIndexInFileMessages
static
Initial value:
=
1

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

◆ kIsLazyFieldNumber

const int operations_research::MPConstraintProto::kIsLazyFieldNumber = 5
static

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

◆ kLowerBoundFieldNumber

const int operations_research::MPConstraintProto::kLowerBoundFieldNumber = 2
static

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

◆ kNameFieldNumber

const int operations_research::MPConstraintProto::kNameFieldNumber = 4
static

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

◆ kUpperBoundFieldNumber

const int operations_research::MPConstraintProto::kUpperBoundFieldNumber = 3
static

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

◆ kVarIndexFieldNumber

const int operations_research::MPConstraintProto::kVarIndexFieldNumber = 6
static

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


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