Google OR-Tools: operations_research::MPSolutionResponse Class Reference

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

#include <linear_solver.pb.h>

Public Member Functions

 MPSolutionResponse ()
 ~MPSolutionResponse () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR MPSolutionResponse (::google::protobuf::internal::ConstantInitialized)
 MPSolutionResponse (const MPSolutionResponse &from)
 MPSolutionResponse (MPSolutionResponse &&from) noexcept
MPSolutionResponseoperator= (const MPSolutionResponse &from)
MPSolutionResponseoperator= (MPSolutionResponse &&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 (MPSolutionResponse *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (MPSolutionResponse *PROTOBUF_NONNULL other)
MPSolutionResponse *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const MPSolutionResponse &from)
void MergeFrom (const MPSolutionResponse &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 variable_value_size () const
void clear_variable_value ()
double variable_value (int index) const
void set_variable_value (int index, double value)
void add_variable_value (double value)
const ::google::protobuf::RepeatedField< double > & variable_value () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_variable_value ()
int dual_value_size () const
void clear_dual_value ()
double dual_value (int index) const
void set_dual_value (int index, double value)
void add_dual_value (double value)
const ::google::protobuf::RepeatedField< double > & dual_value () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_dual_value ()
int reduced_cost_size () const
void clear_reduced_cost ()
double reduced_cost (int index) const
void set_reduced_cost (int index, double value)
void add_reduced_cost (double value)
const ::google::protobuf::RepeatedField< double > & reduced_cost () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_reduced_cost ()
int additional_solutions_size () const
void clear_additional_solutions ()
::operations_research::MPSolution *PROTOBUF_NONNULL mutable_additional_solutions (int index)
::google::protobuf::RepeatedPtrField<::operations_research::MPSolution > *PROTOBUF_NONNULL mutable_additional_solutions ()
const ::operations_research::MPSolutionadditional_solutions (int index) const
::operations_research::MPSolution *PROTOBUF_NONNULL add_additional_solutions ()
const ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution > & additional_solutions () const
bool has_status_str () const
void clear_status_str ()
const ::std::string & status_str () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_status_str (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_status_str ()
::std::string *PROTOBUF_NULLABLE release_status_str ()
void set_allocated_status_str (::std::string *PROTOBUF_NULLABLE value)
bool has_solver_specific_info () const
void clear_solver_specific_info ()
const ::std::string & solver_specific_info () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_solver_specific_info (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_solver_specific_info ()
::std::string *PROTOBUF_NULLABLE release_solver_specific_info ()
void set_allocated_solver_specific_info (::std::string *PROTOBUF_NULLABLE value)
bool has_solve_info () const
void clear_solve_info ()
const ::operations_research::MPSolveInfosolve_info () const
::operations_research::MPSolveInfo *PROTOBUF_NULLABLE release_solve_info ()
::operations_research::MPSolveInfo *PROTOBUF_NONNULL mutable_solve_info ()
void set_allocated_solve_info (::operations_research::MPSolveInfo *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_solve_info (::operations_research::MPSolveInfo *PROTOBUF_NULLABLE value)
::operations_research::MPSolveInfo *PROTOBUF_NULLABLE unsafe_arena_release_solve_info ()
bool has_objective_value () const
void clear_objective_value ()
double objective_value () const
void set_objective_value (double value)
bool has_best_objective_bound () const
void clear_best_objective_bound ()
double best_objective_bound () const
void set_best_objective_bound (double value)
bool has_status () const
void clear_status ()
::operations_research::MPSolverResponseStatus status () const
void set_status (::operations_research::MPSolverResponseStatus value)
template<typename>
PROTOBUF_CONSTEXPR MPSolutionResponse (::_pbi::ConstantInitialized)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_status_str (Arg_ &&arg, Args_... args)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_solver_specific_info (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 MPSolutionResponsedefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 21

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

◆ anonymous enum

Enumerator
kVariableValueFieldNumber 
kDualValueFieldNumber 
kReducedCostFieldNumber 
kAdditionalSolutionsFieldNumber 
kStatusStrFieldNumber 
kSolverSpecificInfoFieldNumber 
kSolveInfoFieldNumber 
kObjectiveValueFieldNumber 
kBestObjectiveBoundFieldNumber 
kStatusFieldNumber 

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

operations_research::MPSolutionResponse::MPSolutionResponse ( )
inline

◆ ~MPSolutionResponse()

operations_research::MPSolutionResponse::~MPSolutionResponse ( )

◆ MPSolutionResponse() [2/5]

template<typename = void>

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

◆ MPSolutionResponse() [3/5]

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

◆ MPSolutionResponse() [4/5]

operations_research::MPSolutionResponse::MPSolutionResponse ( MPSolutionResponse && from)
inlinenoexcept

◆ MPSolutionResponse() [5/5]

template<typename>

PROTOBUF_CONSTEXPR operations_research::MPSolutionResponse::MPSolutionResponse ( ::_pbi::ConstantInitialized )

◆ _InternalSerialize()

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

◆ add_additional_solutions()

◆ add_dual_value()

void operations_research::MPSolutionResponse::add_dual_value ( double value)
inline

◆ add_reduced_cost()

void operations_research::MPSolutionResponse::add_reduced_cost ( double value)
inline

◆ add_variable_value()

void operations_research::MPSolutionResponse::add_variable_value ( double value)
inline

◆ additional_solutions() [1/2]

◆ additional_solutions() [2/2]

const::operations_research::MPSolution & operations_research::MPSolutionResponse::additional_solutions ( int index) const
inline

◆ additional_solutions_size()

int operations_research::MPSolutionResponse::additional_solutions_size ( ) const
inline

◆ best_objective_bound()

double operations_research::MPSolutionResponse::best_objective_bound ( ) const
inline

◆ ByteSizeLong()

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPSolutionResponse::Clear ( )

◆ clear_additional_solutions()

void operations_research::MPSolutionResponse::clear_additional_solutions ( )
inline

◆ clear_best_objective_bound()

void operations_research::MPSolutionResponse::clear_best_objective_bound ( )
inline

◆ clear_dual_value()

void operations_research::MPSolutionResponse::clear_dual_value ( )
inline

◆ clear_objective_value()

void operations_research::MPSolutionResponse::clear_objective_value ( )
inline

◆ clear_reduced_cost()

void operations_research::MPSolutionResponse::clear_reduced_cost ( )
inline

◆ clear_solve_info()

void operations_research::MPSolutionResponse::clear_solve_info ( )
inline

◆ clear_solver_specific_info()

void operations_research::MPSolutionResponse::clear_solver_specific_info ( )
inline

◆ clear_status()

void operations_research::MPSolutionResponse::clear_status ( )
inline

◆ clear_status_str()

void operations_research::MPSolutionResponse::clear_status_str ( )
inline

◆ clear_variable_value()

void operations_research::MPSolutionResponse::clear_variable_value ( )
inline

◆ CopyFrom()

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

◆ default_instance()

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

◆ descriptor()

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

◆ dual_value() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::MPSolutionResponse::dual_value ( ) const
inline

◆ dual_value() [2/2]

double operations_research::MPSolutionResponse::dual_value ( int index) const
inline

◆ dual_value_size()

int operations_research::MPSolutionResponse::dual_value_size ( ) const
inline

◆ GetCachedSize()

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

◆ GetDescriptor()

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

◆ GetMetadata()

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

◆ GetReflection()

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

◆ has_best_objective_bound()

bool operations_research::MPSolutionResponse::has_best_objective_bound ( ) const
inline

◆ has_objective_value()

bool operations_research::MPSolutionResponse::has_objective_value ( ) const
inline

◆ has_solve_info()

bool operations_research::MPSolutionResponse::has_solve_info ( ) const
inline

◆ has_solver_specific_info()

bool operations_research::MPSolutionResponse::has_solver_specific_info ( ) const
inline

◆ has_status()

bool operations_research::MPSolutionResponse::has_status ( ) const
inline

◆ has_status_str()

bool operations_research::MPSolutionResponse::has_status_str ( ) const
inline

◆ InternalGenerateClassData_()

auto operations_research::MPSolutionResponse::InternalGenerateClassData_ ( )
staticconstexpr

◆ IsInitialized()

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

◆ MergeFrom()

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

◆ mutable_additional_solutions() [1/2]

google::protobuf::RepeatedPtrField<::operations_research::MPSolution > *PROTOBUF_NONNULL operations_research::MPSolutionResponse::mutable_additional_solutions ( )
inline

◆ mutable_additional_solutions() [2/2]

◆ mutable_dual_value()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::MPSolutionResponse::mutable_dual_value ( )
inline

◆ mutable_reduced_cost()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::MPSolutionResponse::mutable_reduced_cost ( )
inline

◆ mutable_solve_info()

◆ mutable_solver_specific_info()

std::string *PROTOBUF_NONNULL operations_research::MPSolutionResponse::mutable_solver_specific_info ( )
inline

◆ mutable_status_str()

std::string *PROTOBUF_NONNULL operations_research::MPSolutionResponse::mutable_status_str ( )
inline

◆ mutable_unknown_fields()

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

◆ mutable_variable_value()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::MPSolutionResponse::mutable_variable_value ( )
inline

◆ New()

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

◆ objective_value()

double operations_research::MPSolutionResponse::objective_value ( ) const
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ reduced_cost() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::MPSolutionResponse::reduced_cost ( ) const
inline

◆ reduced_cost() [2/2]

double operations_research::MPSolutionResponse::reduced_cost ( int index) const
inline

◆ reduced_cost_size()

int operations_research::MPSolutionResponse::reduced_cost_size ( ) const
inline

◆ release_solve_info()

◆ release_solver_specific_info()

std::string *PROTOBUF_NULLABLE operations_research::MPSolutionResponse::release_solver_specific_info ( )
inlinenodiscard

◆ release_status_str()

std::string *PROTOBUF_NULLABLE operations_research::MPSolutionResponse::release_status_str ( )
inlinenodiscard

◆ set_allocated_solve_info()

◆ set_allocated_solver_specific_info()

void operations_research::MPSolutionResponse::set_allocated_solver_specific_info ( ::std::string *PROTOBUF_NULLABLE value)
inline

◆ set_allocated_status_str()

void operations_research::MPSolutionResponse::set_allocated_status_str ( ::std::string *PROTOBUF_NULLABLE value)
inline

◆ set_best_objective_bound()

void operations_research::MPSolutionResponse::set_best_objective_bound ( double value)
inline

◆ set_dual_value()

void operations_research::MPSolutionResponse::set_dual_value ( int index,
double value )
inline

◆ set_objective_value()

void operations_research::MPSolutionResponse::set_objective_value ( double value)
inline

◆ set_reduced_cost()

void operations_research::MPSolutionResponse::set_reduced_cost ( int index,
double value )
inline

◆ set_solver_specific_info() [1/2]

template<typename Arg_, typename... Args_>

PROTOBUF_ALWAYS_INLINE void operations_research::MPSolutionResponse::set_solver_specific_info ( Arg_ && arg,
Args_... args )

◆ set_solver_specific_info() [2/2]

template<typename Arg_ = const ::std::string&, typename... Args_>

void operations_research::MPSolutionResponse::set_solver_specific_info ( Arg_ && arg,
Args_... args )

◆ set_status()

◆ set_status_str() [1/2]

template<typename Arg_, typename... Args_>

PROTOBUF_ALWAYS_INLINE void operations_research::MPSolutionResponse::set_status_str ( Arg_ && arg,
Args_... args )

◆ set_status_str() [2/2]

template<typename Arg_ = const ::std::string&, typename... Args_>

void operations_research::MPSolutionResponse::set_status_str ( Arg_ && arg,
Args_... args )

◆ set_variable_value()

void operations_research::MPSolutionResponse::set_variable_value ( int index,
double value )
inline

◆ solve_info()

const::operations_research::MPSolveInfo & operations_research::MPSolutionResponse::solve_info ( ) const
inline

◆ solver_specific_info()

const::std::string & operations_research::MPSolutionResponse::solver_specific_info ( ) const
inline

◆ status()

◆ status_str()

const::std::string & operations_research::MPSolutionResponse::status_str ( ) const
inline

◆ Swap()

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

◆ unknown_fields()

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

◆ unsafe_arena_release_solve_info()

◆ unsafe_arena_set_allocated_solve_info()

◆ UnsafeArenaSwap()

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

◆ variable_value() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::MPSolutionResponse::variable_value ( ) const
inline

◆ variable_value() [2/2]

double operations_research::MPSolutionResponse::variable_value ( int index) const
inline

◆ variable_value_size()

int operations_research::MPSolutionResponse::variable_value_size ( ) const
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 ( MPSolutionResponse & a,
MPSolutionResponse & b )
friend

◆ _impl_

Impl_ operations_research::MPSolutionResponse::_impl_

◆ kIndexInFileMessages

int operations_research::MPSolutionResponse::kIndexInFileMessages = 21

staticconstexpr

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