4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2fglop_2fparameters_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ortools_2fglop_2fparameters_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3015000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3015008 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_ortools_2fglop_2fparameters_2eproto
38 PROTOBUF_NAMESPACE_OPEN
42 PROTOBUF_NAMESPACE_CLOSE
46 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
48 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
52 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
54 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
61 struct GlopParametersDefaultTypeInternal;
65 PROTOBUF_NAMESPACE_OPEN
66 template<> ::operations_research::glop::GlopParameters* Arena::CreateMaybeMessage<::operations_research::glop::GlopParameters>(Arena*);
67 PROTOBUF_NAMESPACE_CLOSE
86 "Incorrect type passed to function GlopParameters_ScalingAlgorithm_Name.");
87 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
92 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GlopParameters_ScalingAlgorithm>(
110 "Incorrect type passed to function GlopParameters_SolverBehavior_Name.");
111 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
116 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GlopParameters_SolverBehavior>(
134 "Incorrect type passed to function GlopParameters_PricingRule_Name.");
135 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
140 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GlopParameters_PricingRule>(
159 "Incorrect type passed to function GlopParameters_InitialBasisHeuristic_Name.");
160 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
165 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GlopParameters_InitialBasisHeuristic>(
184 "Incorrect type passed to function GlopParameters_CostScalingAlgorithm_Name.");
185 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
190 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GlopParameters_CostScalingAlgorithm>(
196 public ::PROTOBUF_NAMESPACE_ID::Message {
200 explicit constexpr
GlopParameters(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
205 *
this = ::std::move(from);
208 inline GlopParameters&
operator=(
const GlopParameters& from) {
212 inline GlopParameters&
operator=(GlopParameters&& from) noexcept {
213 if (GetArena() == from.GetArena()) {
214 if (
this != &from) InternalSwap(&from);
222 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
225 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
228 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
229 return GetDescriptor();
232 return GetMetadataStatic().descriptor;
235 return GetMetadataStatic().reflection;
238 return *internal_default_instance();
241 return reinterpret_cast<const GlopParameters*
>(
244 static constexpr
int kIndexInFileMessages =
247 friend void swap(GlopParameters&
a, GlopParameters&
b) {
250 inline void Swap(GlopParameters* other) {
251 if (other ==
this)
return;
252 if (GetArena() == other->GetArena()) {
255 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
259 if (other ==
this)
return;
260 GOOGLE_DCHECK(GetArena() == other->GetArena());
266 inline GlopParameters*
New() const final {
267 return CreateMaybeMessage<GlopParameters>(
nullptr);
270 GlopParameters*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
271 return CreateMaybeMessage<GlopParameters>(arena);
273 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
274 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
277 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
278 bool IsInitialized() const final;
280 size_t ByteSizeLong() const final;
281 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
282 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
283 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
284 int GetCachedSize() const final {
return _cached_size_.Get(); }
287 inline void SharedCtor();
288 inline void SharedDtor();
289 void SetCachedSize(
int size)
const final;
290 void InternalSwap(GlopParameters* other);
291 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
292 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
293 return "operations_research.glop.GlopParameters";
298 static void ArenaDtor(
void*
object);
299 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
304 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
326 static constexpr
int ScalingAlgorithm_ARRAYSIZE =
328 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
336 "Incorrect type passed to function ScalingAlgorithm_Name.");
358 static constexpr
int SolverBehavior_ARRAYSIZE =
360 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
368 "Incorrect type passed to function SolverBehavior_Name.");
390 static constexpr
int PricingRule_ARRAYSIZE =
392 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
400 "Incorrect type passed to function PricingRule_Name.");
424 static constexpr
int InitialBasisHeuristic_ARRAYSIZE =
426 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
434 "Incorrect type passed to function InitialBasisHeuristic_Name.");
458 static constexpr
int CostScalingAlgorithm_ARRAYSIZE =
460 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
468 "Incorrect type passed to function CostScalingAlgorithm_Name.");
479 kUseDualSimplexFieldNumber = 31,
480 kAllowSimplexAlgorithmChangeFieldNumber = 32,
481 kPerturbCostsInDualSimplexFieldNumber = 53,
482 kLogSearchProgressFieldNumber = 61,
483 kFeasibilityRuleFieldNumber = 1,
484 kOptimizationRuleFieldNumber = 2,
485 kRefactorizationThresholdFieldNumber = 6,
486 kRecomputeReducedCostsThresholdFieldNumber = 8,
487 kRecomputeEdgesNormThresholdFieldNumber = 9,
488 kPrimalFeasibilityToleranceFieldNumber = 10,
489 kDualFeasibilityToleranceFieldNumber = 11,
490 kRatioTestZeroThresholdFieldNumber = 12,
491 kHarrisToleranceRatioFieldNumber = 13,
492 kSmallPivotThresholdFieldNumber = 14,
493 kMinimumAcceptablePivotFieldNumber = 15,
494 kInitialBasisFieldNumber = 17,
495 kBasisRefactorizationPeriodFieldNumber = 19,
496 kDualizerThresholdFieldNumber = 21,
497 kSolutionFeasibilityToleranceFieldNumber = 22,
498 kSolveDualProblemFieldNumber = 20,
499 kMarkowitzZlatevParameterFieldNumber = 29,
500 kLuFactorizationPivotThresholdFieldNumber = 25,
501 kMaxTimeInSecondsFieldNumber = 26,
502 kMaxNumberOfIterationsFieldNumber = 27,
503 kMarkowitzSingularityThresholdFieldNumber = 30,
504 kUseScalingFieldNumber = 16,
505 kUseTransposedMatrixFieldNumber = 18,
506 kDynamicallyAdjustRefactorizationPeriodFieldNumber = 63,
507 kProvideStrongOptimalGuaranteeFieldNumber = 24,
508 kDevexWeightsResetPeriodFieldNumber = 33,
509 kDualSmallPivotThresholdFieldNumber = 38,
510 kPreprocessorZeroToleranceFieldNumber = 39,
511 kObjectiveLowerLimitFieldNumber = 40,
512 kObjectiveUpperLimitFieldNumber = 41,
513 kChangeStatusToImpreciseFieldNumber = 58,
514 kUsePreprocessingFieldNumber = 34,
515 kUseMiddleProductFormUpdateFieldNumber = 35,
516 kInitializeDevexWithColumnNormsFieldNumber = 36,
517 kRandomSeedFieldNumber = 43,
518 kDegenerateMinistepFactorFieldNumber = 42,
519 kMaxDeterministicTimeFieldNumber = 45,
520 kNumOmpThreadsFieldNumber = 44,
521 kExploitSingletonColumnInInitialBasisFieldNumber = 37,
522 kUseDedicatedDualFeasibilityAlgorithmFieldNumber = 62,
523 kDropToleranceFieldNumber = 52,
524 kRelativeCostPerturbationFieldNumber = 54,
525 kRelativeMaxCostPerturbationFieldNumber = 55,
526 kMaxNumberOfReoptimizationsFieldNumber = 56,
527 kScalingMethodFieldNumber = 57,
528 kCostScalingFieldNumber = 60,
529 kInitialConditionNumberThresholdFieldNumber = 59,
534 bool _internal_has_use_dual_simplex()
const;
540 bool _internal_use_dual_simplex()
const;
541 void _internal_set_use_dual_simplex(
bool value);
547 bool _internal_has_allow_simplex_algorithm_change()
const;
553 bool _internal_allow_simplex_algorithm_change()
const;
554 void _internal_set_allow_simplex_algorithm_change(
bool value);
560 bool _internal_has_perturb_costs_in_dual_simplex()
const;
566 bool _internal_perturb_costs_in_dual_simplex()
const;
567 void _internal_set_perturb_costs_in_dual_simplex(
bool value);
573 bool _internal_has_log_search_progress()
const;
579 bool _internal_log_search_progress()
const;
580 void _internal_set_log_search_progress(
bool value);
586 bool _internal_has_feasibility_rule()
const;
599 bool _internal_has_optimization_rule()
const;
612 bool _internal_has_refactorization_threshold()
const;
618 double _internal_refactorization_threshold()
const;
619 void _internal_set_refactorization_threshold(
double value);
625 bool _internal_has_recompute_reduced_costs_threshold()
const;
631 double _internal_recompute_reduced_costs_threshold()
const;
632 void _internal_set_recompute_reduced_costs_threshold(
double value);
638 bool _internal_has_recompute_edges_norm_threshold()
const;
644 double _internal_recompute_edges_norm_threshold()
const;
645 void _internal_set_recompute_edges_norm_threshold(
double value);
651 bool _internal_has_primal_feasibility_tolerance()
const;
657 double _internal_primal_feasibility_tolerance()
const;
658 void _internal_set_primal_feasibility_tolerance(
double value);
664 bool _internal_has_dual_feasibility_tolerance()
const;
670 double _internal_dual_feasibility_tolerance()
const;
671 void _internal_set_dual_feasibility_tolerance(
double value);
677 bool _internal_has_ratio_test_zero_threshold()
const;
683 double _internal_ratio_test_zero_threshold()
const;
684 void _internal_set_ratio_test_zero_threshold(
double value);
690 bool _internal_has_harris_tolerance_ratio()
const;
696 double _internal_harris_tolerance_ratio()
const;
697 void _internal_set_harris_tolerance_ratio(
double value);
703 bool _internal_has_small_pivot_threshold()
const;
709 double _internal_small_pivot_threshold()
const;
710 void _internal_set_small_pivot_threshold(
double value);
716 bool _internal_has_minimum_acceptable_pivot()
const;
722 double _internal_minimum_acceptable_pivot()
const;
723 void _internal_set_minimum_acceptable_pivot(
double value);
729 bool _internal_has_initial_basis()
const;
742 bool _internal_has_basis_refactorization_period()
const;
748 ::PROTOBUF_NAMESPACE_ID::int32 _internal_basis_refactorization_period()
const;
749 void _internal_set_basis_refactorization_period(::PROTOBUF_NAMESPACE_ID::int32
value);
755 bool _internal_has_dualizer_threshold()
const;
761 double _internal_dualizer_threshold()
const;
762 void _internal_set_dualizer_threshold(
double value);
768 bool _internal_has_solution_feasibility_tolerance()
const;
774 double _internal_solution_feasibility_tolerance()
const;
775 void _internal_set_solution_feasibility_tolerance(
double value);
781 bool _internal_has_solve_dual_problem()
const;
794 bool _internal_has_markowitz_zlatev_parameter()
const;
800 ::PROTOBUF_NAMESPACE_ID::int32 _internal_markowitz_zlatev_parameter()
const;
801 void _internal_set_markowitz_zlatev_parameter(::PROTOBUF_NAMESPACE_ID::int32
value);
807 bool _internal_has_lu_factorization_pivot_threshold()
const;
813 double _internal_lu_factorization_pivot_threshold()
const;
814 void _internal_set_lu_factorization_pivot_threshold(
double value);
820 bool _internal_has_max_time_in_seconds()
const;
826 double _internal_max_time_in_seconds()
const;
827 void _internal_set_max_time_in_seconds(
double value);
833 bool _internal_has_max_number_of_iterations()
const;
839 ::PROTOBUF_NAMESPACE_ID::int64 _internal_max_number_of_iterations()
const;
840 void _internal_set_max_number_of_iterations(::PROTOBUF_NAMESPACE_ID::int64
value);
846 bool _internal_has_markowitz_singularity_threshold()
const;
852 double _internal_markowitz_singularity_threshold()
const;
853 void _internal_set_markowitz_singularity_threshold(
double value);
859 bool _internal_has_use_scaling()
const;
865 bool _internal_use_scaling()
const;
866 void _internal_set_use_scaling(
bool value);
872 bool _internal_has_use_transposed_matrix()
const;
878 bool _internal_use_transposed_matrix()
const;
879 void _internal_set_use_transposed_matrix(
bool value);
885 bool _internal_has_dynamically_adjust_refactorization_period()
const;
891 bool _internal_dynamically_adjust_refactorization_period()
const;
892 void _internal_set_dynamically_adjust_refactorization_period(
bool value);
898 bool _internal_has_provide_strong_optimal_guarantee()
const;
904 bool _internal_provide_strong_optimal_guarantee()
const;
905 void _internal_set_provide_strong_optimal_guarantee(
bool value);
911 bool _internal_has_devex_weights_reset_period()
const;
917 ::PROTOBUF_NAMESPACE_ID::int32 _internal_devex_weights_reset_period()
const;
918 void _internal_set_devex_weights_reset_period(::PROTOBUF_NAMESPACE_ID::int32
value);
924 bool _internal_has_dual_small_pivot_threshold()
const;
930 double _internal_dual_small_pivot_threshold()
const;
931 void _internal_set_dual_small_pivot_threshold(
double value);
937 bool _internal_has_preprocessor_zero_tolerance()
const;
943 double _internal_preprocessor_zero_tolerance()
const;
944 void _internal_set_preprocessor_zero_tolerance(
double value);
950 bool _internal_has_objective_lower_limit()
const;
956 double _internal_objective_lower_limit()
const;
957 void _internal_set_objective_lower_limit(
double value);
963 bool _internal_has_objective_upper_limit()
const;
969 double _internal_objective_upper_limit()
const;
970 void _internal_set_objective_upper_limit(
double value);
976 bool _internal_has_change_status_to_imprecise()
const;
982 bool _internal_change_status_to_imprecise()
const;
983 void _internal_set_change_status_to_imprecise(
bool value);
989 bool _internal_has_use_preprocessing()
const;
995 bool _internal_use_preprocessing()
const;
996 void _internal_set_use_preprocessing(
bool value);
1002 bool _internal_has_use_middle_product_form_update()
const;
1008 bool _internal_use_middle_product_form_update()
const;
1009 void _internal_set_use_middle_product_form_update(
bool value);
1015 bool _internal_has_initialize_devex_with_column_norms()
const;
1021 bool _internal_initialize_devex_with_column_norms()
const;
1022 void _internal_set_initialize_devex_with_column_norms(
bool value);
1028 bool _internal_has_random_seed()
const;
1034 ::PROTOBUF_NAMESPACE_ID::int32 _internal_random_seed()
const;
1035 void _internal_set_random_seed(::PROTOBUF_NAMESPACE_ID::int32
value);
1041 bool _internal_has_degenerate_ministep_factor()
const;
1047 double _internal_degenerate_ministep_factor()
const;
1048 void _internal_set_degenerate_ministep_factor(
double value);
1054 bool _internal_has_max_deterministic_time()
const;
1060 double _internal_max_deterministic_time()
const;
1061 void _internal_set_max_deterministic_time(
double value);
1067 bool _internal_has_num_omp_threads()
const;
1073 ::PROTOBUF_NAMESPACE_ID::int32 _internal_num_omp_threads()
const;
1074 void _internal_set_num_omp_threads(::PROTOBUF_NAMESPACE_ID::int32
value);
1080 bool _internal_has_exploit_singleton_column_in_initial_basis()
const;
1086 bool _internal_exploit_singleton_column_in_initial_basis()
const;
1087 void _internal_set_exploit_singleton_column_in_initial_basis(
bool value);
1093 bool _internal_has_use_dedicated_dual_feasibility_algorithm()
const;
1099 bool _internal_use_dedicated_dual_feasibility_algorithm()
const;
1100 void _internal_set_use_dedicated_dual_feasibility_algorithm(
bool value);
1106 bool _internal_has_drop_tolerance()
const;
1112 double _internal_drop_tolerance()
const;
1113 void _internal_set_drop_tolerance(
double value);
1119 bool _internal_has_relative_cost_perturbation()
const;
1125 double _internal_relative_cost_perturbation()
const;
1126 void _internal_set_relative_cost_perturbation(
double value);
1132 bool _internal_has_relative_max_cost_perturbation()
const;
1138 double _internal_relative_max_cost_perturbation()
const;
1139 void _internal_set_relative_max_cost_perturbation(
double value);
1145 bool _internal_has_max_number_of_reoptimizations()
const;
1151 double _internal_max_number_of_reoptimizations()
const;
1152 void _internal_set_max_number_of_reoptimizations(
double value);
1158 bool _internal_has_scaling_method()
const;
1171 bool _internal_has_cost_scaling()
const;
1184 bool _internal_has_initial_condition_number_threshold()
const;
1190 double _internal_initial_condition_number_threshold()
const;
1191 void _internal_set_initial_condition_number_threshold(
double value);
1198 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1199 typedef void InternalArenaConstructable_;
1200 typedef void DestructorSkippable_;
1201 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_;
1202 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1203 bool use_dual_simplex_;
1204 bool allow_simplex_algorithm_change_;
1205 bool perturb_costs_in_dual_simplex_;
1206 bool log_search_progress_;
1207 int feasibility_rule_;
1208 int optimization_rule_;
1209 double refactorization_threshold_;
1210 double recompute_reduced_costs_threshold_;
1211 double recompute_edges_norm_threshold_;
1212 double primal_feasibility_tolerance_;
1213 double dual_feasibility_tolerance_;
1214 double ratio_test_zero_threshold_;
1215 double harris_tolerance_ratio_;
1216 double small_pivot_threshold_;
1217 double minimum_acceptable_pivot_;
1219 ::PROTOBUF_NAMESPACE_ID::int32 basis_refactorization_period_;
1220 double dualizer_threshold_;
1221 double solution_feasibility_tolerance_;
1222 int solve_dual_problem_;
1223 ::PROTOBUF_NAMESPACE_ID::int32 markowitz_zlatev_parameter_;
1224 double lu_factorization_pivot_threshold_;
1225 double max_time_in_seconds_;
1226 ::PROTOBUF_NAMESPACE_ID::int64 max_number_of_iterations_;
1227 double markowitz_singularity_threshold_;
1229 bool use_transposed_matrix_;
1230 bool dynamically_adjust_refactorization_period_;
1231 bool provide_strong_optimal_guarantee_;
1232 ::PROTOBUF_NAMESPACE_ID::int32 devex_weights_reset_period_;
1233 double dual_small_pivot_threshold_;
1234 double preprocessor_zero_tolerance_;
1235 double objective_lower_limit_;
1236 double objective_upper_limit_;
1237 bool change_status_to_imprecise_;
1238 bool use_preprocessing_;
1239 bool use_middle_product_form_update_;
1240 bool initialize_devex_with_column_norms_;
1241 ::PROTOBUF_NAMESPACE_ID::int32 random_seed_;
1242 double degenerate_ministep_factor_;
1243 double max_deterministic_time_;
1244 ::PROTOBUF_NAMESPACE_ID::int32 num_omp_threads_;
1245 bool exploit_singleton_column_in_initial_basis_;
1246 bool use_dedicated_dual_feasibility_algorithm_;
1247 double drop_tolerance_;
1248 double relative_cost_perturbation_;
1249 double relative_max_cost_perturbation_;
1250 double max_number_of_reoptimizations_;
1251 int scaling_method_;
1253 double initial_condition_number_threshold_;
1254 friend struct ::TableStruct_ortools_2fglop_2fparameters_2eproto;
1262 #pragma GCC diagnostic push
1263 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1268 inline bool GlopParameters::_internal_has_scaling_method()
const {
1269 bool value = (_has_bits_[1] & 0x00010000u) != 0;
1272 inline bool GlopParameters::has_scaling_method()
const {
1273 return _internal_has_scaling_method();
1275 inline void GlopParameters::clear_scaling_method() {
1276 scaling_method_ = 1;
1277 _has_bits_[1] &= ~0x00010000u;
1284 return _internal_scaling_method();
1288 _has_bits_[1] |= 0x00010000u;
1289 scaling_method_ =
value;
1292 _internal_set_scaling_method(
value);
1297 inline bool GlopParameters::_internal_has_feasibility_rule()
const {
1298 bool value = (_has_bits_[0] & 0x00000010u) != 0;
1301 inline bool GlopParameters::has_feasibility_rule()
const {
1302 return _internal_has_feasibility_rule();
1304 inline void GlopParameters::clear_feasibility_rule() {
1305 feasibility_rule_ = 1;
1306 _has_bits_[0] &= ~0x00000010u;
1313 return _internal_feasibility_rule();
1317 _has_bits_[0] |= 0x00000010u;
1318 feasibility_rule_ =
value;
1321 _internal_set_feasibility_rule(
value);
1326 inline bool GlopParameters::_internal_has_optimization_rule()
const {
1327 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1330 inline bool GlopParameters::has_optimization_rule()
const {
1331 return _internal_has_optimization_rule();
1333 inline void GlopParameters::clear_optimization_rule() {
1334 optimization_rule_ = 1;
1335 _has_bits_[0] &= ~0x00000020u;
1342 return _internal_optimization_rule();
1346 _has_bits_[0] |= 0x00000020u;
1347 optimization_rule_ =
value;
1350 _internal_set_optimization_rule(
value);
1355 inline bool GlopParameters::_internal_has_refactorization_threshold()
const {
1356 bool value = (_has_bits_[0] & 0x00000040u) != 0;
1359 inline bool GlopParameters::has_refactorization_threshold()
const {
1360 return _internal_has_refactorization_threshold();
1362 inline void GlopParameters::clear_refactorization_threshold() {
1363 refactorization_threshold_ = 1e-09;
1364 _has_bits_[0] &= ~0x00000040u;
1366 inline double GlopParameters::_internal_refactorization_threshold()
const {
1367 return refactorization_threshold_;
1369 inline double GlopParameters::refactorization_threshold()
const {
1371 return _internal_refactorization_threshold();
1373 inline void GlopParameters::_internal_set_refactorization_threshold(
double value) {
1374 _has_bits_[0] |= 0x00000040u;
1375 refactorization_threshold_ =
value;
1377 inline void GlopParameters::set_refactorization_threshold(
double value) {
1378 _internal_set_refactorization_threshold(
value);
1383 inline bool GlopParameters::_internal_has_recompute_reduced_costs_threshold()
const {
1384 bool value = (_has_bits_[0] & 0x00000080u) != 0;
1387 inline bool GlopParameters::has_recompute_reduced_costs_threshold()
const {
1388 return _internal_has_recompute_reduced_costs_threshold();
1390 inline void GlopParameters::clear_recompute_reduced_costs_threshold() {
1391 recompute_reduced_costs_threshold_ = 1e-08;
1392 _has_bits_[0] &= ~0x00000080u;
1394 inline double GlopParameters::_internal_recompute_reduced_costs_threshold()
const {
1395 return recompute_reduced_costs_threshold_;
1397 inline double GlopParameters::recompute_reduced_costs_threshold()
const {
1399 return _internal_recompute_reduced_costs_threshold();
1401 inline void GlopParameters::_internal_set_recompute_reduced_costs_threshold(
double value) {
1402 _has_bits_[0] |= 0x00000080u;
1403 recompute_reduced_costs_threshold_ =
value;
1405 inline void GlopParameters::set_recompute_reduced_costs_threshold(
double value) {
1406 _internal_set_recompute_reduced_costs_threshold(
value);
1411 inline bool GlopParameters::_internal_has_recompute_edges_norm_threshold()
const {
1412 bool value = (_has_bits_[0] & 0x00000100u) != 0;
1415 inline bool GlopParameters::has_recompute_edges_norm_threshold()
const {
1416 return _internal_has_recompute_edges_norm_threshold();
1418 inline void GlopParameters::clear_recompute_edges_norm_threshold() {
1419 recompute_edges_norm_threshold_ = 100;
1420 _has_bits_[0] &= ~0x00000100u;
1422 inline double GlopParameters::_internal_recompute_edges_norm_threshold()
const {
1423 return recompute_edges_norm_threshold_;
1425 inline double GlopParameters::recompute_edges_norm_threshold()
const {
1427 return _internal_recompute_edges_norm_threshold();
1429 inline void GlopParameters::_internal_set_recompute_edges_norm_threshold(
double value) {
1430 _has_bits_[0] |= 0x00000100u;
1431 recompute_edges_norm_threshold_ =
value;
1433 inline void GlopParameters::set_recompute_edges_norm_threshold(
double value) {
1434 _internal_set_recompute_edges_norm_threshold(
value);
1439 inline bool GlopParameters::_internal_has_primal_feasibility_tolerance()
const {
1440 bool value = (_has_bits_[0] & 0x00000200u) != 0;
1443 inline bool GlopParameters::has_primal_feasibility_tolerance()
const {
1444 return _internal_has_primal_feasibility_tolerance();
1446 inline void GlopParameters::clear_primal_feasibility_tolerance() {
1447 primal_feasibility_tolerance_ = 1e-08;
1448 _has_bits_[0] &= ~0x00000200u;
1450 inline double GlopParameters::_internal_primal_feasibility_tolerance()
const {
1451 return primal_feasibility_tolerance_;
1453 inline double GlopParameters::primal_feasibility_tolerance()
const {
1455 return _internal_primal_feasibility_tolerance();
1457 inline void GlopParameters::_internal_set_primal_feasibility_tolerance(
double value) {
1458 _has_bits_[0] |= 0x00000200u;
1459 primal_feasibility_tolerance_ =
value;
1461 inline void GlopParameters::set_primal_feasibility_tolerance(
double value) {
1462 _internal_set_primal_feasibility_tolerance(
value);
1467 inline bool GlopParameters::_internal_has_dual_feasibility_tolerance()
const {
1468 bool value = (_has_bits_[0] & 0x00000400u) != 0;
1471 inline bool GlopParameters::has_dual_feasibility_tolerance()
const {
1472 return _internal_has_dual_feasibility_tolerance();
1474 inline void GlopParameters::clear_dual_feasibility_tolerance() {
1475 dual_feasibility_tolerance_ = 1e-08;
1476 _has_bits_[0] &= ~0x00000400u;
1478 inline double GlopParameters::_internal_dual_feasibility_tolerance()
const {
1479 return dual_feasibility_tolerance_;
1481 inline double GlopParameters::dual_feasibility_tolerance()
const {
1483 return _internal_dual_feasibility_tolerance();
1485 inline void GlopParameters::_internal_set_dual_feasibility_tolerance(
double value) {
1486 _has_bits_[0] |= 0x00000400u;
1487 dual_feasibility_tolerance_ =
value;
1489 inline void GlopParameters::set_dual_feasibility_tolerance(
double value) {
1490 _internal_set_dual_feasibility_tolerance(
value);
1495 inline bool GlopParameters::_internal_has_ratio_test_zero_threshold()
const {
1496 bool value = (_has_bits_[0] & 0x00000800u) != 0;
1499 inline bool GlopParameters::has_ratio_test_zero_threshold()
const {
1500 return _internal_has_ratio_test_zero_threshold();
1502 inline void GlopParameters::clear_ratio_test_zero_threshold() {
1503 ratio_test_zero_threshold_ = 1e-09;
1504 _has_bits_[0] &= ~0x00000800u;
1506 inline double GlopParameters::_internal_ratio_test_zero_threshold()
const {
1507 return ratio_test_zero_threshold_;
1509 inline double GlopParameters::ratio_test_zero_threshold()
const {
1511 return _internal_ratio_test_zero_threshold();
1513 inline void GlopParameters::_internal_set_ratio_test_zero_threshold(
double value) {
1514 _has_bits_[0] |= 0x00000800u;
1515 ratio_test_zero_threshold_ =
value;
1517 inline void GlopParameters::set_ratio_test_zero_threshold(
double value) {
1518 _internal_set_ratio_test_zero_threshold(
value);
1523 inline bool GlopParameters::_internal_has_harris_tolerance_ratio()
const {
1524 bool value = (_has_bits_[0] & 0x00001000u) != 0;
1527 inline bool GlopParameters::has_harris_tolerance_ratio()
const {
1528 return _internal_has_harris_tolerance_ratio();
1530 inline void GlopParameters::clear_harris_tolerance_ratio() {
1531 harris_tolerance_ratio_ = 0.5;
1532 _has_bits_[0] &= ~0x00001000u;
1534 inline double GlopParameters::_internal_harris_tolerance_ratio()
const {
1535 return harris_tolerance_ratio_;
1537 inline double GlopParameters::harris_tolerance_ratio()
const {
1539 return _internal_harris_tolerance_ratio();
1541 inline void GlopParameters::_internal_set_harris_tolerance_ratio(
double value) {
1542 _has_bits_[0] |= 0x00001000u;
1543 harris_tolerance_ratio_ =
value;
1545 inline void GlopParameters::set_harris_tolerance_ratio(
double value) {
1546 _internal_set_harris_tolerance_ratio(
value);
1551 inline bool GlopParameters::_internal_has_small_pivot_threshold()
const {
1552 bool value = (_has_bits_[0] & 0x00002000u) != 0;
1555 inline bool GlopParameters::has_small_pivot_threshold()
const {
1556 return _internal_has_small_pivot_threshold();
1558 inline void GlopParameters::clear_small_pivot_threshold() {
1559 small_pivot_threshold_ = 1e-06;
1560 _has_bits_[0] &= ~0x00002000u;
1562 inline double GlopParameters::_internal_small_pivot_threshold()
const {
1563 return small_pivot_threshold_;
1565 inline double GlopParameters::small_pivot_threshold()
const {
1567 return _internal_small_pivot_threshold();
1569 inline void GlopParameters::_internal_set_small_pivot_threshold(
double value) {
1570 _has_bits_[0] |= 0x00002000u;
1571 small_pivot_threshold_ =
value;
1573 inline void GlopParameters::set_small_pivot_threshold(
double value) {
1574 _internal_set_small_pivot_threshold(
value);
1579 inline bool GlopParameters::_internal_has_minimum_acceptable_pivot()
const {
1580 bool value = (_has_bits_[0] & 0x00004000u) != 0;
1583 inline bool GlopParameters::has_minimum_acceptable_pivot()
const {
1584 return _internal_has_minimum_acceptable_pivot();
1586 inline void GlopParameters::clear_minimum_acceptable_pivot() {
1587 minimum_acceptable_pivot_ = 1e-06;
1588 _has_bits_[0] &= ~0x00004000u;
1590 inline double GlopParameters::_internal_minimum_acceptable_pivot()
const {
1591 return minimum_acceptable_pivot_;
1593 inline double GlopParameters::minimum_acceptable_pivot()
const {
1595 return _internal_minimum_acceptable_pivot();
1597 inline void GlopParameters::_internal_set_minimum_acceptable_pivot(
double value) {
1598 _has_bits_[0] |= 0x00004000u;
1599 minimum_acceptable_pivot_ =
value;
1601 inline void GlopParameters::set_minimum_acceptable_pivot(
double value) {
1602 _internal_set_minimum_acceptable_pivot(
value);
1607 inline bool GlopParameters::_internal_has_drop_tolerance()
const {
1608 bool value = (_has_bits_[1] & 0x00001000u) != 0;
1611 inline bool GlopParameters::has_drop_tolerance()
const {
1612 return _internal_has_drop_tolerance();
1614 inline void GlopParameters::clear_drop_tolerance() {
1615 drop_tolerance_ = 1e-14;
1616 _has_bits_[1] &= ~0x00001000u;
1618 inline double GlopParameters::_internal_drop_tolerance()
const {
1619 return drop_tolerance_;
1621 inline double GlopParameters::drop_tolerance()
const {
1623 return _internal_drop_tolerance();
1625 inline void GlopParameters::_internal_set_drop_tolerance(
double value) {
1626 _has_bits_[1] |= 0x00001000u;
1627 drop_tolerance_ =
value;
1629 inline void GlopParameters::set_drop_tolerance(
double value) {
1630 _internal_set_drop_tolerance(
value);
1635 inline bool GlopParameters::_internal_has_use_scaling()
const {
1636 bool value = (_has_bits_[0] & 0x02000000u) != 0;
1639 inline bool GlopParameters::has_use_scaling()
const {
1640 return _internal_has_use_scaling();
1642 inline void GlopParameters::clear_use_scaling() {
1643 use_scaling_ =
true;
1644 _has_bits_[0] &= ~0x02000000u;
1646 inline bool GlopParameters::_internal_use_scaling()
const {
1647 return use_scaling_;
1649 inline bool GlopParameters::use_scaling()
const {
1651 return _internal_use_scaling();
1653 inline void GlopParameters::_internal_set_use_scaling(
bool value) {
1654 _has_bits_[0] |= 0x02000000u;
1655 use_scaling_ =
value;
1657 inline void GlopParameters::set_use_scaling(
bool value) {
1658 _internal_set_use_scaling(
value);
1663 inline bool GlopParameters::_internal_has_cost_scaling()
const {
1664 bool value = (_has_bits_[1] & 0x00020000u) != 0;
1667 inline bool GlopParameters::has_cost_scaling()
const {
1668 return _internal_has_cost_scaling();
1670 inline void GlopParameters::clear_cost_scaling() {
1672 _has_bits_[1] &= ~0x00020000u;
1679 return _internal_cost_scaling();
1683 _has_bits_[1] |= 0x00020000u;
1684 cost_scaling_ =
value;
1687 _internal_set_cost_scaling(
value);
1692 inline bool GlopParameters::_internal_has_initial_basis()
const {
1693 bool value = (_has_bits_[0] & 0x00008000u) != 0;
1696 inline bool GlopParameters::has_initial_basis()
const {
1697 return _internal_has_initial_basis();
1699 inline void GlopParameters::clear_initial_basis() {
1701 _has_bits_[0] &= ~0x00008000u;
1708 return _internal_initial_basis();
1712 _has_bits_[0] |= 0x00008000u;
1713 initial_basis_ =
value;
1716 _internal_set_initial_basis(
value);
1721 inline bool GlopParameters::_internal_has_use_transposed_matrix()
const {
1722 bool value = (_has_bits_[0] & 0x04000000u) != 0;
1725 inline bool GlopParameters::has_use_transposed_matrix()
const {
1726 return _internal_has_use_transposed_matrix();
1728 inline void GlopParameters::clear_use_transposed_matrix() {
1729 use_transposed_matrix_ =
true;
1730 _has_bits_[0] &= ~0x04000000u;
1732 inline bool GlopParameters::_internal_use_transposed_matrix()
const {
1733 return use_transposed_matrix_;
1735 inline bool GlopParameters::use_transposed_matrix()
const {
1737 return _internal_use_transposed_matrix();
1739 inline void GlopParameters::_internal_set_use_transposed_matrix(
bool value) {
1740 _has_bits_[0] |= 0x04000000u;
1741 use_transposed_matrix_ =
value;
1743 inline void GlopParameters::set_use_transposed_matrix(
bool value) {
1744 _internal_set_use_transposed_matrix(
value);
1749 inline bool GlopParameters::_internal_has_basis_refactorization_period()
const {
1750 bool value = (_has_bits_[0] & 0x00010000u) != 0;
1753 inline bool GlopParameters::has_basis_refactorization_period()
const {
1754 return _internal_has_basis_refactorization_period();
1756 inline void GlopParameters::clear_basis_refactorization_period() {
1757 basis_refactorization_period_ = 64;
1758 _has_bits_[0] &= ~0x00010000u;
1760 inline ::PROTOBUF_NAMESPACE_ID::int32 GlopParameters::_internal_basis_refactorization_period()
const {
1761 return basis_refactorization_period_;
1763 inline ::PROTOBUF_NAMESPACE_ID::int32 GlopParameters::basis_refactorization_period()
const {
1765 return _internal_basis_refactorization_period();
1767 inline void GlopParameters::_internal_set_basis_refactorization_period(::PROTOBUF_NAMESPACE_ID::int32
value) {
1768 _has_bits_[0] |= 0x00010000u;
1769 basis_refactorization_period_ =
value;
1771 inline void GlopParameters::set_basis_refactorization_period(::PROTOBUF_NAMESPACE_ID::int32
value) {
1772 _internal_set_basis_refactorization_period(
value);
1777 inline bool GlopParameters::_internal_has_dynamically_adjust_refactorization_period()
const {
1778 bool value = (_has_bits_[0] & 0x08000000u) != 0;
1781 inline bool GlopParameters::has_dynamically_adjust_refactorization_period()
const {
1782 return _internal_has_dynamically_adjust_refactorization_period();
1784 inline void GlopParameters::clear_dynamically_adjust_refactorization_period() {
1785 dynamically_adjust_refactorization_period_ =
true;
1786 _has_bits_[0] &= ~0x08000000u;
1788 inline bool GlopParameters::_internal_dynamically_adjust_refactorization_period()
const {
1789 return dynamically_adjust_refactorization_period_;
1791 inline bool GlopParameters::dynamically_adjust_refactorization_period()
const {
1793 return _internal_dynamically_adjust_refactorization_period();
1795 inline void GlopParameters::_internal_set_dynamically_adjust_refactorization_period(
bool value) {
1796 _has_bits_[0] |= 0x08000000u;
1797 dynamically_adjust_refactorization_period_ =
value;
1799 inline void GlopParameters::set_dynamically_adjust_refactorization_period(
bool value) {
1800 _internal_set_dynamically_adjust_refactorization_period(
value);
1805 inline bool GlopParameters::_internal_has_solve_dual_problem()
const {
1806 bool value = (_has_bits_[0] & 0x00080000u) != 0;
1809 inline bool GlopParameters::has_solve_dual_problem()
const {
1810 return _internal_has_solve_dual_problem();
1812 inline void GlopParameters::clear_solve_dual_problem() {
1813 solve_dual_problem_ = 2;
1814 _has_bits_[0] &= ~0x00080000u;
1821 return _internal_solve_dual_problem();
1825 _has_bits_[0] |= 0x00080000u;
1826 solve_dual_problem_ =
value;
1829 _internal_set_solve_dual_problem(
value);
1834 inline bool GlopParameters::_internal_has_dualizer_threshold()
const {
1835 bool value = (_has_bits_[0] & 0x00020000u) != 0;
1838 inline bool GlopParameters::has_dualizer_threshold()
const {
1839 return _internal_has_dualizer_threshold();
1841 inline void GlopParameters::clear_dualizer_threshold() {
1842 dualizer_threshold_ = 1.5;
1843 _has_bits_[0] &= ~0x00020000u;
1845 inline double GlopParameters::_internal_dualizer_threshold()
const {
1846 return dualizer_threshold_;
1848 inline double GlopParameters::dualizer_threshold()
const {
1850 return _internal_dualizer_threshold();
1852 inline void GlopParameters::_internal_set_dualizer_threshold(
double value) {
1853 _has_bits_[0] |= 0x00020000u;
1854 dualizer_threshold_ =
value;
1856 inline void GlopParameters::set_dualizer_threshold(
double value) {
1857 _internal_set_dualizer_threshold(
value);
1862 inline bool GlopParameters::_internal_has_solution_feasibility_tolerance()
const {
1863 bool value = (_has_bits_[0] & 0x00040000u) != 0;
1866 inline bool GlopParameters::has_solution_feasibility_tolerance()
const {
1867 return _internal_has_solution_feasibility_tolerance();
1869 inline void GlopParameters::clear_solution_feasibility_tolerance() {
1870 solution_feasibility_tolerance_ = 1e-06;
1871 _has_bits_[0] &= ~0x00040000u;
1873 inline double GlopParameters::_internal_solution_feasibility_tolerance()
const {
1874 return solution_feasibility_tolerance_;
1876 inline double GlopParameters::solution_feasibility_tolerance()
const {
1878 return _internal_solution_feasibility_tolerance();
1880 inline void GlopParameters::_internal_set_solution_feasibility_tolerance(
double value) {
1881 _has_bits_[0] |= 0x00040000u;
1882 solution_feasibility_tolerance_ =
value;
1884 inline void GlopParameters::set_solution_feasibility_tolerance(
double value) {
1885 _internal_set_solution_feasibility_tolerance(
value);
1890 inline bool GlopParameters::_internal_has_provide_strong_optimal_guarantee()
const {
1891 bool value = (_has_bits_[0] & 0x10000000u) != 0;
1894 inline bool GlopParameters::has_provide_strong_optimal_guarantee()
const {
1895 return _internal_has_provide_strong_optimal_guarantee();
1897 inline void GlopParameters::clear_provide_strong_optimal_guarantee() {
1898 provide_strong_optimal_guarantee_ =
true;
1899 _has_bits_[0] &= ~0x10000000u;
1901 inline bool GlopParameters::_internal_provide_strong_optimal_guarantee()
const {
1902 return provide_strong_optimal_guarantee_;
1904 inline bool GlopParameters::provide_strong_optimal_guarantee()
const {
1906 return _internal_provide_strong_optimal_guarantee();
1908 inline void GlopParameters::_internal_set_provide_strong_optimal_guarantee(
bool value) {
1909 _has_bits_[0] |= 0x10000000u;
1910 provide_strong_optimal_guarantee_ =
value;
1912 inline void GlopParameters::set_provide_strong_optimal_guarantee(
bool value) {
1913 _internal_set_provide_strong_optimal_guarantee(
value);
1918 inline bool GlopParameters::_internal_has_change_status_to_imprecise()
const {
1919 bool value = (_has_bits_[1] & 0x00000004u) != 0;
1922 inline bool GlopParameters::has_change_status_to_imprecise()
const {
1923 return _internal_has_change_status_to_imprecise();
1925 inline void GlopParameters::clear_change_status_to_imprecise() {
1926 change_status_to_imprecise_ =
true;
1927 _has_bits_[1] &= ~0x00000004u;
1929 inline bool GlopParameters::_internal_change_status_to_imprecise()
const {
1930 return change_status_to_imprecise_;
1932 inline bool GlopParameters::change_status_to_imprecise()
const {
1934 return _internal_change_status_to_imprecise();
1936 inline void GlopParameters::_internal_set_change_status_to_imprecise(
bool value) {
1937 _has_bits_[1] |= 0x00000004u;
1938 change_status_to_imprecise_ =
value;
1940 inline void GlopParameters::set_change_status_to_imprecise(
bool value) {
1941 _internal_set_change_status_to_imprecise(
value);
1946 inline bool GlopParameters::_internal_has_max_number_of_reoptimizations()
const {
1947 bool value = (_has_bits_[1] & 0x00008000u) != 0;
1950 inline bool GlopParameters::has_max_number_of_reoptimizations()
const {
1951 return _internal_has_max_number_of_reoptimizations();
1953 inline void GlopParameters::clear_max_number_of_reoptimizations() {
1954 max_number_of_reoptimizations_ = 40;
1955 _has_bits_[1] &= ~0x00008000u;
1957 inline double GlopParameters::_internal_max_number_of_reoptimizations()
const {
1958 return max_number_of_reoptimizations_;
1960 inline double GlopParameters::max_number_of_reoptimizations()
const {
1962 return _internal_max_number_of_reoptimizations();
1964 inline void GlopParameters::_internal_set_max_number_of_reoptimizations(
double value) {
1965 _has_bits_[1] |= 0x00008000u;
1966 max_number_of_reoptimizations_ =
value;
1968 inline void GlopParameters::set_max_number_of_reoptimizations(
double value) {
1969 _internal_set_max_number_of_reoptimizations(
value);
1974 inline bool GlopParameters::_internal_has_lu_factorization_pivot_threshold()
const {
1975 bool value = (_has_bits_[0] & 0x00200000u) != 0;
1978 inline bool GlopParameters::has_lu_factorization_pivot_threshold()
const {
1979 return _internal_has_lu_factorization_pivot_threshold();
1981 inline void GlopParameters::clear_lu_factorization_pivot_threshold() {
1982 lu_factorization_pivot_threshold_ = 0.01;
1983 _has_bits_[0] &= ~0x00200000u;
1985 inline double GlopParameters::_internal_lu_factorization_pivot_threshold()
const {
1986 return lu_factorization_pivot_threshold_;
1988 inline double GlopParameters::lu_factorization_pivot_threshold()
const {
1990 return _internal_lu_factorization_pivot_threshold();
1992 inline void GlopParameters::_internal_set_lu_factorization_pivot_threshold(
double value) {
1993 _has_bits_[0] |= 0x00200000u;
1994 lu_factorization_pivot_threshold_ =
value;
1996 inline void GlopParameters::set_lu_factorization_pivot_threshold(
double value) {
1997 _internal_set_lu_factorization_pivot_threshold(
value);
2002 inline bool GlopParameters::_internal_has_max_time_in_seconds()
const {
2003 bool value = (_has_bits_[0] & 0x00400000u) != 0;
2006 inline bool GlopParameters::has_max_time_in_seconds()
const {
2007 return _internal_has_max_time_in_seconds();
2009 inline void GlopParameters::clear_max_time_in_seconds() {
2010 max_time_in_seconds_ = std::numeric_limits<double>::infinity();
2011 _has_bits_[0] &= ~0x00400000u;
2013 inline double GlopParameters::_internal_max_time_in_seconds()
const {
2014 return max_time_in_seconds_;
2016 inline double GlopParameters::max_time_in_seconds()
const {
2018 return _internal_max_time_in_seconds();
2020 inline void GlopParameters::_internal_set_max_time_in_seconds(
double value) {
2021 _has_bits_[0] |= 0x00400000u;
2022 max_time_in_seconds_ =
value;
2024 inline void GlopParameters::set_max_time_in_seconds(
double value) {
2025 _internal_set_max_time_in_seconds(
value);
2030 inline bool GlopParameters::_internal_has_max_deterministic_time()
const {
2031 bool value = (_has_bits_[1] & 0x00000100u) != 0;
2034 inline bool GlopParameters::has_max_deterministic_time()
const {
2035 return _internal_has_max_deterministic_time();
2037 inline void GlopParameters::clear_max_deterministic_time() {
2038 max_deterministic_time_ = std::numeric_limits<double>::infinity();
2039 _has_bits_[1] &= ~0x00000100u;
2041 inline double GlopParameters::_internal_max_deterministic_time()
const {
2042 return max_deterministic_time_;
2044 inline double GlopParameters::max_deterministic_time()
const {
2046 return _internal_max_deterministic_time();
2048 inline void GlopParameters::_internal_set_max_deterministic_time(
double value) {
2049 _has_bits_[1] |= 0x00000100u;
2050 max_deterministic_time_ =
value;
2052 inline void GlopParameters::set_max_deterministic_time(
double value) {
2053 _internal_set_max_deterministic_time(
value);
2058 inline bool GlopParameters::_internal_has_max_number_of_iterations()
const {
2059 bool value = (_has_bits_[0] & 0x00800000u) != 0;
2062 inline bool GlopParameters::has_max_number_of_iterations()
const {
2063 return _internal_has_max_number_of_iterations();
2065 inline void GlopParameters::clear_max_number_of_iterations() {
2066 max_number_of_iterations_ = PROTOBUF_LONGLONG(-1);
2067 _has_bits_[0] &= ~0x00800000u;
2069 inline ::PROTOBUF_NAMESPACE_ID::int64 GlopParameters::_internal_max_number_of_iterations()
const {
2070 return max_number_of_iterations_;
2072 inline ::PROTOBUF_NAMESPACE_ID::int64 GlopParameters::max_number_of_iterations()
const {
2074 return _internal_max_number_of_iterations();
2076 inline void GlopParameters::_internal_set_max_number_of_iterations(::PROTOBUF_NAMESPACE_ID::int64
value) {
2077 _has_bits_[0] |= 0x00800000u;
2078 max_number_of_iterations_ =
value;
2080 inline void GlopParameters::set_max_number_of_iterations(::PROTOBUF_NAMESPACE_ID::int64
value) {
2081 _internal_set_max_number_of_iterations(
value);
2086 inline bool GlopParameters::_internal_has_markowitz_zlatev_parameter()
const {
2087 bool value = (_has_bits_[0] & 0x00100000u) != 0;
2090 inline bool GlopParameters::has_markowitz_zlatev_parameter()
const {
2091 return _internal_has_markowitz_zlatev_parameter();
2093 inline void GlopParameters::clear_markowitz_zlatev_parameter() {
2094 markowitz_zlatev_parameter_ = 3;
2095 _has_bits_[0] &= ~0x00100000u;
2097 inline ::PROTOBUF_NAMESPACE_ID::int32 GlopParameters::_internal_markowitz_zlatev_parameter()
const {
2098 return markowitz_zlatev_parameter_;
2100 inline ::PROTOBUF_NAMESPACE_ID::int32 GlopParameters::markowitz_zlatev_parameter()
const {
2102 return _internal_markowitz_zlatev_parameter();
2104 inline void GlopParameters::_internal_set_markowitz_zlatev_parameter(::PROTOBUF_NAMESPACE_ID::int32
value) {
2105 _has_bits_[0] |= 0x00100000u;
2106 markowitz_zlatev_parameter_ =
value;
2108 inline void GlopParameters::set_markowitz_zlatev_parameter(::PROTOBUF_NAMESPACE_ID::int32
value) {
2109 _internal_set_markowitz_zlatev_parameter(
value);
2114 inline bool GlopParameters::_internal_has_markowitz_singularity_threshold()
const {
2115 bool value = (_has_bits_[0] & 0x01000000u) != 0;
2118 inline bool GlopParameters::has_markowitz_singularity_threshold()
const {
2119 return _internal_has_markowitz_singularity_threshold();
2121 inline void GlopParameters::clear_markowitz_singularity_threshold() {
2122 markowitz_singularity_threshold_ = 1e-15;
2123 _has_bits_[0] &= ~0x01000000u;
2125 inline double GlopParameters::_internal_markowitz_singularity_threshold()
const {
2126 return markowitz_singularity_threshold_;
2128 inline double GlopParameters::markowitz_singularity_threshold()
const {
2130 return _internal_markowitz_singularity_threshold();
2132 inline void GlopParameters::_internal_set_markowitz_singularity_threshold(
double value) {
2133 _has_bits_[0] |= 0x01000000u;
2134 markowitz_singularity_threshold_ =
value;
2136 inline void GlopParameters::set_markowitz_singularity_threshold(
double value) {
2137 _internal_set_markowitz_singularity_threshold(
value);
2142 inline bool GlopParameters::_internal_has_use_dual_simplex()
const {
2143 bool value = (_has_bits_[0] & 0x00000001u) != 0;
2146 inline bool GlopParameters::has_use_dual_simplex()
const {
2147 return _internal_has_use_dual_simplex();
2149 inline void GlopParameters::clear_use_dual_simplex() {
2150 use_dual_simplex_ =
false;
2151 _has_bits_[0] &= ~0x00000001u;
2153 inline bool GlopParameters::_internal_use_dual_simplex()
const {
2154 return use_dual_simplex_;
2156 inline bool GlopParameters::use_dual_simplex()
const {
2158 return _internal_use_dual_simplex();
2160 inline void GlopParameters::_internal_set_use_dual_simplex(
bool value) {
2161 _has_bits_[0] |= 0x00000001u;
2162 use_dual_simplex_ =
value;
2164 inline void GlopParameters::set_use_dual_simplex(
bool value) {
2165 _internal_set_use_dual_simplex(
value);
2170 inline bool GlopParameters::_internal_has_allow_simplex_algorithm_change()
const {
2171 bool value = (_has_bits_[0] & 0x00000002u) != 0;
2174 inline bool GlopParameters::has_allow_simplex_algorithm_change()
const {
2175 return _internal_has_allow_simplex_algorithm_change();
2177 inline void GlopParameters::clear_allow_simplex_algorithm_change() {
2178 allow_simplex_algorithm_change_ =
false;
2179 _has_bits_[0] &= ~0x00000002u;
2181 inline bool GlopParameters::_internal_allow_simplex_algorithm_change()
const {
2182 return allow_simplex_algorithm_change_;
2184 inline bool GlopParameters::allow_simplex_algorithm_change()
const {
2186 return _internal_allow_simplex_algorithm_change();
2188 inline void GlopParameters::_internal_set_allow_simplex_algorithm_change(
bool value) {
2189 _has_bits_[0] |= 0x00000002u;
2190 allow_simplex_algorithm_change_ =
value;
2192 inline void GlopParameters::set_allow_simplex_algorithm_change(
bool value) {
2193 _internal_set_allow_simplex_algorithm_change(
value);
2198 inline bool GlopParameters::_internal_has_devex_weights_reset_period()
const {
2199 bool value = (_has_bits_[0] & 0x20000000u) != 0;
2202 inline bool GlopParameters::has_devex_weights_reset_period()
const {
2203 return _internal_has_devex_weights_reset_period();
2205 inline void GlopParameters::clear_devex_weights_reset_period() {
2206 devex_weights_reset_period_ = 150;
2207 _has_bits_[0] &= ~0x20000000u;
2209 inline ::PROTOBUF_NAMESPACE_ID::int32 GlopParameters::_internal_devex_weights_reset_period()
const {
2210 return devex_weights_reset_period_;
2212 inline ::PROTOBUF_NAMESPACE_ID::int32 GlopParameters::devex_weights_reset_period()
const {
2214 return _internal_devex_weights_reset_period();
2216 inline void GlopParameters::_internal_set_devex_weights_reset_period(::PROTOBUF_NAMESPACE_ID::int32
value) {
2217 _has_bits_[0] |= 0x20000000u;
2218 devex_weights_reset_period_ =
value;
2220 inline void GlopParameters::set_devex_weights_reset_period(::PROTOBUF_NAMESPACE_ID::int32
value) {
2221 _internal_set_devex_weights_reset_period(
value);
2226 inline bool GlopParameters::_internal_has_use_preprocessing()
const {
2227 bool value = (_has_bits_[1] & 0x00000008u) != 0;
2230 inline bool GlopParameters::has_use_preprocessing()
const {
2231 return _internal_has_use_preprocessing();
2233 inline void GlopParameters::clear_use_preprocessing() {
2234 use_preprocessing_ =
true;
2235 _has_bits_[1] &= ~0x00000008u;
2237 inline bool GlopParameters::_internal_use_preprocessing()
const {
2238 return use_preprocessing_;
2240 inline bool GlopParameters::use_preprocessing()
const {
2242 return _internal_use_preprocessing();
2244 inline void GlopParameters::_internal_set_use_preprocessing(
bool value) {
2245 _has_bits_[1] |= 0x00000008u;
2246 use_preprocessing_ =
value;
2248 inline void GlopParameters::set_use_preprocessing(
bool value) {
2249 _internal_set_use_preprocessing(
value);
2254 inline bool GlopParameters::_internal_has_use_middle_product_form_update()
const {
2255 bool value = (_has_bits_[1] & 0x00000010u) != 0;
2258 inline bool GlopParameters::has_use_middle_product_form_update()
const {
2259 return _internal_has_use_middle_product_form_update();
2261 inline void GlopParameters::clear_use_middle_product_form_update() {
2262 use_middle_product_form_update_ =
true;
2263 _has_bits_[1] &= ~0x00000010u;
2265 inline bool GlopParameters::_internal_use_middle_product_form_update()
const {
2266 return use_middle_product_form_update_;
2268 inline bool GlopParameters::use_middle_product_form_update()
const {
2270 return _internal_use_middle_product_form_update();
2272 inline void GlopParameters::_internal_set_use_middle_product_form_update(
bool value) {
2273 _has_bits_[1] |= 0x00000010u;
2274 use_middle_product_form_update_ =
value;
2276 inline void GlopParameters::set_use_middle_product_form_update(
bool value) {
2277 _internal_set_use_middle_product_form_update(
value);
2282 inline bool GlopParameters::_internal_has_initialize_devex_with_column_norms()
const {
2283 bool value = (_has_bits_[1] & 0x00000020u) != 0;
2286 inline bool GlopParameters::has_initialize_devex_with_column_norms()
const {
2287 return _internal_has_initialize_devex_with_column_norms();
2289 inline void GlopParameters::clear_initialize_devex_with_column_norms() {
2290 initialize_devex_with_column_norms_ =
true;
2291 _has_bits_[1] &= ~0x00000020u;
2293 inline bool GlopParameters::_internal_initialize_devex_with_column_norms()
const {
2294 return initialize_devex_with_column_norms_;
2296 inline bool GlopParameters::initialize_devex_with_column_norms()
const {
2298 return _internal_initialize_devex_with_column_norms();
2300 inline void GlopParameters::_internal_set_initialize_devex_with_column_norms(
bool value) {
2301 _has_bits_[1] |= 0x00000020u;
2302 initialize_devex_with_column_norms_ =
value;
2304 inline void GlopParameters::set_initialize_devex_with_column_norms(
bool value) {
2305 _internal_set_initialize_devex_with_column_norms(
value);
2310 inline bool GlopParameters::_internal_has_exploit_singleton_column_in_initial_basis()
const {
2311 bool value = (_has_bits_[1] & 0x00000400u) != 0;
2314 inline bool GlopParameters::has_exploit_singleton_column_in_initial_basis()
const {
2315 return _internal_has_exploit_singleton_column_in_initial_basis();
2317 inline void GlopParameters::clear_exploit_singleton_column_in_initial_basis() {
2318 exploit_singleton_column_in_initial_basis_ =
true;
2319 _has_bits_[1] &= ~0x00000400u;
2321 inline bool GlopParameters::_internal_exploit_singleton_column_in_initial_basis()
const {
2322 return exploit_singleton_column_in_initial_basis_;
2324 inline bool GlopParameters::exploit_singleton_column_in_initial_basis()
const {
2326 return _internal_exploit_singleton_column_in_initial_basis();
2328 inline void GlopParameters::_internal_set_exploit_singleton_column_in_initial_basis(
bool value) {
2329 _has_bits_[1] |= 0x00000400u;
2330 exploit_singleton_column_in_initial_basis_ =
value;
2332 inline void GlopParameters::set_exploit_singleton_column_in_initial_basis(
bool value) {
2333 _internal_set_exploit_singleton_column_in_initial_basis(
value);
2338 inline bool GlopParameters::_internal_has_dual_small_pivot_threshold()
const {
2339 bool value = (_has_bits_[0] & 0x40000000u) != 0;
2342 inline bool GlopParameters::has_dual_small_pivot_threshold()
const {
2343 return _internal_has_dual_small_pivot_threshold();
2345 inline void GlopParameters::clear_dual_small_pivot_threshold() {
2346 dual_small_pivot_threshold_ = 0.0001;
2347 _has_bits_[0] &= ~0x40000000u;
2349 inline double GlopParameters::_internal_dual_small_pivot_threshold()
const {
2350 return dual_small_pivot_threshold_;
2352 inline double GlopParameters::dual_small_pivot_threshold()
const {
2354 return _internal_dual_small_pivot_threshold();
2356 inline void GlopParameters::_internal_set_dual_small_pivot_threshold(
double value) {
2357 _has_bits_[0] |= 0x40000000u;
2358 dual_small_pivot_threshold_ =
value;
2360 inline void GlopParameters::set_dual_small_pivot_threshold(
double value) {
2361 _internal_set_dual_small_pivot_threshold(
value);
2366 inline bool GlopParameters::_internal_has_preprocessor_zero_tolerance()
const {
2367 bool value = (_has_bits_[0] & 0x80000000u) != 0;
2370 inline bool GlopParameters::has_preprocessor_zero_tolerance()
const {
2371 return _internal_has_preprocessor_zero_tolerance();
2373 inline void GlopParameters::clear_preprocessor_zero_tolerance() {
2374 preprocessor_zero_tolerance_ = 1e-09;
2375 _has_bits_[0] &= ~0x80000000u;
2377 inline double GlopParameters::_internal_preprocessor_zero_tolerance()
const {
2378 return preprocessor_zero_tolerance_;
2380 inline double GlopParameters::preprocessor_zero_tolerance()
const {
2382 return _internal_preprocessor_zero_tolerance();
2384 inline void GlopParameters::_internal_set_preprocessor_zero_tolerance(
double value) {
2385 _has_bits_[0] |= 0x80000000u;
2386 preprocessor_zero_tolerance_ =
value;
2388 inline void GlopParameters::set_preprocessor_zero_tolerance(
double value) {
2389 _internal_set_preprocessor_zero_tolerance(
value);
2394 inline bool GlopParameters::_internal_has_objective_lower_limit()
const {
2395 bool value = (_has_bits_[1] & 0x00000001u) != 0;
2398 inline bool GlopParameters::has_objective_lower_limit()
const {
2399 return _internal_has_objective_lower_limit();
2401 inline void GlopParameters::clear_objective_lower_limit() {
2402 objective_lower_limit_ = -std::numeric_limits<double>::infinity();
2403 _has_bits_[1] &= ~0x00000001u;
2405 inline double GlopParameters::_internal_objective_lower_limit()
const {
2406 return objective_lower_limit_;
2408 inline double GlopParameters::objective_lower_limit()
const {
2410 return _internal_objective_lower_limit();
2412 inline void GlopParameters::_internal_set_objective_lower_limit(
double value) {
2413 _has_bits_[1] |= 0x00000001u;
2414 objective_lower_limit_ =
value;
2416 inline void GlopParameters::set_objective_lower_limit(
double value) {
2417 _internal_set_objective_lower_limit(
value);
2422 inline bool GlopParameters::_internal_has_objective_upper_limit()
const {
2423 bool value = (_has_bits_[1] & 0x00000002u) != 0;
2426 inline bool GlopParameters::has_objective_upper_limit()
const {
2427 return _internal_has_objective_upper_limit();
2429 inline void GlopParameters::clear_objective_upper_limit() {
2430 objective_upper_limit_ = std::numeric_limits<double>::infinity();
2431 _has_bits_[1] &= ~0x00000002u;
2433 inline double GlopParameters::_internal_objective_upper_limit()
const {
2434 return objective_upper_limit_;
2436 inline double GlopParameters::objective_upper_limit()
const {
2438 return _internal_objective_upper_limit();
2440 inline void GlopParameters::_internal_set_objective_upper_limit(
double value) {
2441 _has_bits_[1] |= 0x00000002u;
2442 objective_upper_limit_ =
value;
2444 inline void GlopParameters::set_objective_upper_limit(
double value) {
2445 _internal_set_objective_upper_limit(
value);
2450 inline bool GlopParameters::_internal_has_degenerate_ministep_factor()
const {
2451 bool value = (_has_bits_[1] & 0x00000080u) != 0;
2454 inline bool GlopParameters::has_degenerate_ministep_factor()
const {
2455 return _internal_has_degenerate_ministep_factor();
2457 inline void GlopParameters::clear_degenerate_ministep_factor() {
2458 degenerate_ministep_factor_ = 0.01;
2459 _has_bits_[1] &= ~0x00000080u;
2461 inline double GlopParameters::_internal_degenerate_ministep_factor()
const {
2462 return degenerate_ministep_factor_;
2464 inline double GlopParameters::degenerate_ministep_factor()
const {
2466 return _internal_degenerate_ministep_factor();
2468 inline void GlopParameters::_internal_set_degenerate_ministep_factor(
double value) {
2469 _has_bits_[1] |= 0x00000080u;
2470 degenerate_ministep_factor_ =
value;
2472 inline void GlopParameters::set_degenerate_ministep_factor(
double value) {
2473 _internal_set_degenerate_ministep_factor(
value);
2478 inline bool GlopParameters::_internal_has_random_seed()
const {
2479 bool value = (_has_bits_[1] & 0x00000040u) != 0;
2482 inline bool GlopParameters::has_random_seed()
const {
2483 return _internal_has_random_seed();
2485 inline void GlopParameters::clear_random_seed() {
2487 _has_bits_[1] &= ~0x00000040u;
2489 inline ::PROTOBUF_NAMESPACE_ID::int32 GlopParameters::_internal_random_seed()
const {
2490 return random_seed_;
2492 inline ::PROTOBUF_NAMESPACE_ID::int32 GlopParameters::random_seed()
const {
2494 return _internal_random_seed();
2496 inline void GlopParameters::_internal_set_random_seed(::PROTOBUF_NAMESPACE_ID::int32
value) {
2497 _has_bits_[1] |= 0x00000040u;
2498 random_seed_ =
value;
2500 inline void GlopParameters::set_random_seed(::PROTOBUF_NAMESPACE_ID::int32
value) {
2501 _internal_set_random_seed(
value);
2506 inline bool GlopParameters::_internal_has_num_omp_threads()
const {
2507 bool value = (_has_bits_[1] & 0x00000200u) != 0;
2510 inline bool GlopParameters::has_num_omp_threads()
const {
2511 return _internal_has_num_omp_threads();
2513 inline void GlopParameters::clear_num_omp_threads() {
2514 num_omp_threads_ = 1;
2515 _has_bits_[1] &= ~0x00000200u;
2517 inline ::PROTOBUF_NAMESPACE_ID::int32 GlopParameters::_internal_num_omp_threads()
const {
2518 return num_omp_threads_;
2520 inline ::PROTOBUF_NAMESPACE_ID::int32 GlopParameters::num_omp_threads()
const {
2522 return _internal_num_omp_threads();
2524 inline void GlopParameters::_internal_set_num_omp_threads(::PROTOBUF_NAMESPACE_ID::int32
value) {
2525 _has_bits_[1] |= 0x00000200u;
2526 num_omp_threads_ =
value;
2528 inline void GlopParameters::set_num_omp_threads(::PROTOBUF_NAMESPACE_ID::int32
value) {
2529 _internal_set_num_omp_threads(
value);
2534 inline bool GlopParameters::_internal_has_perturb_costs_in_dual_simplex()
const {
2535 bool value = (_has_bits_[0] & 0x00000004u) != 0;
2538 inline bool GlopParameters::has_perturb_costs_in_dual_simplex()
const {
2539 return _internal_has_perturb_costs_in_dual_simplex();
2541 inline void GlopParameters::clear_perturb_costs_in_dual_simplex() {
2542 perturb_costs_in_dual_simplex_ =
false;
2543 _has_bits_[0] &= ~0x00000004u;
2545 inline bool GlopParameters::_internal_perturb_costs_in_dual_simplex()
const {
2546 return perturb_costs_in_dual_simplex_;
2548 inline bool GlopParameters::perturb_costs_in_dual_simplex()
const {
2550 return _internal_perturb_costs_in_dual_simplex();
2552 inline void GlopParameters::_internal_set_perturb_costs_in_dual_simplex(
bool value) {
2553 _has_bits_[0] |= 0x00000004u;
2554 perturb_costs_in_dual_simplex_ =
value;
2556 inline void GlopParameters::set_perturb_costs_in_dual_simplex(
bool value) {
2557 _internal_set_perturb_costs_in_dual_simplex(
value);
2562 inline bool GlopParameters::_internal_has_use_dedicated_dual_feasibility_algorithm()
const {
2563 bool value = (_has_bits_[1] & 0x00000800u) != 0;
2566 inline bool GlopParameters::has_use_dedicated_dual_feasibility_algorithm()
const {
2567 return _internal_has_use_dedicated_dual_feasibility_algorithm();
2569 inline void GlopParameters::clear_use_dedicated_dual_feasibility_algorithm() {
2570 use_dedicated_dual_feasibility_algorithm_ =
true;
2571 _has_bits_[1] &= ~0x00000800u;
2573 inline bool GlopParameters::_internal_use_dedicated_dual_feasibility_algorithm()
const {
2574 return use_dedicated_dual_feasibility_algorithm_;
2576 inline bool GlopParameters::use_dedicated_dual_feasibility_algorithm()
const {
2578 return _internal_use_dedicated_dual_feasibility_algorithm();
2580 inline void GlopParameters::_internal_set_use_dedicated_dual_feasibility_algorithm(
bool value) {
2581 _has_bits_[1] |= 0x00000800u;
2582 use_dedicated_dual_feasibility_algorithm_ =
value;
2584 inline void GlopParameters::set_use_dedicated_dual_feasibility_algorithm(
bool value) {
2585 _internal_set_use_dedicated_dual_feasibility_algorithm(
value);
2590 inline bool GlopParameters::_internal_has_relative_cost_perturbation()
const {
2591 bool value = (_has_bits_[1] & 0x00002000u) != 0;
2594 inline bool GlopParameters::has_relative_cost_perturbation()
const {
2595 return _internal_has_relative_cost_perturbation();
2597 inline void GlopParameters::clear_relative_cost_perturbation() {
2598 relative_cost_perturbation_ = 1e-05;
2599 _has_bits_[1] &= ~0x00002000u;
2601 inline double GlopParameters::_internal_relative_cost_perturbation()
const {
2602 return relative_cost_perturbation_;
2604 inline double GlopParameters::relative_cost_perturbation()
const {
2606 return _internal_relative_cost_perturbation();
2608 inline void GlopParameters::_internal_set_relative_cost_perturbation(
double value) {
2609 _has_bits_[1] |= 0x00002000u;
2610 relative_cost_perturbation_ =
value;
2612 inline void GlopParameters::set_relative_cost_perturbation(
double value) {
2613 _internal_set_relative_cost_perturbation(
value);
2618 inline bool GlopParameters::_internal_has_relative_max_cost_perturbation()
const {
2619 bool value = (_has_bits_[1] & 0x00004000u) != 0;
2622 inline bool GlopParameters::has_relative_max_cost_perturbation()
const {
2623 return _internal_has_relative_max_cost_perturbation();
2625 inline void GlopParameters::clear_relative_max_cost_perturbation() {
2626 relative_max_cost_perturbation_ = 1e-07;
2627 _has_bits_[1] &= ~0x00004000u;
2629 inline double GlopParameters::_internal_relative_max_cost_perturbation()
const {
2630 return relative_max_cost_perturbation_;
2632 inline double GlopParameters::relative_max_cost_perturbation()
const {
2634 return _internal_relative_max_cost_perturbation();
2636 inline void GlopParameters::_internal_set_relative_max_cost_perturbation(
double value) {
2637 _has_bits_[1] |= 0x00004000u;
2638 relative_max_cost_perturbation_ =
value;
2640 inline void GlopParameters::set_relative_max_cost_perturbation(
double value) {
2641 _internal_set_relative_max_cost_perturbation(
value);
2646 inline bool GlopParameters::_internal_has_initial_condition_number_threshold()
const {
2647 bool value = (_has_bits_[1] & 0x00040000u) != 0;
2650 inline bool GlopParameters::has_initial_condition_number_threshold()
const {
2651 return _internal_has_initial_condition_number_threshold();
2653 inline void GlopParameters::clear_initial_condition_number_threshold() {
2654 initial_condition_number_threshold_ = 1e+50;
2655 _has_bits_[1] &= ~0x00040000u;
2657 inline double GlopParameters::_internal_initial_condition_number_threshold()
const {
2658 return initial_condition_number_threshold_;
2660 inline double GlopParameters::initial_condition_number_threshold()
const {
2662 return _internal_initial_condition_number_threshold();
2664 inline void GlopParameters::_internal_set_initial_condition_number_threshold(
double value) {
2665 _has_bits_[1] |= 0x00040000u;
2666 initial_condition_number_threshold_ =
value;
2668 inline void GlopParameters::set_initial_condition_number_threshold(
double value) {
2669 _internal_set_initial_condition_number_threshold(
value);
2674 inline bool GlopParameters::_internal_has_log_search_progress()
const {
2675 bool value = (_has_bits_[0] & 0x00000008u) != 0;
2678 inline bool GlopParameters::has_log_search_progress()
const {
2679 return _internal_has_log_search_progress();
2681 inline void GlopParameters::clear_log_search_progress() {
2682 log_search_progress_ =
false;
2683 _has_bits_[0] &= ~0x00000008u;
2685 inline bool GlopParameters::_internal_log_search_progress()
const {
2686 return log_search_progress_;
2688 inline bool GlopParameters::log_search_progress()
const {
2690 return _internal_log_search_progress();
2692 inline void GlopParameters::_internal_set_log_search_progress(
bool value) {
2693 _has_bits_[0] |= 0x00000008u;
2694 log_search_progress_ =
value;
2696 inline void GlopParameters::set_log_search_progress(
bool value) {
2697 _internal_set_log_search_progress(
value);
2702 #pragma GCC diagnostic pop
2710 PROTOBUF_NAMESPACE_OPEN
2714 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::glop::GlopParameters_ScalingAlgorithm>() {
2719 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::glop::GlopParameters_SolverBehavior>() {
2724 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::glop::GlopParameters_PricingRule>() {
2729 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::glop::GlopParameters_InitialBasisHeuristic>() {
2734 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::glop::GlopParameters_CostScalingAlgorithm>() {
2738 PROTOBUF_NAMESPACE_CLOSE
2742 #include <google/protobuf/port_undef.inc>
bool has_solve_dual_problem() const
void set_lu_factorization_pivot_threshold(double value)
double max_deterministic_time() const
void clear_initial_condition_number_threshold()
void clear_num_omp_threads()
bool has_change_status_to_imprecise() const
static bool CostScalingAlgorithm_IsValid(int value)
GlopParameters(GlopParameters &&from) noexcept
bool initialize_devex_with_column_norms() const
bool use_dual_simplex() const
void clear_solve_dual_problem()
bool has_cost_scaling() const
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * SolverBehavior_descriptor()
bool has_max_number_of_iterations() const
double primal_feasibility_tolerance() const
void clear_recompute_reduced_costs_threshold()
void set_optimization_rule(::operations_research::glop::GlopParameters_PricingRule value)
bool has_relative_max_cost_perturbation() const
double recompute_edges_norm_threshold() const
void clear_objective_lower_limit()
::operations_research::glop::GlopParameters_PricingRule optimization_rule() const
bool has_solution_feasibility_tolerance() const
void clear_use_middle_product_form_update()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
GlopParameters & operator=(GlopParameters &&from) noexcept
double refactorization_threshold() const
bool log_search_progress() const
void clear_use_dedicated_dual_feasibility_algorithm()
static bool CostScalingAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CostScalingAlgorithm *value)
void set_harris_tolerance_ratio(double value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool allow_simplex_algorithm_change() const
void clear_exploit_singleton_column_in_initial_basis()
double markowitz_singularity_threshold() const
void clear_max_deterministic_time()
void set_relative_cost_perturbation(double value)
void set_markowitz_singularity_threshold(double value)
void clear_use_dual_simplex()
::operations_research::glop::GlopParameters_PricingRule feasibility_rule() const
bool has_degenerate_ministep_factor() const
void clear_solution_feasibility_tolerance()
bool has_dualizer_threshold() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
bool has_random_seed() const
double dual_small_pivot_threshold() const
void set_dual_small_pivot_threshold(double value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ScalingAlgorithm_descriptor()
void clear_feasibility_rule()
bool has_use_transposed_matrix() const
void set_scaling_method(::operations_research::glop::GlopParameters_ScalingAlgorithm value)
bool has_use_dual_simplex() const
void clear_recompute_edges_norm_threshold()
bool use_dedicated_dual_feasibility_algorithm() const
bool has_allow_simplex_algorithm_change() const
bool has_ratio_test_zero_threshold() const
void set_max_number_of_iterations(::PROTOBUF_NAMESPACE_ID::int64 value)
void clear_small_pivot_threshold()
void clear_markowitz_singularity_threshold()
GlopParameters * New() const final
double harris_tolerance_ratio() const
double max_number_of_reoptimizations() const
::operations_research::glop::GlopParameters_InitialBasisHeuristic initial_basis() const
void clear_devex_weights_reset_period()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void clear_degenerate_ministep_factor()
void clear_initial_basis()
void clear_max_number_of_reoptimizations()
void set_allow_simplex_algorithm_change(bool value)
void set_solve_dual_problem(::operations_research::glop::GlopParameters_SolverBehavior value)
GlopParameters * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CostScalingAlgorithm_descriptor()
void set_initialize_devex_with_column_norms(bool value)
static const std::string & InitialBasisHeuristic_Name(T enum_t_value)
void clear_change_status_to_imprecise()
bool change_status_to_imprecise() const
bool has_initialize_devex_with_column_norms() const
void set_recompute_edges_norm_threshold(double value)
void clear_relative_max_cost_perturbation()
bool use_middle_product_form_update() const
bool has_recompute_edges_norm_threshold() const
void set_ratio_test_zero_threshold(double value)
bool has_feasibility_rule() const
double drop_tolerance() const
bool use_transposed_matrix() const
::PROTOBUF_NAMESPACE_ID::int32 markowitz_zlatev_parameter() const
::PROTOBUF_NAMESPACE_ID::int32 num_omp_threads() const
double preprocessor_zero_tolerance() const
void set_minimum_acceptable_pivot(double value)
GlopParameters(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void clear_perturb_costs_in_dual_simplex()
static bool ScalingAlgorithm_IsValid(int value)
void clear_initialize_devex_with_column_norms()
void clear_drop_tolerance()
double minimum_acceptable_pivot() const
void clear_refactorization_threshold()
GlopParameters & operator=(const GlopParameters &from)
void clear_use_preprocessing()
void set_use_transposed_matrix(bool value)
static bool SolverBehavior_IsValid(int value)
void clear_provide_strong_optimal_guarantee()
void UnsafeArenaSwap(GlopParameters *other)
bool has_initial_basis() const
bool has_use_middle_product_form_update() const
static bool InitialBasisHeuristic_IsValid(int value)
constexpr GlopParameters(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
double dual_feasibility_tolerance() const
static const std::string & SolverBehavior_Name(T enum_t_value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * InitialBasisHeuristic_descriptor()
bool perturb_costs_in_dual_simplex() const
bool has_max_number_of_reoptimizations() const
double initial_condition_number_threshold() const
void set_dual_feasibility_tolerance(double value)
void set_cost_scaling(::operations_research::glop::GlopParameters_CostScalingAlgorithm value)
bool has_optimization_rule() const
double ratio_test_zero_threshold() const
void clear_max_number_of_iterations()
double solution_feasibility_tolerance() const
bool dynamically_adjust_refactorization_period() const
double dualizer_threshold() const
void set_dualizer_threshold(double value)
void set_drop_tolerance(double value)
bool has_basis_refactorization_period() const
bool has_objective_upper_limit() const
GlopParameters_SolverBehavior SolverBehavior
bool has_primal_feasibility_tolerance() const
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_max_deterministic_time(double value)
bool has_minimum_acceptable_pivot() const
static const std::string & PricingRule_Name(T enum_t_value)
bool has_small_pivot_threshold() const
bool has_use_scaling() const
static bool PricingRule_IsValid(int value)
double lu_factorization_pivot_threshold() const
static const std::string & CostScalingAlgorithm_Name(T enum_t_value)
void set_max_number_of_reoptimizations(double value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * PricingRule_descriptor()
void clear_relative_cost_perturbation()
friend void swap(GlopParameters &a, GlopParameters &b)
void set_feasibility_rule(::operations_research::glop::GlopParameters_PricingRule value)
void set_exploit_singleton_column_in_initial_basis(bool value)
void set_refactorization_threshold(double value)
double relative_cost_perturbation() const
::PROTOBUF_NAMESPACE_ID::int64 max_number_of_iterations() const
void set_objective_lower_limit(double value)
double relative_max_cost_perturbation() const
static const GlopParameters & default_instance()
::operations_research::glop::GlopParameters_CostScalingAlgorithm cost_scaling() const
static const GlopParameters * internal_default_instance()
bool has_relative_cost_perturbation() const
void clear_minimum_acceptable_pivot()
void set_provide_strong_optimal_guarantee(bool value)
double objective_lower_limit() const
void clear_preprocessor_zero_tolerance()
::PROTOBUF_NAMESPACE_ID::int32 devex_weights_reset_period() const
void set_markowitz_zlatev_parameter(::PROTOBUF_NAMESPACE_ID::int32 value)
bool has_max_time_in_seconds() const
void clear_dualizer_threshold()
virtual ~GlopParameters()
void MergeFrom(const GlopParameters &from)
void clear_objective_upper_limit()
void set_random_seed(::PROTOBUF_NAMESPACE_ID::int32 value)
GlopParameters_PricingRule PricingRule
void set_initial_basis(::operations_research::glop::GlopParameters_InitialBasisHeuristic value)
::PROTOBUF_NAMESPACE_ID::int32 basis_refactorization_period() const
void clear_log_search_progress()
bool has_refactorization_threshold() const
void Swap(GlopParameters *other)
bool has_use_dedicated_dual_feasibility_algorithm() const
void set_use_preprocessing(bool value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
double degenerate_ministep_factor() const
bool has_recompute_reduced_costs_threshold() const
void set_use_scaling(bool value)
void set_log_search_progress(bool value)
void clear_ratio_test_zero_threshold()
void set_devex_weights_reset_period(::PROTOBUF_NAMESPACE_ID::int32 value)
bool has_max_deterministic_time() const
bool has_preprocessor_zero_tolerance() const
::operations_research::glop::GlopParameters_SolverBehavior solve_dual_problem() const
void clear_cost_scaling()
::PROTOBUF_NAMESPACE_ID::int32 random_seed() const
GlopParameters_ScalingAlgorithm ScalingAlgorithm
bool has_drop_tolerance() const
static const std::string & ScalingAlgorithm_Name(T enum_t_value)
void clear_max_time_in_seconds()
double small_pivot_threshold() const
bool has_dual_small_pivot_threshold() const
bool has_markowitz_zlatev_parameter() const
void CopyFrom(const GlopParameters &from)
double recompute_reduced_costs_threshold() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
bool has_dynamically_adjust_refactorization_period() const
bool has_use_preprocessing() const
void clear_dual_feasibility_tolerance()
static bool ScalingAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ScalingAlgorithm *value)
void clear_markowitz_zlatev_parameter()
double max_time_in_seconds() const
void clear_lu_factorization_pivot_threshold()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void clear_basis_refactorization_period()
GlopParameters(const GlopParameters &from)
bool has_markowitz_singularity_threshold() const
double objective_upper_limit() const
void set_basis_refactorization_period(::PROTOBUF_NAMESPACE_ID::int32 value)
bool has_dual_feasibility_tolerance() const
void set_objective_upper_limit(double value)
bool exploit_singleton_column_in_initial_basis() const
void set_dynamically_adjust_refactorization_period(bool value)
bool has_objective_lower_limit() const
bool has_provide_strong_optimal_guarantee() const
bool has_log_search_progress() const
static bool InitialBasisHeuristic_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InitialBasisHeuristic *value)
void set_relative_max_cost_perturbation(double value)
void set_use_dedicated_dual_feasibility_algorithm(bool value)
void clear_optimization_rule()
GlopParameters_InitialBasisHeuristic InitialBasisHeuristic
bool has_harris_tolerance_ratio() const
bool use_preprocessing() const
void clear_allow_simplex_algorithm_change()
void set_max_time_in_seconds(double value)
::operations_research::glop::GlopParameters_ScalingAlgorithm scaling_method() const
bool has_num_omp_threads() const
void set_change_status_to_imprecise(bool value)
void set_small_pivot_threshold(double value)
void set_perturb_costs_in_dual_simplex(bool value)
void set_initial_condition_number_threshold(double value)
void set_degenerate_ministep_factor(double value)
bool has_lu_factorization_pivot_threshold() const
void set_recompute_reduced_costs_threshold(double value)
bool provide_strong_optimal_guarantee() const
void clear_dynamically_adjust_refactorization_period()
void set_primal_feasibility_tolerance(double value)
void clear_primal_feasibility_tolerance()
void set_num_omp_threads(::PROTOBUF_NAMESPACE_ID::int32 value)
bool has_devex_weights_reset_period() const
void set_preprocessor_zero_tolerance(double value)
bool has_exploit_singleton_column_in_initial_basis() const
void set_use_middle_product_form_update(bool value)
void clear_harris_tolerance_ratio()
bool has_perturb_costs_in_dual_simplex() const
void clear_use_transposed_matrix()
void set_use_dual_simplex(bool value)
GlopParameters_CostScalingAlgorithm CostScalingAlgorithm
void clear_scaling_method()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_solution_feasibility_tolerance(double value)
void clear_dual_small_pivot_threshold()
static bool PricingRule_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PricingRule *value)
static bool SolverBehavior_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolverBehavior *value)
bool has_scaling_method() const
bool has_initial_condition_number_threshold() const
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GlopParameters_PricingRule_descriptor()
constexpr GlopParameters_InitialBasisHeuristic GlopParameters_InitialBasisHeuristic_InitialBasisHeuristic_MAX
constexpr int GlopParameters_CostScalingAlgorithm_CostScalingAlgorithm_ARRAYSIZE
bool GlopParameters_CostScalingAlgorithm_IsValid(int value)
constexpr GlopParameters_PricingRule GlopParameters_PricingRule_PricingRule_MIN
bool GlopParameters_InitialBasisHeuristic_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GlopParameters_InitialBasisHeuristic *value)
constexpr int GlopParameters_SolverBehavior_SolverBehavior_ARRAYSIZE
GlopParameters_SolverBehavior
@ GlopParameters_SolverBehavior_ALWAYS_DO
@ GlopParameters_SolverBehavior_LET_SOLVER_DECIDE
@ GlopParameters_SolverBehavior_NEVER_DO
const std::string & GlopParameters_CostScalingAlgorithm_Name(T enum_t_value)
constexpr int GlopParameters_InitialBasisHeuristic_InitialBasisHeuristic_ARRAYSIZE
const std::string & GlopParameters_InitialBasisHeuristic_Name(T enum_t_value)
constexpr GlopParameters_ScalingAlgorithm GlopParameters_ScalingAlgorithm_ScalingAlgorithm_MIN
const std::string & GlopParameters_ScalingAlgorithm_Name(T enum_t_value)
bool GlopParameters_CostScalingAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GlopParameters_CostScalingAlgorithm *value)
constexpr int GlopParameters_PricingRule_PricingRule_ARRAYSIZE
constexpr GlopParameters_ScalingAlgorithm GlopParameters_ScalingAlgorithm_ScalingAlgorithm_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GlopParameters_ScalingAlgorithm_descriptor()
bool GlopParameters_InitialBasisHeuristic_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GlopParametersDefaultTypeInternal _GlopParameters_default_instance_
constexpr GlopParameters_PricingRule GlopParameters_PricingRule_PricingRule_MAX
constexpr int GlopParameters_ScalingAlgorithm_ScalingAlgorithm_ARRAYSIZE
bool GlopParameters_SolverBehavior_IsValid(int value)
GlopParameters_ScalingAlgorithm
@ GlopParameters_ScalingAlgorithm_LINEAR_PROGRAM
@ GlopParameters_ScalingAlgorithm_EQUILIBRATION
@ GlopParameters_ScalingAlgorithm_DEFAULT
constexpr GlopParameters_CostScalingAlgorithm GlopParameters_CostScalingAlgorithm_CostScalingAlgorithm_MIN
GlopParameters_PricingRule
@ GlopParameters_PricingRule_DANTZIG
@ GlopParameters_PricingRule_DEVEX
@ GlopParameters_PricingRule_STEEPEST_EDGE
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GlopParameters_SolverBehavior_descriptor()
constexpr GlopParameters_CostScalingAlgorithm GlopParameters_CostScalingAlgorithm_CostScalingAlgorithm_MAX
constexpr GlopParameters_InitialBasisHeuristic GlopParameters_InitialBasisHeuristic_InitialBasisHeuristic_MIN
const std::string & GlopParameters_SolverBehavior_Name(T enum_t_value)
constexpr GlopParameters_SolverBehavior GlopParameters_SolverBehavior_SolverBehavior_MIN
GlopParameters_CostScalingAlgorithm
@ GlopParameters_CostScalingAlgorithm_MEAN_COST_SCALING
@ GlopParameters_CostScalingAlgorithm_NO_COST_SCALING
@ GlopParameters_CostScalingAlgorithm_MEDIAN_COST_SCALING
@ GlopParameters_CostScalingAlgorithm_CONTAIN_ONE_COST_SCALING
bool GlopParameters_ScalingAlgorithm_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GlopParameters_ScalingAlgorithm *value)
constexpr GlopParameters_SolverBehavior GlopParameters_SolverBehavior_SolverBehavior_MAX
bool GlopParameters_PricingRule_IsValid(int value)
bool GlopParameters_ScalingAlgorithm_IsValid(int value)
GlopParameters_InitialBasisHeuristic
@ GlopParameters_InitialBasisHeuristic_BIXBY
@ GlopParameters_InitialBasisHeuristic_TRIANGULAR
@ GlopParameters_InitialBasisHeuristic_NONE
@ GlopParameters_InitialBasisHeuristic_MAROS
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GlopParameters_InitialBasisHeuristic_descriptor()
bool GlopParameters_SolverBehavior_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GlopParameters_SolverBehavior *value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GlopParameters_CostScalingAlgorithm_descriptor()
const std::string & GlopParameters_PricingRule_Name(T enum_t_value)
bool GlopParameters_PricingRule_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GlopParameters_PricingRule *value)
Collection of objects used to extend the Constraint Solver library.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fglop_2fparameters_2eproto
::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_ortools_2fglop_2fparameters_2eproto_metadata_getter(int index)