C++ Reference

C++ Reference: Linear solver

MPSolverCommonParameters

Detailed Description

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

Public Types

enum  : int {
  kRelativeMipGapFieldNumber = 1, kPrimalToleranceFieldNumber = 2, kDualToleranceFieldNumber = 3, kLpAlgorithmFieldNumber = 4,
  kPresolveFieldNumber = 5, kScalingFieldNumber = 7
}
 
typedef MPSolverCommonParameters_LPAlgorithmValues LPAlgorithmValues
 

Public Member Functions

 MPSolverCommonParameters ()
 
virtual ~MPSolverCommonParameters ()
 
 MPSolverCommonParameters (const MPSolverCommonParameters &from)
 
 MPSolverCommonParameters (MPSolverCommonParameters &&from) noexcept
 
MPSolverCommonParametersoperator= (const MPSolverCommonParameters &from)
 
MPSolverCommonParametersoperator= (MPSolverCommonParameters &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (MPSolverCommonParameters *other)
 
MPSolverCommonParametersNew () const final
 
MPSolverCommonParametersNew (::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 MPSolverCommonParameters &from)
 
void MergeFrom (const MPSolverCommonParameters &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize (::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
int GetCachedSize () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_relative_mip_gap () const
 
void clear_relative_mip_gap ()
 
const ::operations_research::OptionalDoublerelative_mip_gap () const
 
::operations_research::OptionalDoublerelease_relative_mip_gap ()
 
::operations_research::OptionalDoublemutable_relative_mip_gap ()
 
void set_allocated_relative_mip_gap (::operations_research::OptionalDouble *relative_mip_gap)
 
bool has_primal_tolerance () const
 
void clear_primal_tolerance ()
 
const ::operations_research::OptionalDoubleprimal_tolerance () const
 
::operations_research::OptionalDoublerelease_primal_tolerance ()
 
::operations_research::OptionalDoublemutable_primal_tolerance ()
 
void set_allocated_primal_tolerance (::operations_research::OptionalDouble *primal_tolerance)
 
bool has_dual_tolerance () const
 
void clear_dual_tolerance ()
 
const ::operations_research::OptionalDoubledual_tolerance () const
 
::operations_research::OptionalDoublerelease_dual_tolerance ()
 
::operations_research::OptionalDoublemutable_dual_tolerance ()
 
void set_allocated_dual_tolerance (::operations_research::OptionalDouble *dual_tolerance)
 
bool has_lp_algorithm () const
 
void clear_lp_algorithm ()
 
::operations_research::MPSolverCommonParameters_LPAlgorithmValues lp_algorithm () const
 
void set_lp_algorithm (::operations_research::MPSolverCommonParameters_LPAlgorithmValues value)
 
bool has_presolve () const
 
void clear_presolve ()
 
::operations_research::OptionalBoolean presolve () const
 
void set_presolve (::operations_research::OptionalBoolean value)
 
bool has_scaling () const
 
void clear_scaling ()
 
::operations_research::OptionalBoolean scaling () const
 
void set_scaling (::operations_research::OptionalBoolean 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 MPSolverCommonParametersdefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const MPSolverCommonParametersinternal_default_instance ()
 
static bool LPAlgorithmValues_IsValid (int value)
 
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LPAlgorithmValues_descriptor ()
 
template<typename T >
static const std::string & LPAlgorithmValues_Name (T enum_t_value)
 
static bool LPAlgorithmValues_Parse (const std::string &name, LPAlgorithmValues *value)
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static constexpr LPAlgorithmValues LP_ALGO_UNSPECIFIED
 
static constexpr LPAlgorithmValues LP_ALGO_DUAL
 
static constexpr LPAlgorithmValues LP_ALGO_PRIMAL
 
static constexpr LPAlgorithmValues LP_ALGO_BARRIER
 
static constexpr LPAlgorithmValues LPAlgorithmValues_MIN
 
static constexpr LPAlgorithmValues LPAlgorithmValues_MAX
 
static constexpr int LPAlgorithmValues_ARRAYSIZE
 

Member Typedef Documentation

◆ LPAlgorithmValues

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kRelativeMipGapFieldNumber 
kPrimalToleranceFieldNumber 
kDualToleranceFieldNumber 
kLpAlgorithmFieldNumber 
kPresolveFieldNumber 
kScalingFieldNumber 

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

Constructor & Destructor Documentation

◆ MPSolverCommonParameters() [1/3]

◆ ~MPSolverCommonParameters()

virtual ~MPSolverCommonParameters ( )
virtual

◆ MPSolverCommonParameters() [2/3]

◆ MPSolverCommonParameters() [3/3]

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

Member Function Documentation

◆ _InternalParse()

const char* _InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize ( ::PROTOBUF_NAMESPACE_ID::uint8 *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_dual_tolerance()

void clear_dual_tolerance ( )
inline

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

◆ clear_lp_algorithm()

void clear_lp_algorithm ( )
inline

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

◆ clear_presolve()

void clear_presolve ( )
inline

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

◆ clear_primal_tolerance()

void clear_primal_tolerance ( )
inline

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

◆ clear_relative_mip_gap()

void clear_relative_mip_gap ( )
inline

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

◆ clear_scaling()

void clear_scaling ( )
inline

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

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const MPSolverCommonParameters from)

◆ default_instance()

static const MPSolverCommonParameters& default_instance ( )
static

◆ descriptor()

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

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

◆ dual_tolerance()

const ::operations_research::OptionalDouble & dual_tolerance ( ) const
inline

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

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

◆ GetReflection()

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

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

◆ has_dual_tolerance()

bool has_dual_tolerance ( ) const
inline

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

◆ has_lp_algorithm()

bool has_lp_algorithm ( ) const
inline

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

◆ has_presolve()

bool has_presolve ( ) const
inline

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

◆ has_primal_tolerance()

bool has_primal_tolerance ( ) const
inline

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

◆ has_relative_mip_gap()

bool has_relative_mip_gap ( ) const
inline

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

◆ has_scaling()

bool has_scaling ( ) const
inline

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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const MPSolverCommonParameters* internal_default_instance ( )
inlinestatic

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

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ lp_algorithm()

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

◆ LPAlgorithmValues_descriptor()

static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LPAlgorithmValues_descriptor ( )
inlinestatic

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

◆ LPAlgorithmValues_IsValid()

static bool LPAlgorithmValues_IsValid ( int  value)
inlinestatic

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

◆ LPAlgorithmValues_Name()

static const std::string& LPAlgorithmValues_Name ( enum_t_value)
inlinestatic

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

◆ LPAlgorithmValues_Parse()

static bool LPAlgorithmValues_Parse ( const std::string &  name,
LPAlgorithmValues value 
)
inlinestatic

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

◆ MergeFrom() [1/2]

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

◆ MergeFrom() [2/2]

void MergeFrom ( const MPSolverCommonParameters from)

◆ mutable_dual_tolerance()

operations_research::OptionalDouble * mutable_dual_tolerance ( )
inline

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

◆ mutable_primal_tolerance()

operations_research::OptionalDouble * mutable_primal_tolerance ( )
inline

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

◆ mutable_relative_mip_gap()

operations_research::OptionalDouble * mutable_relative_mip_gap ( )
inline

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

◆ mutable_unknown_fields()

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

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

◆ New() [1/2]

MPSolverCommonParameters* New ( ) const
inlinefinal

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

◆ New() [2/2]

MPSolverCommonParameters* New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena) const
inlinefinal

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

◆ operator=() [1/2]

MPSolverCommonParameters& operator= ( const MPSolverCommonParameters from)
inline

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

◆ operator=() [2/2]

MPSolverCommonParameters& operator= ( MPSolverCommonParameters &&  from)
inlinenoexcept

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

◆ presolve()

operations_research::OptionalBoolean presolve ( ) const
inline

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

◆ primal_tolerance()

const ::operations_research::OptionalDouble & primal_tolerance ( ) const
inline

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

◆ relative_mip_gap()

const ::operations_research::OptionalDouble & relative_mip_gap ( ) const
inline

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

◆ release_dual_tolerance()

operations_research::OptionalDouble * release_dual_tolerance ( )
inline

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

◆ release_primal_tolerance()

operations_research::OptionalDouble * release_primal_tolerance ( )
inline

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

◆ release_relative_mip_gap()

operations_research::OptionalDouble * release_relative_mip_gap ( )
inline

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

◆ scaling()

operations_research::OptionalBoolean scaling ( ) const
inline

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

◆ set_allocated_dual_tolerance()

void set_allocated_dual_tolerance ( ::operations_research::OptionalDouble dual_tolerance)
inline

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

◆ set_allocated_primal_tolerance()

void set_allocated_primal_tolerance ( ::operations_research::OptionalDouble primal_tolerance)
inline

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

◆ set_allocated_relative_mip_gap()

void set_allocated_relative_mip_gap ( ::operations_research::OptionalDouble relative_mip_gap)
inline

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

◆ set_lp_algorithm()

void set_lp_algorithm ( ::operations_research::MPSolverCommonParameters_LPAlgorithmValues  value)
inline

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

◆ set_presolve()

void set_presolve ( ::operations_research::OptionalBoolean  value)
inline

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

◆ set_scaling()

void set_scaling ( ::operations_research::OptionalBoolean  value)
inline

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

◆ Swap()

void Swap ( MPSolverCommonParameters other)
inline

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

◆ unknown_fields()

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

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

Member Data Documentation

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
13

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

◆ LP_ALGO_BARRIER

constexpr LPAlgorithmValues LP_ALGO_BARRIER
staticconstexpr

◆ LP_ALGO_DUAL

constexpr LPAlgorithmValues LP_ALGO_DUAL
staticconstexpr

◆ LP_ALGO_PRIMAL

constexpr LPAlgorithmValues LP_ALGO_PRIMAL
staticconstexpr

◆ LP_ALGO_UNSPECIFIED

constexpr LPAlgorithmValues LP_ALGO_UNSPECIFIED
staticconstexpr

◆ LPAlgorithmValues_ARRAYSIZE

constexpr int LPAlgorithmValues_ARRAYSIZE
staticconstexpr

◆ LPAlgorithmValues_MAX

constexpr LPAlgorithmValues LPAlgorithmValues_MAX
staticconstexpr

◆ LPAlgorithmValues_MIN

constexpr LPAlgorithmValues LPAlgorithmValues_MIN
staticconstexpr

The documentation for this class was generated from the following file:
constexpr int MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_ARRAYSIZE
constexpr MPSolverCommonParameters_LPAlgorithmValues MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MAX
constexpr MPSolverCommonParameters_LPAlgorithmValues MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MIN