Google OR-Tools: operations_research::MPQuadraticObjective Class Reference

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

#include <linear_solver.pb.h>

Public Types

enum  : int { kQvar1IndexFieldNumber = 1 , kQvar2IndexFieldNumber = 2 , kCoefficientFieldNumber = 3 }

Public Member Functions

 MPQuadraticObjective ()
 ~MPQuadraticObjective () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR MPQuadraticObjective (::google::protobuf::internal::ConstantInitialized)
 MPQuadraticObjective (const MPQuadraticObjective &from)
 MPQuadraticObjective (MPQuadraticObjective &&from) noexcept
MPQuadraticObjectiveoperator= (const MPQuadraticObjective &from)
MPQuadraticObjectiveoperator= (MPQuadraticObjective &&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 (MPQuadraticObjective *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (MPQuadraticObjective *PROTOBUF_NONNULL other)
MPQuadraticObjective *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const MPQuadraticObjective &from)
void MergeFrom (const MPQuadraticObjective &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 qvar1_index_size () const
void clear_qvar1_index ()
::int32_t qvar1_index (int index) const
void set_qvar1_index (int index, ::int32_t value)
void add_qvar1_index (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & qvar1_index () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_qvar1_index ()
int qvar2_index_size () const
void clear_qvar2_index ()
::int32_t qvar2_index (int index) const
void set_qvar2_index (int index, ::int32_t value)
void add_qvar2_index (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & qvar2_index () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_qvar2_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 ::google::protobuf::RepeatedField< double > & coefficient () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_coefficient ()
template<typename>
PROTOBUF_CONSTEXPR MPQuadraticObjective (::_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 MPQuadraticObjectivedefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 9

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

◆ anonymous enum

Enumerator
kQvar1IndexFieldNumber 
kQvar2IndexFieldNumber 
kCoefficientFieldNumber 

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

operations_research::MPQuadraticObjective::MPQuadraticObjective ( )
inline

◆ ~MPQuadraticObjective()

operations_research::MPQuadraticObjective::~MPQuadraticObjective ( )

◆ MPQuadraticObjective() [2/5]

template<typename = void>

PROTOBUF_CONSTEXPR operations_research::MPQuadraticObjective::MPQuadraticObjective ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ MPQuadraticObjective() [3/5]

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

◆ MPQuadraticObjective() [4/5]

operations_research::MPQuadraticObjective::MPQuadraticObjective ( MPQuadraticObjective && from)
inlinenoexcept

◆ MPQuadraticObjective() [5/5]

template<typename>

PROTOBUF_CONSTEXPR operations_research::MPQuadraticObjective::MPQuadraticObjective ( ::_pbi::ConstantInitialized )

◆ _InternalSerialize()

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

◆ add_coefficient()

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

◆ add_qvar1_index()

void operations_research::MPQuadraticObjective::add_qvar1_index ( ::int32_t value)
inline

◆ add_qvar2_index()

void operations_research::MPQuadraticObjective::add_qvar2_index ( ::int32_t value)
inline

◆ ByteSizeLong()

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPQuadraticObjective::Clear ( )

◆ clear_coefficient()

void operations_research::MPQuadraticObjective::clear_coefficient ( )
inline

◆ clear_qvar1_index()

void operations_research::MPQuadraticObjective::clear_qvar1_index ( )
inline

◆ clear_qvar2_index()

void operations_research::MPQuadraticObjective::clear_qvar2_index ( )
inline

◆ coefficient() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::MPQuadraticObjective::coefficient ( ) const
inline

◆ coefficient() [2/2]

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

◆ coefficient_size()

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

◆ CopyFrom()

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

◆ default_instance()

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

◆ descriptor()

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

◆ GetCachedSize()

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

◆ GetDescriptor()

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

◆ GetMetadata()

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

◆ GetReflection()

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

◆ InternalGenerateClassData_()

auto operations_research::MPQuadraticObjective::InternalGenerateClassData_ ( )
staticconstexpr

◆ IsInitialized()

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

◆ MergeFrom()

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

◆ mutable_coefficient()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::MPQuadraticObjective::mutable_coefficient ( )
inline

◆ mutable_qvar1_index()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::MPQuadraticObjective::mutable_qvar1_index ( )
inline

◆ mutable_qvar2_index()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::MPQuadraticObjective::mutable_qvar2_index ( )
inline

◆ mutable_unknown_fields()

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

◆ New()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ qvar1_index() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::MPQuadraticObjective::qvar1_index ( ) const
inline

◆ qvar1_index() [2/2]

int32_t operations_research::MPQuadraticObjective::qvar1_index ( int index) const
inline

◆ qvar1_index_size()

int operations_research::MPQuadraticObjective::qvar1_index_size ( ) const
inline

◆ qvar2_index() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::MPQuadraticObjective::qvar2_index ( ) const
inline

◆ qvar2_index() [2/2]

int32_t operations_research::MPQuadraticObjective::qvar2_index ( int index) const
inline

◆ qvar2_index_size()

int operations_research::MPQuadraticObjective::qvar2_index_size ( ) const
inline

◆ set_coefficient()

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

◆ set_qvar1_index()

void operations_research::MPQuadraticObjective::set_qvar1_index ( int index,
::int32_t value )
inline

◆ set_qvar2_index()

void operations_research::MPQuadraticObjective::set_qvar2_index ( int index,
::int32_t value )
inline

◆ Swap()

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

◆ unknown_fields()

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

◆ UnsafeArenaSwap()

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

◆ ::google::protobuf::Arena

friend class ::google::protobuf::Arena

friend

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

template<typename T>

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

friend

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

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

friend

◆ ::google::protobuf::MessageLite

friend class ::google::protobuf::MessageLite

friend

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

friend

◆ swap

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

◆ _impl_

Impl_ operations_research::MPQuadraticObjective::_impl_

◆ kIndexInFileMessages

int operations_research::MPQuadraticObjective::kIndexInFileMessages = 9

staticconstexpr

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