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

Detailed Description

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

#include <linear_solver.pb.h>

Inheritance diagram for operations_research::MPQuadraticObjective:

Classes

class  _Internal

Public Types

enum  : int { kQvar1IndexFieldNumber = 1 , kQvar2IndexFieldNumber = 2 , kCoefficientFieldNumber = 3 }
 nested types -------------------------------------------------— More...

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
 implements Message -------------------------------------------—
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
 repeated int32 qvar1_index = 1;
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
 repeated int32 qvar2_index = 2;
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
 repeated double coefficient = 3;
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

Protected Member Functions

 MPQuadraticObjective (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 MPQuadraticObjective (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const MPQuadraticObjective &from)
 MPQuadraticObjective (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, MPQuadraticObjective &&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_2flinear_5fsolver_2flinear_5fsolver_2eproto
void swap (MPQuadraticObjective &a, MPQuadraticObjective &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kQvar1IndexFieldNumber 
kQvar2IndexFieldNumber 
kCoefficientFieldNumber 

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

Constructor & Destructor Documentation

◆ MPQuadraticObjective() [1/8]

operations_research::MPQuadraticObjective::MPQuadraticObjective ( )
inline

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

◆ ~MPQuadraticObjective()

operations_research::MPQuadraticObjective::~MPQuadraticObjective ( )

@protoc_insertion_point(destructor:operations_research.MPQuadraticObjective)

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

◆ MPQuadraticObjective() [2/8]

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

◆ MPQuadraticObjective() [3/8]

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

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

◆ MPQuadraticObjective() [4/8]

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

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

◆ MPQuadraticObjective() [5/8]

operations_research::MPQuadraticObjective::MPQuadraticObjective ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.MPQuadraticObjective)

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

◆ MPQuadraticObjective() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.MPQuadraticObjective)

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

◆ MPQuadraticObjective() [7/8]

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

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

◆ MPQuadraticObjective() [8/8]

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

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

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.MPQuadraticObjective)

repeated int32 qvar1_index = 1;

repeated int32 qvar2_index = 2;

repeated double coefficient = 3;

@protoc_insertion_point(serialize_to_array_end:operations_research.MPQuadraticObjective)

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

◆ add_coefficient()

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

@protoc_insertion_point(field_add:operations_research.MPQuadraticObjective.coefficient)

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

◆ add_qvar1_index()

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

@protoc_insertion_point(field_add:operations_research.MPQuadraticObjective.qvar1_index)

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

◆ add_qvar2_index()

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

@protoc_insertion_point(field_add:operations_research.MPQuadraticObjective.qvar2_index)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.MPQuadraticObjective)

Prevent compiler warnings about cached_has_bits being unused

repeated int32 qvar1_index = 1;

repeated int32 qvar2_index = 2;

repeated double coefficient = 3;

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPQuadraticObjective::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.MPQuadraticObjective)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_coefficient()

void operations_research::MPQuadraticObjective::clear_coefficient ( )
inline

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

◆ clear_qvar1_index()

void operations_research::MPQuadraticObjective::clear_qvar1_index ( )
inline

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

◆ clear_qvar2_index()

void operations_research::MPQuadraticObjective::clear_qvar2_index ( )
inline

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

◆ coefficient() [1/2]

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

@protoc_insertion_point(field_list:operations_research.MPQuadraticObjective.coefficient)

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

◆ coefficient() [2/2]

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

@protoc_insertion_point(field_get:operations_research.MPQuadraticObjective.coefficient)

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

◆ coefficient_size()

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

repeated double coefficient = 3;

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.MPQuadraticObjective)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ InternalGenerateClassData_()

auto operations_research::MPQuadraticObjective::InternalGenerateClassData_ ( )
staticconstexpr

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

◆ InternalNewImpl_()

auto operations_research::MPQuadraticObjective::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_coefficient()

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

@protoc_insertion_point(field_mutable_list:operations_research.MPQuadraticObjective.coefficient)

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

◆ mutable_qvar1_index()

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

@protoc_insertion_point(field_mutable_list:operations_research.MPQuadraticObjective.qvar1_index)

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

◆ mutable_qvar2_index()

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

@protoc_insertion_point(field_mutable_list:operations_research.MPQuadraticObjective.qvar2_index)

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

◆ mutable_unknown_fields()

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

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

◆ New()

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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ qvar1_index() [1/2]

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

@protoc_insertion_point(field_list:operations_research.MPQuadraticObjective.qvar1_index)

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

◆ qvar1_index() [2/2]

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

@protoc_insertion_point(field_get:operations_research.MPQuadraticObjective.qvar1_index)

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

◆ qvar1_index_size()

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

repeated int32 qvar1_index = 1;

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

◆ qvar2_index() [1/2]

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

@protoc_insertion_point(field_list:operations_research.MPQuadraticObjective.qvar2_index)

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

◆ qvar2_index() [2/2]

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

@protoc_insertion_point(field_get:operations_research.MPQuadraticObjective.qvar2_index)

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

◆ qvar2_index_size()

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

repeated int32 qvar2_index = 2;

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

◆ set_coefficient()

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

@protoc_insertion_point(field_set:operations_research.MPQuadraticObjective.coefficient)

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

◆ set_qvar1_index()

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

@protoc_insertion_point(field_set:operations_research.MPQuadraticObjective.qvar1_index)

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

◆ set_qvar2_index()

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

@protoc_insertion_point(field_set:operations_research.MPQuadraticObjective.qvar2_index)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::MPQuadraticObjective::_impl_

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

◆ kIndexInFileMessages

int operations_research::MPQuadraticObjective::kIndexInFileMessages = 9
staticconstexpr

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


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