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 < 3014000
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 3014000 < 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[];
60 class GlopParametersDefaultTypeInternal;
64 PROTOBUF_NAMESPACE_OPEN
65 template<> ::operations_research::glop::GlopParameters* Arena::CreateMaybeMessage<::operations_research::glop::GlopParameters>(Arena*);
66 PROTOBUF_NAMESPACE_CLOSE
85 "Incorrect type passed to function GlopParameters_ScalingAlgorithm_Name.");
86 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
91 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GlopParameters_ScalingAlgorithm>(
109 "Incorrect type passed to function GlopParameters_SolverBehavior_Name.");
110 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
115 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GlopParameters_SolverBehavior>(
133 "Incorrect type passed to function GlopParameters_PricingRule_Name.");
134 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
139 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GlopParameters_PricingRule>(
158 "Incorrect type passed to function GlopParameters_InitialBasisHeuristic_Name.");
159 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
164 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GlopParameters_InitialBasisHeuristic>(
183 "Incorrect type passed to function GlopParameters_CostScalingAlgorithm_Name.");
184 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
189 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GlopParameters_CostScalingAlgorithm>(
195 public ::PROTOBUF_NAMESPACE_ID::Message {
203 *
this = ::std::move(from);
206 inline GlopParameters&
operator=(
const GlopParameters& from) {
210 inline GlopParameters&
operator=(GlopParameters&& from) noexcept {
211 if (GetArena() == from.GetArena()) {
212 if (
this != &from) InternalSwap(&from);
220 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
223 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
226 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
227 return GetDescriptor();
230 return GetMetadataStatic().descriptor;
233 return GetMetadataStatic().reflection;
238 return reinterpret_cast<const GlopParameters*
>(
241 static constexpr
int kIndexInFileMessages =
244 friend void swap(GlopParameters&
a, GlopParameters&
b) {
247 inline void Swap(GlopParameters* other) {
248 if (other ==
this)
return;
249 if (GetArena() == other->GetArena()) {
252 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
256 if (other ==
this)
return;
257 GOOGLE_DCHECK(GetArena() == other->GetArena());
263 inline GlopParameters*
New() const final {
264 return CreateMaybeMessage<GlopParameters>(
nullptr);
267 GlopParameters*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
268 return CreateMaybeMessage<GlopParameters>(arena);
270 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
271 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
274 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
275 bool IsInitialized() const final;
277 size_t ByteSizeLong() const final;
278 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
279 ::PROTOBUF_NAMESPACE_ID::
uint8* _InternalSerialize(
280 ::PROTOBUF_NAMESPACE_ID::
uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
281 int GetCachedSize() const final {
return _cached_size_.Get(); }
284 inline void SharedCtor();
285 inline void SharedDtor();
286 void SetCachedSize(
int size)
const final;
287 void InternalSwap(GlopParameters* other);
288 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
289 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
290 return "operations_research.glop.GlopParameters";
295 static void ArenaDtor(
void*
object);
296 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
301 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
324 static constexpr
int ScalingAlgorithm_ARRAYSIZE =
326 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
334 "Incorrect type passed to function ScalingAlgorithm_Name.");
356 static constexpr
int SolverBehavior_ARRAYSIZE =
358 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
366 "Incorrect type passed to function SolverBehavior_Name.");
388 static constexpr
int PricingRule_ARRAYSIZE =
390 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
398 "Incorrect type passed to function PricingRule_Name.");
422 static constexpr
int InitialBasisHeuristic_ARRAYSIZE =
424 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
432 "Incorrect type passed to function InitialBasisHeuristic_Name.");
456 static constexpr
int CostScalingAlgorithm_ARRAYSIZE =
458 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
466 "Incorrect type passed to function CostScalingAlgorithm_Name.");
477 kUseDualSimplexFieldNumber = 31,
478 kAllowSimplexAlgorithmChangeFieldNumber = 32,
479 kPerturbCostsInDualSimplexFieldNumber = 53,
480 kFeasibilityRuleFieldNumber = 1,
481 kOptimizationRuleFieldNumber = 2,
482 kRefactorizationThresholdFieldNumber = 6,
483 kRecomputeReducedCostsThresholdFieldNumber = 8,
484 kRecomputeEdgesNormThresholdFieldNumber = 9,
485 kPrimalFeasibilityToleranceFieldNumber = 10,
486 kDualFeasibilityToleranceFieldNumber = 11,
487 kRatioTestZeroThresholdFieldNumber = 12,
488 kNormalizeUsingColumnNormFieldNumber = 4,
489 kUseNestedPricingFieldNumber = 5,
490 kUseScalingFieldNumber = 16,
491 kUseTransposedMatrixFieldNumber = 18,
492 kInitialBasisFieldNumber = 17,
493 kHarrisToleranceRatioFieldNumber = 13,
494 kSmallPivotThresholdFieldNumber = 14,
495 kMinimumAcceptablePivotFieldNumber = 15,
496 kBasisRefactorizationPeriodFieldNumber = 19,
497 kSolveDualProblemFieldNumber = 20,
498 kDualizerThresholdFieldNumber = 21,
499 kSolutionFeasibilityToleranceFieldNumber = 22,
500 kLuFactorizationPivotThresholdFieldNumber = 25,
501 kMaxTimeInSecondsFieldNumber = 26,
502 kMaxNumberOfIterationsFieldNumber = 27,
503 kMarkowitzSingularityThresholdFieldNumber = 30,
504 kMarkowitzZlatevParameterFieldNumber = 29,
505 kDevexWeightsResetPeriodFieldNumber = 33,
506 kInitializeDevexWithColumnNormsFieldNumber = 36,
507 kExploitSingletonColumnInInitialBasisFieldNumber = 37,
508 kProvideStrongOptimalGuaranteeFieldNumber = 24,
509 kChangeStatusToImpreciseFieldNumber = 58,
510 kUsePreprocessingFieldNumber = 34,
511 kUseMiddleProductFormUpdateFieldNumber = 35,
512 kDualSmallPivotThresholdFieldNumber = 38,
513 kPreprocessorZeroToleranceFieldNumber = 39,
514 kObjectiveLowerLimitFieldNumber = 40,
515 kObjectiveUpperLimitFieldNumber = 41,
516 kDegenerateMinistepFactorFieldNumber = 42,
517 kRandomSeedFieldNumber = 43,
518 kNumOmpThreadsFieldNumber = 44,
519 kMaxDeterministicTimeFieldNumber = 45,
520 kDropToleranceFieldNumber = 52,
521 kRelativeCostPerturbationFieldNumber = 54,
522 kRelativeMaxCostPerturbationFieldNumber = 55,
523 kMaxNumberOfReoptimizationsFieldNumber = 56,
524 kScalingMethodFieldNumber = 57,
525 kCostScalingFieldNumber = 60,
526 kInitialConditionNumberThresholdFieldNumber = 59,
531 bool _internal_has_use_dual_simplex()
const;
537 bool _internal_use_dual_simplex()
const;
538 void _internal_set_use_dual_simplex(
bool value);
544 bool _internal_has_allow_simplex_algorithm_change()
const;
550 bool _internal_allow_simplex_algorithm_change()
const;
551 void _internal_set_allow_simplex_algorithm_change(
bool value);
557 bool _internal_has_perturb_costs_in_dual_simplex()
const;
563 bool _internal_perturb_costs_in_dual_simplex()
const;
564 void _internal_set_perturb_costs_in_dual_simplex(
bool value);
570 bool _internal_has_feasibility_rule()
const;
583 bool _internal_has_optimization_rule()
const;
596 bool _internal_has_refactorization_threshold()
const;
602 double _internal_refactorization_threshold()
const;
603 void _internal_set_refactorization_threshold(
double value);
609 bool _internal_has_recompute_reduced_costs_threshold()
const;
615 double _internal_recompute_reduced_costs_threshold()
const;
616 void _internal_set_recompute_reduced_costs_threshold(
double value);
622 bool _internal_has_recompute_edges_norm_threshold()
const;
628 double _internal_recompute_edges_norm_threshold()
const;
629 void _internal_set_recompute_edges_norm_threshold(
double value);
635 bool _internal_has_primal_feasibility_tolerance()
const;
641 double _internal_primal_feasibility_tolerance()
const;
642 void _internal_set_primal_feasibility_tolerance(
double value);
648 bool _internal_has_dual_feasibility_tolerance()
const;
654 double _internal_dual_feasibility_tolerance()
const;
655 void _internal_set_dual_feasibility_tolerance(
double value);
661 bool _internal_has_ratio_test_zero_threshold()
const;
667 double _internal_ratio_test_zero_threshold()
const;
668 void _internal_set_ratio_test_zero_threshold(
double value);
674 bool _internal_has_normalize_using_column_norm()
const;
680 bool _internal_normalize_using_column_norm()
const;
681 void _internal_set_normalize_using_column_norm(
bool value);
687 bool _internal_has_use_nested_pricing()
const;
693 bool _internal_use_nested_pricing()
const;
694 void _internal_set_use_nested_pricing(
bool value);
700 bool _internal_has_use_scaling()
const;
706 bool _internal_use_scaling()
const;
707 void _internal_set_use_scaling(
bool value);
713 bool _internal_has_use_transposed_matrix()
const;
719 bool _internal_use_transposed_matrix()
const;
720 void _internal_set_use_transposed_matrix(
bool value);
726 bool _internal_has_initial_basis()
const;
739 bool _internal_has_harris_tolerance_ratio()
const;
745 double _internal_harris_tolerance_ratio()
const;
746 void _internal_set_harris_tolerance_ratio(
double value);
752 bool _internal_has_small_pivot_threshold()
const;
758 double _internal_small_pivot_threshold()
const;
759 void _internal_set_small_pivot_threshold(
double value);
765 bool _internal_has_minimum_acceptable_pivot()
const;
771 double _internal_minimum_acceptable_pivot()
const;
772 void _internal_set_minimum_acceptable_pivot(
double value);
778 bool _internal_has_basis_refactorization_period()
const;
791 bool _internal_has_solve_dual_problem()
const;
804 bool _internal_has_dualizer_threshold()
const;
810 double _internal_dualizer_threshold()
const;
811 void _internal_set_dualizer_threshold(
double value);
817 bool _internal_has_solution_feasibility_tolerance()
const;
823 double _internal_solution_feasibility_tolerance()
const;
824 void _internal_set_solution_feasibility_tolerance(
double value);
830 bool _internal_has_lu_factorization_pivot_threshold()
const;
836 double _internal_lu_factorization_pivot_threshold()
const;
837 void _internal_set_lu_factorization_pivot_threshold(
double value);
843 bool _internal_has_max_time_in_seconds()
const;
849 double _internal_max_time_in_seconds()
const;
850 void _internal_set_max_time_in_seconds(
double value);
856 bool _internal_has_max_number_of_iterations()
const;
869 bool _internal_has_markowitz_singularity_threshold()
const;
875 double _internal_markowitz_singularity_threshold()
const;
876 void _internal_set_markowitz_singularity_threshold(
double value);
882 bool _internal_has_markowitz_zlatev_parameter()
const;
895 bool _internal_has_devex_weights_reset_period()
const;
908 bool _internal_has_initialize_devex_with_column_norms()
const;
914 bool _internal_initialize_devex_with_column_norms()
const;
915 void _internal_set_initialize_devex_with_column_norms(
bool value);
921 bool _internal_has_exploit_singleton_column_in_initial_basis()
const;
927 bool _internal_exploit_singleton_column_in_initial_basis()
const;
928 void _internal_set_exploit_singleton_column_in_initial_basis(
bool value);
934 bool _internal_has_provide_strong_optimal_guarantee()
const;
940 bool _internal_provide_strong_optimal_guarantee()
const;
941 void _internal_set_provide_strong_optimal_guarantee(
bool value);
947 bool _internal_has_change_status_to_imprecise()
const;
953 bool _internal_change_status_to_imprecise()
const;
954 void _internal_set_change_status_to_imprecise(
bool value);
960 bool _internal_has_use_preprocessing()
const;
966 bool _internal_use_preprocessing()
const;
967 void _internal_set_use_preprocessing(
bool value);
973 bool _internal_has_use_middle_product_form_update()
const;
979 bool _internal_use_middle_product_form_update()
const;
980 void _internal_set_use_middle_product_form_update(
bool value);
986 bool _internal_has_dual_small_pivot_threshold()
const;
992 double _internal_dual_small_pivot_threshold()
const;
993 void _internal_set_dual_small_pivot_threshold(
double value);
999 bool _internal_has_preprocessor_zero_tolerance()
const;
1005 double _internal_preprocessor_zero_tolerance()
const;
1006 void _internal_set_preprocessor_zero_tolerance(
double value);
1012 bool _internal_has_objective_lower_limit()
const;
1018 double _internal_objective_lower_limit()
const;
1019 void _internal_set_objective_lower_limit(
double value);
1025 bool _internal_has_objective_upper_limit()
const;
1031 double _internal_objective_upper_limit()
const;
1032 void _internal_set_objective_upper_limit(
double value);
1038 bool _internal_has_degenerate_ministep_factor()
const;
1044 double _internal_degenerate_ministep_factor()
const;
1045 void _internal_set_degenerate_ministep_factor(
double value);
1051 bool _internal_has_random_seed()
const;
1064 bool _internal_has_num_omp_threads()
const;
1077 bool _internal_has_max_deterministic_time()
const;
1083 double _internal_max_deterministic_time()
const;
1084 void _internal_set_max_deterministic_time(
double value);
1090 bool _internal_has_drop_tolerance()
const;
1096 double _internal_drop_tolerance()
const;
1097 void _internal_set_drop_tolerance(
double value);
1103 bool _internal_has_relative_cost_perturbation()
const;
1109 double _internal_relative_cost_perturbation()
const;
1110 void _internal_set_relative_cost_perturbation(
double value);
1116 bool _internal_has_relative_max_cost_perturbation()
const;
1122 double _internal_relative_max_cost_perturbation()
const;
1123 void _internal_set_relative_max_cost_perturbation(
double value);
1129 bool _internal_has_max_number_of_reoptimizations()
const;
1135 double _internal_max_number_of_reoptimizations()
const;
1136 void _internal_set_max_number_of_reoptimizations(
double value);
1142 bool _internal_has_scaling_method()
const;
1155 bool _internal_has_cost_scaling()
const;
1168 bool _internal_has_initial_condition_number_threshold()
const;
1174 double _internal_initial_condition_number_threshold()
const;
1175 void _internal_set_initial_condition_number_threshold(
double value);
1182 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1183 typedef void InternalArenaConstructable_;
1184 typedef void DestructorSkippable_;
1185 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_;
1186 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1187 bool use_dual_simplex_;
1188 bool allow_simplex_algorithm_change_;
1189 bool perturb_costs_in_dual_simplex_;
1190 int feasibility_rule_;
1191 int optimization_rule_;
1192 double refactorization_threshold_;
1193 double recompute_reduced_costs_threshold_;
1194 double recompute_edges_norm_threshold_;
1195 double primal_feasibility_tolerance_;
1196 double dual_feasibility_tolerance_;
1197 double ratio_test_zero_threshold_;
1198 bool normalize_using_column_norm_;
1199 bool use_nested_pricing_;
1201 bool use_transposed_matrix_;
1203 double harris_tolerance_ratio_;
1204 double small_pivot_threshold_;
1205 double minimum_acceptable_pivot_;
1207 int solve_dual_problem_;
1208 double dualizer_threshold_;
1209 double solution_feasibility_tolerance_;
1210 double lu_factorization_pivot_threshold_;
1211 double max_time_in_seconds_;
1213 double markowitz_singularity_threshold_;
1216 bool initialize_devex_with_column_norms_;
1217 bool exploit_singleton_column_in_initial_basis_;
1218 bool provide_strong_optimal_guarantee_;
1219 bool change_status_to_imprecise_;
1220 bool use_preprocessing_;
1221 bool use_middle_product_form_update_;
1222 double dual_small_pivot_threshold_;
1223 double preprocessor_zero_tolerance_;
1224 double objective_lower_limit_;
1225 double objective_upper_limit_;
1226 double degenerate_ministep_factor_;
1229 double max_deterministic_time_;
1230 double drop_tolerance_;
1231 double relative_cost_perturbation_;
1232 double relative_max_cost_perturbation_;
1233 double max_number_of_reoptimizations_;
1234 int scaling_method_;
1236 double initial_condition_number_threshold_;
1237 friend struct ::TableStruct_ortools_2fglop_2fparameters_2eproto;
1245 #pragma GCC diagnostic push
1246 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1251 inline bool GlopParameters::_internal_has_scaling_method()
const {
1252 bool value = (_has_bits_[1] & 0x00008000u) != 0;
1255 inline bool GlopParameters::has_scaling_method()
const {
1256 return _internal_has_scaling_method();
1258 inline void GlopParameters::clear_scaling_method() {
1259 scaling_method_ = 1;
1260 _has_bits_[1] &= ~0x00008000u;
1267 return _internal_scaling_method();
1271 _has_bits_[1] |= 0x00008000u;
1272 scaling_method_ =
value;
1275 _internal_set_scaling_method(
value);
1280 inline bool GlopParameters::_internal_has_feasibility_rule()
const {
1281 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1284 inline bool GlopParameters::has_feasibility_rule()
const {
1285 return _internal_has_feasibility_rule();
1287 inline void GlopParameters::clear_feasibility_rule() {
1288 feasibility_rule_ = 1;
1289 _has_bits_[0] &= ~0x00000008u;
1296 return _internal_feasibility_rule();
1300 _has_bits_[0] |= 0x00000008u;
1301 feasibility_rule_ =
value;
1304 _internal_set_feasibility_rule(
value);
1309 inline bool GlopParameters::_internal_has_optimization_rule()
const {
1310 bool value = (_has_bits_[0] & 0x00000010u) != 0;
1313 inline bool GlopParameters::has_optimization_rule()
const {
1314 return _internal_has_optimization_rule();
1316 inline void GlopParameters::clear_optimization_rule() {
1317 optimization_rule_ = 1;
1318 _has_bits_[0] &= ~0x00000010u;
1325 return _internal_optimization_rule();
1329 _has_bits_[0] |= 0x00000010u;
1330 optimization_rule_ =
value;
1333 _internal_set_optimization_rule(
value);
1338 inline bool GlopParameters::_internal_has_normalize_using_column_norm()
const {
1339 bool value = (_has_bits_[0] & 0x00000800u) != 0;
1342 inline bool GlopParameters::has_normalize_using_column_norm()
const {
1343 return _internal_has_normalize_using_column_norm();
1345 inline void GlopParameters::clear_normalize_using_column_norm() {
1346 normalize_using_column_norm_ =
true;
1347 _has_bits_[0] &= ~0x00000800u;
1349 inline bool GlopParameters::_internal_normalize_using_column_norm()
const {
1350 return normalize_using_column_norm_;
1352 inline bool GlopParameters::normalize_using_column_norm()
const {
1354 return _internal_normalize_using_column_norm();
1356 inline void GlopParameters::_internal_set_normalize_using_column_norm(
bool value) {
1357 _has_bits_[0] |= 0x00000800u;
1358 normalize_using_column_norm_ =
value;
1360 inline void GlopParameters::set_normalize_using_column_norm(
bool value) {
1361 _internal_set_normalize_using_column_norm(
value);
1366 inline bool GlopParameters::_internal_has_use_nested_pricing()
const {
1367 bool value = (_has_bits_[0] & 0x00001000u) != 0;
1370 inline bool GlopParameters::has_use_nested_pricing()
const {
1371 return _internal_has_use_nested_pricing();
1373 inline void GlopParameters::clear_use_nested_pricing() {
1374 use_nested_pricing_ =
true;
1375 _has_bits_[0] &= ~0x00001000u;
1377 inline bool GlopParameters::_internal_use_nested_pricing()
const {
1378 return use_nested_pricing_;
1380 inline bool GlopParameters::use_nested_pricing()
const {
1382 return _internal_use_nested_pricing();
1384 inline void GlopParameters::_internal_set_use_nested_pricing(
bool value) {
1385 _has_bits_[0] |= 0x00001000u;
1386 use_nested_pricing_ =
value;
1388 inline void GlopParameters::set_use_nested_pricing(
bool value) {
1389 _internal_set_use_nested_pricing(
value);
1394 inline bool GlopParameters::_internal_has_refactorization_threshold()
const {
1395 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1398 inline bool GlopParameters::has_refactorization_threshold()
const {
1399 return _internal_has_refactorization_threshold();
1401 inline void GlopParameters::clear_refactorization_threshold() {
1402 refactorization_threshold_ = 1e-09;
1403 _has_bits_[0] &= ~0x00000020u;
1405 inline double GlopParameters::_internal_refactorization_threshold()
const {
1406 return refactorization_threshold_;
1408 inline double GlopParameters::refactorization_threshold()
const {
1410 return _internal_refactorization_threshold();
1412 inline void GlopParameters::_internal_set_refactorization_threshold(
double value) {
1413 _has_bits_[0] |= 0x00000020u;
1414 refactorization_threshold_ =
value;
1416 inline void GlopParameters::set_refactorization_threshold(
double value) {
1417 _internal_set_refactorization_threshold(
value);
1422 inline bool GlopParameters::_internal_has_recompute_reduced_costs_threshold()
const {
1423 bool value = (_has_bits_[0] & 0x00000040u) != 0;
1426 inline bool GlopParameters::has_recompute_reduced_costs_threshold()
const {
1427 return _internal_has_recompute_reduced_costs_threshold();
1429 inline void GlopParameters::clear_recompute_reduced_costs_threshold() {
1430 recompute_reduced_costs_threshold_ = 1e-08;
1431 _has_bits_[0] &= ~0x00000040u;
1433 inline double GlopParameters::_internal_recompute_reduced_costs_threshold()
const {
1434 return recompute_reduced_costs_threshold_;
1436 inline double GlopParameters::recompute_reduced_costs_threshold()
const {
1438 return _internal_recompute_reduced_costs_threshold();
1440 inline void GlopParameters::_internal_set_recompute_reduced_costs_threshold(
double value) {
1441 _has_bits_[0] |= 0x00000040u;
1442 recompute_reduced_costs_threshold_ =
value;
1444 inline void GlopParameters::set_recompute_reduced_costs_threshold(
double value) {
1445 _internal_set_recompute_reduced_costs_threshold(
value);
1450 inline bool GlopParameters::_internal_has_recompute_edges_norm_threshold()
const {
1451 bool value = (_has_bits_[0] & 0x00000080u) != 0;
1454 inline bool GlopParameters::has_recompute_edges_norm_threshold()
const {
1455 return _internal_has_recompute_edges_norm_threshold();
1457 inline void GlopParameters::clear_recompute_edges_norm_threshold() {
1458 recompute_edges_norm_threshold_ = 100;
1459 _has_bits_[0] &= ~0x00000080u;
1461 inline double GlopParameters::_internal_recompute_edges_norm_threshold()
const {
1462 return recompute_edges_norm_threshold_;
1464 inline double GlopParameters::recompute_edges_norm_threshold()
const {
1466 return _internal_recompute_edges_norm_threshold();
1468 inline void GlopParameters::_internal_set_recompute_edges_norm_threshold(
double value) {
1469 _has_bits_[0] |= 0x00000080u;
1470 recompute_edges_norm_threshold_ =
value;
1472 inline void GlopParameters::set_recompute_edges_norm_threshold(
double value) {
1473 _internal_set_recompute_edges_norm_threshold(
value);
1478 inline bool GlopParameters::_internal_has_primal_feasibility_tolerance()
const {
1479 bool value = (_has_bits_[0] & 0x00000100u) != 0;
1482 inline bool GlopParameters::has_primal_feasibility_tolerance()
const {
1483 return _internal_has_primal_feasibility_tolerance();
1485 inline void GlopParameters::clear_primal_feasibility_tolerance() {
1486 primal_feasibility_tolerance_ = 1e-08;
1487 _has_bits_[0] &= ~0x00000100u;
1489 inline double GlopParameters::_internal_primal_feasibility_tolerance()
const {
1490 return primal_feasibility_tolerance_;
1492 inline double GlopParameters::primal_feasibility_tolerance()
const {
1494 return _internal_primal_feasibility_tolerance();
1496 inline void GlopParameters::_internal_set_primal_feasibility_tolerance(
double value) {
1497 _has_bits_[0] |= 0x00000100u;
1498 primal_feasibility_tolerance_ =
value;
1500 inline void GlopParameters::set_primal_feasibility_tolerance(
double value) {
1501 _internal_set_primal_feasibility_tolerance(
value);
1506 inline bool GlopParameters::_internal_has_dual_feasibility_tolerance()
const {
1507 bool value = (_has_bits_[0] & 0x00000200u) != 0;
1510 inline bool GlopParameters::has_dual_feasibility_tolerance()
const {
1511 return _internal_has_dual_feasibility_tolerance();
1513 inline void GlopParameters::clear_dual_feasibility_tolerance() {
1514 dual_feasibility_tolerance_ = 1e-08;
1515 _has_bits_[0] &= ~0x00000200u;
1517 inline double GlopParameters::_internal_dual_feasibility_tolerance()
const {
1518 return dual_feasibility_tolerance_;
1520 inline double GlopParameters::dual_feasibility_tolerance()
const {
1522 return _internal_dual_feasibility_tolerance();
1524 inline void GlopParameters::_internal_set_dual_feasibility_tolerance(
double value) {
1525 _has_bits_[0] |= 0x00000200u;
1526 dual_feasibility_tolerance_ =
value;
1528 inline void GlopParameters::set_dual_feasibility_tolerance(
double value) {
1529 _internal_set_dual_feasibility_tolerance(
value);
1534 inline bool GlopParameters::_internal_has_ratio_test_zero_threshold()
const {
1535 bool value = (_has_bits_[0] & 0x00000400u) != 0;
1538 inline bool GlopParameters::has_ratio_test_zero_threshold()
const {
1539 return _internal_has_ratio_test_zero_threshold();
1541 inline void GlopParameters::clear_ratio_test_zero_threshold() {
1542 ratio_test_zero_threshold_ = 1e-09;
1543 _has_bits_[0] &= ~0x00000400u;
1545 inline double GlopParameters::_internal_ratio_test_zero_threshold()
const {
1546 return ratio_test_zero_threshold_;
1548 inline double GlopParameters::ratio_test_zero_threshold()
const {
1550 return _internal_ratio_test_zero_threshold();
1552 inline void GlopParameters::_internal_set_ratio_test_zero_threshold(
double value) {
1553 _has_bits_[0] |= 0x00000400u;
1554 ratio_test_zero_threshold_ =
value;
1556 inline void GlopParameters::set_ratio_test_zero_threshold(
double value) {
1557 _internal_set_ratio_test_zero_threshold(
value);
1562 inline bool GlopParameters::_internal_has_harris_tolerance_ratio()
const {
1563 bool value = (_has_bits_[0] & 0x00010000u) != 0;
1566 inline bool GlopParameters::has_harris_tolerance_ratio()
const {
1567 return _internal_has_harris_tolerance_ratio();
1569 inline void GlopParameters::clear_harris_tolerance_ratio() {
1570 harris_tolerance_ratio_ = 0.5;
1571 _has_bits_[0] &= ~0x00010000u;
1573 inline double GlopParameters::_internal_harris_tolerance_ratio()
const {
1574 return harris_tolerance_ratio_;
1576 inline double GlopParameters::harris_tolerance_ratio()
const {
1578 return _internal_harris_tolerance_ratio();
1580 inline void GlopParameters::_internal_set_harris_tolerance_ratio(
double value) {
1581 _has_bits_[0] |= 0x00010000u;
1582 harris_tolerance_ratio_ =
value;
1584 inline void GlopParameters::set_harris_tolerance_ratio(
double value) {
1585 _internal_set_harris_tolerance_ratio(
value);
1590 inline bool GlopParameters::_internal_has_small_pivot_threshold()
const {
1591 bool value = (_has_bits_[0] & 0x00020000u) != 0;
1594 inline bool GlopParameters::has_small_pivot_threshold()
const {
1595 return _internal_has_small_pivot_threshold();
1597 inline void GlopParameters::clear_small_pivot_threshold() {
1598 small_pivot_threshold_ = 1e-06;
1599 _has_bits_[0] &= ~0x00020000u;
1601 inline double GlopParameters::_internal_small_pivot_threshold()
const {
1602 return small_pivot_threshold_;
1604 inline double GlopParameters::small_pivot_threshold()
const {
1606 return _internal_small_pivot_threshold();
1608 inline void GlopParameters::_internal_set_small_pivot_threshold(
double value) {
1609 _has_bits_[0] |= 0x00020000u;
1610 small_pivot_threshold_ =
value;
1612 inline void GlopParameters::set_small_pivot_threshold(
double value) {
1613 _internal_set_small_pivot_threshold(
value);
1618 inline bool GlopParameters::_internal_has_minimum_acceptable_pivot()
const {
1619 bool value = (_has_bits_[0] & 0x00040000u) != 0;
1622 inline bool GlopParameters::has_minimum_acceptable_pivot()
const {
1623 return _internal_has_minimum_acceptable_pivot();
1625 inline void GlopParameters::clear_minimum_acceptable_pivot() {
1626 minimum_acceptable_pivot_ = 1e-06;
1627 _has_bits_[0] &= ~0x00040000u;
1629 inline double GlopParameters::_internal_minimum_acceptable_pivot()
const {
1630 return minimum_acceptable_pivot_;
1632 inline double GlopParameters::minimum_acceptable_pivot()
const {
1634 return _internal_minimum_acceptable_pivot();
1636 inline void GlopParameters::_internal_set_minimum_acceptable_pivot(
double value) {
1637 _has_bits_[0] |= 0x00040000u;
1638 minimum_acceptable_pivot_ =
value;
1640 inline void GlopParameters::set_minimum_acceptable_pivot(
double value) {
1641 _internal_set_minimum_acceptable_pivot(
value);
1646 inline bool GlopParameters::_internal_has_drop_tolerance()
const {
1647 bool value = (_has_bits_[1] & 0x00000800u) != 0;
1650 inline bool GlopParameters::has_drop_tolerance()
const {
1651 return _internal_has_drop_tolerance();
1653 inline void GlopParameters::clear_drop_tolerance() {
1654 drop_tolerance_ = 1e-14;
1655 _has_bits_[1] &= ~0x00000800u;
1657 inline double GlopParameters::_internal_drop_tolerance()
const {
1658 return drop_tolerance_;
1660 inline double GlopParameters::drop_tolerance()
const {
1662 return _internal_drop_tolerance();
1664 inline void GlopParameters::_internal_set_drop_tolerance(
double value) {
1665 _has_bits_[1] |= 0x00000800u;
1666 drop_tolerance_ =
value;
1668 inline void GlopParameters::set_drop_tolerance(
double value) {
1669 _internal_set_drop_tolerance(
value);
1674 inline bool GlopParameters::_internal_has_use_scaling()
const {
1675 bool value = (_has_bits_[0] & 0x00002000u) != 0;
1678 inline bool GlopParameters::has_use_scaling()
const {
1679 return _internal_has_use_scaling();
1681 inline void GlopParameters::clear_use_scaling() {
1682 use_scaling_ =
true;
1683 _has_bits_[0] &= ~0x00002000u;
1685 inline bool GlopParameters::_internal_use_scaling()
const {
1686 return use_scaling_;
1688 inline bool GlopParameters::use_scaling()
const {
1690 return _internal_use_scaling();
1692 inline void GlopParameters::_internal_set_use_scaling(
bool value) {
1693 _has_bits_[0] |= 0x00002000u;
1694 use_scaling_ =
value;
1696 inline void GlopParameters::set_use_scaling(
bool value) {
1697 _internal_set_use_scaling(
value);
1702 inline bool GlopParameters::_internal_has_cost_scaling()
const {
1703 bool value = (_has_bits_[1] & 0x00010000u) != 0;
1706 inline bool GlopParameters::has_cost_scaling()
const {
1707 return _internal_has_cost_scaling();
1709 inline void GlopParameters::clear_cost_scaling() {
1711 _has_bits_[1] &= ~0x00010000u;
1718 return _internal_cost_scaling();
1722 _has_bits_[1] |= 0x00010000u;
1723 cost_scaling_ =
value;
1726 _internal_set_cost_scaling(
value);
1731 inline bool GlopParameters::_internal_has_initial_basis()
const {
1732 bool value = (_has_bits_[0] & 0x00008000u) != 0;
1735 inline bool GlopParameters::has_initial_basis()
const {
1736 return _internal_has_initial_basis();
1738 inline void GlopParameters::clear_initial_basis() {
1740 _has_bits_[0] &= ~0x00008000u;
1747 return _internal_initial_basis();
1751 _has_bits_[0] |= 0x00008000u;
1752 initial_basis_ =
value;
1755 _internal_set_initial_basis(
value);
1760 inline bool GlopParameters::_internal_has_use_transposed_matrix()
const {
1761 bool value = (_has_bits_[0] & 0x00004000u) != 0;
1764 inline bool GlopParameters::has_use_transposed_matrix()
const {
1765 return _internal_has_use_transposed_matrix();
1767 inline void GlopParameters::clear_use_transposed_matrix() {
1768 use_transposed_matrix_ =
true;
1769 _has_bits_[0] &= ~0x00004000u;
1771 inline bool GlopParameters::_internal_use_transposed_matrix()
const {
1772 return use_transposed_matrix_;
1774 inline bool GlopParameters::use_transposed_matrix()
const {
1776 return _internal_use_transposed_matrix();
1778 inline void GlopParameters::_internal_set_use_transposed_matrix(
bool value) {
1779 _has_bits_[0] |= 0x00004000u;
1780 use_transposed_matrix_ =
value;
1782 inline void GlopParameters::set_use_transposed_matrix(
bool value) {
1783 _internal_set_use_transposed_matrix(
value);
1788 inline bool GlopParameters::_internal_has_basis_refactorization_period()
const {
1789 bool value = (_has_bits_[0] & 0x00080000u) != 0;
1792 inline bool GlopParameters::has_basis_refactorization_period()
const {
1793 return _internal_has_basis_refactorization_period();
1795 inline void GlopParameters::clear_basis_refactorization_period() {
1796 basis_refactorization_period_ = 64;
1797 _has_bits_[0] &= ~0x00080000u;
1800 return basis_refactorization_period_;
1804 return _internal_basis_refactorization_period();
1807 _has_bits_[0] |= 0x00080000u;
1808 basis_refactorization_period_ =
value;
1811 _internal_set_basis_refactorization_period(
value);
1816 inline bool GlopParameters::_internal_has_solve_dual_problem()
const {
1817 bool value = (_has_bits_[0] & 0x00100000u) != 0;
1820 inline bool GlopParameters::has_solve_dual_problem()
const {
1821 return _internal_has_solve_dual_problem();
1823 inline void GlopParameters::clear_solve_dual_problem() {
1824 solve_dual_problem_ = 2;
1825 _has_bits_[0] &= ~0x00100000u;
1832 return _internal_solve_dual_problem();
1836 _has_bits_[0] |= 0x00100000u;
1837 solve_dual_problem_ =
value;
1840 _internal_set_solve_dual_problem(
value);
1845 inline bool GlopParameters::_internal_has_dualizer_threshold()
const {
1846 bool value = (_has_bits_[0] & 0x00200000u) != 0;
1849 inline bool GlopParameters::has_dualizer_threshold()
const {
1850 return _internal_has_dualizer_threshold();
1852 inline void GlopParameters::clear_dualizer_threshold() {
1853 dualizer_threshold_ = 1.5;
1854 _has_bits_[0] &= ~0x00200000u;
1856 inline double GlopParameters::_internal_dualizer_threshold()
const {
1857 return dualizer_threshold_;
1859 inline double GlopParameters::dualizer_threshold()
const {
1861 return _internal_dualizer_threshold();
1863 inline void GlopParameters::_internal_set_dualizer_threshold(
double value) {
1864 _has_bits_[0] |= 0x00200000u;
1865 dualizer_threshold_ =
value;
1867 inline void GlopParameters::set_dualizer_threshold(
double value) {
1868 _internal_set_dualizer_threshold(
value);
1873 inline bool GlopParameters::_internal_has_solution_feasibility_tolerance()
const {
1874 bool value = (_has_bits_[0] & 0x00400000u) != 0;
1877 inline bool GlopParameters::has_solution_feasibility_tolerance()
const {
1878 return _internal_has_solution_feasibility_tolerance();
1880 inline void GlopParameters::clear_solution_feasibility_tolerance() {
1881 solution_feasibility_tolerance_ = 1e-06;
1882 _has_bits_[0] &= ~0x00400000u;
1884 inline double GlopParameters::_internal_solution_feasibility_tolerance()
const {
1885 return solution_feasibility_tolerance_;
1887 inline double GlopParameters::solution_feasibility_tolerance()
const {
1889 return _internal_solution_feasibility_tolerance();
1891 inline void GlopParameters::_internal_set_solution_feasibility_tolerance(
double value) {
1892 _has_bits_[0] |= 0x00400000u;
1893 solution_feasibility_tolerance_ =
value;
1895 inline void GlopParameters::set_solution_feasibility_tolerance(
double value) {
1896 _internal_set_solution_feasibility_tolerance(
value);
1901 inline bool GlopParameters::_internal_has_provide_strong_optimal_guarantee()
const {
1902 bool value = (_has_bits_[0] & 0x80000000u) != 0;
1905 inline bool GlopParameters::has_provide_strong_optimal_guarantee()
const {
1906 return _internal_has_provide_strong_optimal_guarantee();
1908 inline void GlopParameters::clear_provide_strong_optimal_guarantee() {
1909 provide_strong_optimal_guarantee_ =
true;
1910 _has_bits_[0] &= ~0x80000000u;
1912 inline bool GlopParameters::_internal_provide_strong_optimal_guarantee()
const {
1913 return provide_strong_optimal_guarantee_;
1915 inline bool GlopParameters::provide_strong_optimal_guarantee()
const {
1917 return _internal_provide_strong_optimal_guarantee();
1919 inline void GlopParameters::_internal_set_provide_strong_optimal_guarantee(
bool value) {
1920 _has_bits_[0] |= 0x80000000u;
1921 provide_strong_optimal_guarantee_ =
value;
1923 inline void GlopParameters::set_provide_strong_optimal_guarantee(
bool value) {
1924 _internal_set_provide_strong_optimal_guarantee(
value);
1929 inline bool GlopParameters::_internal_has_change_status_to_imprecise()
const {
1930 bool value = (_has_bits_[1] & 0x00000001u) != 0;
1933 inline bool GlopParameters::has_change_status_to_imprecise()
const {
1934 return _internal_has_change_status_to_imprecise();
1936 inline void GlopParameters::clear_change_status_to_imprecise() {
1937 change_status_to_imprecise_ =
true;
1938 _has_bits_[1] &= ~0x00000001u;
1940 inline bool GlopParameters::_internal_change_status_to_imprecise()
const {
1941 return change_status_to_imprecise_;
1943 inline bool GlopParameters::change_status_to_imprecise()
const {
1945 return _internal_change_status_to_imprecise();
1947 inline void GlopParameters::_internal_set_change_status_to_imprecise(
bool value) {
1948 _has_bits_[1] |= 0x00000001u;
1949 change_status_to_imprecise_ =
value;
1951 inline void GlopParameters::set_change_status_to_imprecise(
bool value) {
1952 _internal_set_change_status_to_imprecise(
value);
1957 inline bool GlopParameters::_internal_has_max_number_of_reoptimizations()
const {
1958 bool value = (_has_bits_[1] & 0x00004000u) != 0;
1961 inline bool GlopParameters::has_max_number_of_reoptimizations()
const {
1962 return _internal_has_max_number_of_reoptimizations();
1964 inline void GlopParameters::clear_max_number_of_reoptimizations() {
1965 max_number_of_reoptimizations_ = 40;
1966 _has_bits_[1] &= ~0x00004000u;
1968 inline double GlopParameters::_internal_max_number_of_reoptimizations()
const {
1969 return max_number_of_reoptimizations_;
1971 inline double GlopParameters::max_number_of_reoptimizations()
const {
1973 return _internal_max_number_of_reoptimizations();
1975 inline void GlopParameters::_internal_set_max_number_of_reoptimizations(
double value) {
1976 _has_bits_[1] |= 0x00004000u;
1977 max_number_of_reoptimizations_ =
value;
1979 inline void GlopParameters::set_max_number_of_reoptimizations(
double value) {
1980 _internal_set_max_number_of_reoptimizations(
value);
1985 inline bool GlopParameters::_internal_has_lu_factorization_pivot_threshold()
const {
1986 bool value = (_has_bits_[0] & 0x00800000u) != 0;
1989 inline bool GlopParameters::has_lu_factorization_pivot_threshold()
const {
1990 return _internal_has_lu_factorization_pivot_threshold();
1992 inline void GlopParameters::clear_lu_factorization_pivot_threshold() {
1993 lu_factorization_pivot_threshold_ = 0.01;
1994 _has_bits_[0] &= ~0x00800000u;
1996 inline double GlopParameters::_internal_lu_factorization_pivot_threshold()
const {
1997 return lu_factorization_pivot_threshold_;
1999 inline double GlopParameters::lu_factorization_pivot_threshold()
const {
2001 return _internal_lu_factorization_pivot_threshold();
2003 inline void GlopParameters::_internal_set_lu_factorization_pivot_threshold(
double value) {
2004 _has_bits_[0] |= 0x00800000u;
2005 lu_factorization_pivot_threshold_ =
value;
2007 inline void GlopParameters::set_lu_factorization_pivot_threshold(
double value) {
2008 _internal_set_lu_factorization_pivot_threshold(
value);
2013 inline bool GlopParameters::_internal_has_max_time_in_seconds()
const {
2014 bool value = (_has_bits_[0] & 0x01000000u) != 0;
2017 inline bool GlopParameters::has_max_time_in_seconds()
const {
2018 return _internal_has_max_time_in_seconds();
2020 inline void GlopParameters::clear_max_time_in_seconds() {
2021 max_time_in_seconds_ = std::numeric_limits<double>::infinity();
2022 _has_bits_[0] &= ~0x01000000u;
2024 inline double GlopParameters::_internal_max_time_in_seconds()
const {
2025 return max_time_in_seconds_;
2027 inline double GlopParameters::max_time_in_seconds()
const {
2029 return _internal_max_time_in_seconds();
2031 inline void GlopParameters::_internal_set_max_time_in_seconds(
double value) {
2032 _has_bits_[0] |= 0x01000000u;
2033 max_time_in_seconds_ =
value;
2035 inline void GlopParameters::set_max_time_in_seconds(
double value) {
2036 _internal_set_max_time_in_seconds(
value);
2041 inline bool GlopParameters::_internal_has_max_deterministic_time()
const {
2042 bool value = (_has_bits_[1] & 0x00000400u) != 0;
2045 inline bool GlopParameters::has_max_deterministic_time()
const {
2046 return _internal_has_max_deterministic_time();
2048 inline void GlopParameters::clear_max_deterministic_time() {
2049 max_deterministic_time_ = std::numeric_limits<double>::infinity();
2050 _has_bits_[1] &= ~0x00000400u;
2052 inline double GlopParameters::_internal_max_deterministic_time()
const {
2053 return max_deterministic_time_;
2055 inline double GlopParameters::max_deterministic_time()
const {
2057 return _internal_max_deterministic_time();
2059 inline void GlopParameters::_internal_set_max_deterministic_time(
double value) {
2060 _has_bits_[1] |= 0x00000400u;
2061 max_deterministic_time_ =
value;
2063 inline void GlopParameters::set_max_deterministic_time(
double value) {
2064 _internal_set_max_deterministic_time(
value);
2069 inline bool GlopParameters::_internal_has_max_number_of_iterations()
const {
2070 bool value = (_has_bits_[0] & 0x02000000u) != 0;
2073 inline bool GlopParameters::has_max_number_of_iterations()
const {
2074 return _internal_has_max_number_of_iterations();
2076 inline void GlopParameters::clear_max_number_of_iterations() {
2077 max_number_of_iterations_ = PROTOBUF_LONGLONG(-1);
2078 _has_bits_[0] &= ~0x02000000u;
2081 return max_number_of_iterations_;
2085 return _internal_max_number_of_iterations();
2088 _has_bits_[0] |= 0x02000000u;
2089 max_number_of_iterations_ =
value;
2092 _internal_set_max_number_of_iterations(
value);
2097 inline bool GlopParameters::_internal_has_markowitz_zlatev_parameter()
const {
2098 bool value = (_has_bits_[0] & 0x08000000u) != 0;
2101 inline bool GlopParameters::has_markowitz_zlatev_parameter()
const {
2102 return _internal_has_markowitz_zlatev_parameter();
2104 inline void GlopParameters::clear_markowitz_zlatev_parameter() {
2105 markowitz_zlatev_parameter_ = 3;
2106 _has_bits_[0] &= ~0x08000000u;
2109 return markowitz_zlatev_parameter_;
2113 return _internal_markowitz_zlatev_parameter();
2116 _has_bits_[0] |= 0x08000000u;
2117 markowitz_zlatev_parameter_ =
value;
2120 _internal_set_markowitz_zlatev_parameter(
value);
2125 inline bool GlopParameters::_internal_has_markowitz_singularity_threshold()
const {
2126 bool value = (_has_bits_[0] & 0x04000000u) != 0;
2129 inline bool GlopParameters::has_markowitz_singularity_threshold()
const {
2130 return _internal_has_markowitz_singularity_threshold();
2132 inline void GlopParameters::clear_markowitz_singularity_threshold() {
2133 markowitz_singularity_threshold_ = 1e-15;
2134 _has_bits_[0] &= ~0x04000000u;
2136 inline double GlopParameters::_internal_markowitz_singularity_threshold()
const {
2137 return markowitz_singularity_threshold_;
2139 inline double GlopParameters::markowitz_singularity_threshold()
const {
2141 return _internal_markowitz_singularity_threshold();
2143 inline void GlopParameters::_internal_set_markowitz_singularity_threshold(
double value) {
2144 _has_bits_[0] |= 0x04000000u;
2145 markowitz_singularity_threshold_ =
value;
2147 inline void GlopParameters::set_markowitz_singularity_threshold(
double value) {
2148 _internal_set_markowitz_singularity_threshold(
value);
2153 inline bool GlopParameters::_internal_has_use_dual_simplex()
const {
2154 bool value = (_has_bits_[0] & 0x00000001u) != 0;
2157 inline bool GlopParameters::has_use_dual_simplex()
const {
2158 return _internal_has_use_dual_simplex();
2160 inline void GlopParameters::clear_use_dual_simplex() {
2161 use_dual_simplex_ =
false;
2162 _has_bits_[0] &= ~0x00000001u;
2164 inline bool GlopParameters::_internal_use_dual_simplex()
const {
2165 return use_dual_simplex_;
2167 inline bool GlopParameters::use_dual_simplex()
const {
2169 return _internal_use_dual_simplex();
2171 inline void GlopParameters::_internal_set_use_dual_simplex(
bool value) {
2172 _has_bits_[0] |= 0x00000001u;
2173 use_dual_simplex_ =
value;
2175 inline void GlopParameters::set_use_dual_simplex(
bool value) {
2176 _internal_set_use_dual_simplex(
value);
2181 inline bool GlopParameters::_internal_has_allow_simplex_algorithm_change()
const {
2182 bool value = (_has_bits_[0] & 0x00000002u) != 0;
2185 inline bool GlopParameters::has_allow_simplex_algorithm_change()
const {
2186 return _internal_has_allow_simplex_algorithm_change();
2188 inline void GlopParameters::clear_allow_simplex_algorithm_change() {
2189 allow_simplex_algorithm_change_ =
false;
2190 _has_bits_[0] &= ~0x00000002u;
2192 inline bool GlopParameters::_internal_allow_simplex_algorithm_change()
const {
2193 return allow_simplex_algorithm_change_;
2195 inline bool GlopParameters::allow_simplex_algorithm_change()
const {
2197 return _internal_allow_simplex_algorithm_change();
2199 inline void GlopParameters::_internal_set_allow_simplex_algorithm_change(
bool value) {
2200 _has_bits_[0] |= 0x00000002u;
2201 allow_simplex_algorithm_change_ =
value;
2203 inline void GlopParameters::set_allow_simplex_algorithm_change(
bool value) {
2204 _internal_set_allow_simplex_algorithm_change(
value);
2209 inline bool GlopParameters::_internal_has_devex_weights_reset_period()
const {
2210 bool value = (_has_bits_[0] & 0x10000000u) != 0;
2213 inline bool GlopParameters::has_devex_weights_reset_period()
const {
2214 return _internal_has_devex_weights_reset_period();
2216 inline void GlopParameters::clear_devex_weights_reset_period() {
2217 devex_weights_reset_period_ = 150;
2218 _has_bits_[0] &= ~0x10000000u;
2221 return devex_weights_reset_period_;
2225 return _internal_devex_weights_reset_period();
2228 _has_bits_[0] |= 0x10000000u;
2229 devex_weights_reset_period_ =
value;
2232 _internal_set_devex_weights_reset_period(
value);
2237 inline bool GlopParameters::_internal_has_use_preprocessing()
const {
2238 bool value = (_has_bits_[1] & 0x00000002u) != 0;
2241 inline bool GlopParameters::has_use_preprocessing()
const {
2242 return _internal_has_use_preprocessing();
2244 inline void GlopParameters::clear_use_preprocessing() {
2245 use_preprocessing_ =
true;
2246 _has_bits_[1] &= ~0x00000002u;
2248 inline bool GlopParameters::_internal_use_preprocessing()
const {
2249 return use_preprocessing_;
2251 inline bool GlopParameters::use_preprocessing()
const {
2253 return _internal_use_preprocessing();
2255 inline void GlopParameters::_internal_set_use_preprocessing(
bool value) {
2256 _has_bits_[1] |= 0x00000002u;
2257 use_preprocessing_ =
value;
2259 inline void GlopParameters::set_use_preprocessing(
bool value) {
2260 _internal_set_use_preprocessing(
value);
2265 inline bool GlopParameters::_internal_has_use_middle_product_form_update()
const {
2266 bool value = (_has_bits_[1] & 0x00000004u) != 0;
2269 inline bool GlopParameters::has_use_middle_product_form_update()
const {
2270 return _internal_has_use_middle_product_form_update();
2272 inline void GlopParameters::clear_use_middle_product_form_update() {
2273 use_middle_product_form_update_ =
true;
2274 _has_bits_[1] &= ~0x00000004u;
2276 inline bool GlopParameters::_internal_use_middle_product_form_update()
const {
2277 return use_middle_product_form_update_;
2279 inline bool GlopParameters::use_middle_product_form_update()
const {
2281 return _internal_use_middle_product_form_update();
2283 inline void GlopParameters::_internal_set_use_middle_product_form_update(
bool value) {
2284 _has_bits_[1] |= 0x00000004u;
2285 use_middle_product_form_update_ =
value;
2287 inline void GlopParameters::set_use_middle_product_form_update(
bool value) {
2288 _internal_set_use_middle_product_form_update(
value);
2293 inline bool GlopParameters::_internal_has_initialize_devex_with_column_norms()
const {
2294 bool value = (_has_bits_[0] & 0x20000000u) != 0;
2297 inline bool GlopParameters::has_initialize_devex_with_column_norms()
const {
2298 return _internal_has_initialize_devex_with_column_norms();
2300 inline void GlopParameters::clear_initialize_devex_with_column_norms() {
2301 initialize_devex_with_column_norms_ =
true;
2302 _has_bits_[0] &= ~0x20000000u;
2304 inline bool GlopParameters::_internal_initialize_devex_with_column_norms()
const {
2305 return initialize_devex_with_column_norms_;
2307 inline bool GlopParameters::initialize_devex_with_column_norms()
const {
2309 return _internal_initialize_devex_with_column_norms();
2311 inline void GlopParameters::_internal_set_initialize_devex_with_column_norms(
bool value) {
2312 _has_bits_[0] |= 0x20000000u;
2313 initialize_devex_with_column_norms_ =
value;
2315 inline void GlopParameters::set_initialize_devex_with_column_norms(
bool value) {
2316 _internal_set_initialize_devex_with_column_norms(
value);
2321 inline bool GlopParameters::_internal_has_exploit_singleton_column_in_initial_basis()
const {
2322 bool value = (_has_bits_[0] & 0x40000000u) != 0;
2325 inline bool GlopParameters::has_exploit_singleton_column_in_initial_basis()
const {
2326 return _internal_has_exploit_singleton_column_in_initial_basis();
2328 inline void GlopParameters::clear_exploit_singleton_column_in_initial_basis() {
2329 exploit_singleton_column_in_initial_basis_ =
true;
2330 _has_bits_[0] &= ~0x40000000u;
2332 inline bool GlopParameters::_internal_exploit_singleton_column_in_initial_basis()
const {
2333 return exploit_singleton_column_in_initial_basis_;
2335 inline bool GlopParameters::exploit_singleton_column_in_initial_basis()
const {
2337 return _internal_exploit_singleton_column_in_initial_basis();
2339 inline void GlopParameters::_internal_set_exploit_singleton_column_in_initial_basis(
bool value) {
2340 _has_bits_[0] |= 0x40000000u;
2341 exploit_singleton_column_in_initial_basis_ =
value;
2343 inline void GlopParameters::set_exploit_singleton_column_in_initial_basis(
bool value) {
2344 _internal_set_exploit_singleton_column_in_initial_basis(
value);
2349 inline bool GlopParameters::_internal_has_dual_small_pivot_threshold()
const {
2350 bool value = (_has_bits_[1] & 0x00000008u) != 0;
2353 inline bool GlopParameters::has_dual_small_pivot_threshold()
const {
2354 return _internal_has_dual_small_pivot_threshold();
2356 inline void GlopParameters::clear_dual_small_pivot_threshold() {
2357 dual_small_pivot_threshold_ = 0.0001;
2358 _has_bits_[1] &= ~0x00000008u;
2360 inline double GlopParameters::_internal_dual_small_pivot_threshold()
const {
2361 return dual_small_pivot_threshold_;
2363 inline double GlopParameters::dual_small_pivot_threshold()
const {
2365 return _internal_dual_small_pivot_threshold();
2367 inline void GlopParameters::_internal_set_dual_small_pivot_threshold(
double value) {
2368 _has_bits_[1] |= 0x00000008u;
2369 dual_small_pivot_threshold_ =
value;
2371 inline void GlopParameters::set_dual_small_pivot_threshold(
double value) {
2372 _internal_set_dual_small_pivot_threshold(
value);
2377 inline bool GlopParameters::_internal_has_preprocessor_zero_tolerance()
const {
2378 bool value = (_has_bits_[1] & 0x00000010u) != 0;
2381 inline bool GlopParameters::has_preprocessor_zero_tolerance()
const {
2382 return _internal_has_preprocessor_zero_tolerance();
2384 inline void GlopParameters::clear_preprocessor_zero_tolerance() {
2385 preprocessor_zero_tolerance_ = 1e-09;
2386 _has_bits_[1] &= ~0x00000010u;
2388 inline double GlopParameters::_internal_preprocessor_zero_tolerance()
const {
2389 return preprocessor_zero_tolerance_;
2391 inline double GlopParameters::preprocessor_zero_tolerance()
const {
2393 return _internal_preprocessor_zero_tolerance();
2395 inline void GlopParameters::_internal_set_preprocessor_zero_tolerance(
double value) {
2396 _has_bits_[1] |= 0x00000010u;
2397 preprocessor_zero_tolerance_ =
value;
2399 inline void GlopParameters::set_preprocessor_zero_tolerance(
double value) {
2400 _internal_set_preprocessor_zero_tolerance(
value);
2405 inline bool GlopParameters::_internal_has_objective_lower_limit()
const {
2406 bool value = (_has_bits_[1] & 0x00000020u) != 0;
2409 inline bool GlopParameters::has_objective_lower_limit()
const {
2410 return _internal_has_objective_lower_limit();
2412 inline void GlopParameters::clear_objective_lower_limit() {
2413 objective_lower_limit_ = -std::numeric_limits<double>::infinity();
2414 _has_bits_[1] &= ~0x00000020u;
2416 inline double GlopParameters::_internal_objective_lower_limit()
const {
2417 return objective_lower_limit_;
2419 inline double GlopParameters::objective_lower_limit()
const {
2421 return _internal_objective_lower_limit();
2423 inline void GlopParameters::_internal_set_objective_lower_limit(
double value) {
2424 _has_bits_[1] |= 0x00000020u;
2425 objective_lower_limit_ =
value;
2427 inline void GlopParameters::set_objective_lower_limit(
double value) {
2428 _internal_set_objective_lower_limit(
value);
2433 inline bool GlopParameters::_internal_has_objective_upper_limit()
const {
2434 bool value = (_has_bits_[1] & 0x00000040u) != 0;
2437 inline bool GlopParameters::has_objective_upper_limit()
const {
2438 return _internal_has_objective_upper_limit();
2440 inline void GlopParameters::clear_objective_upper_limit() {
2441 objective_upper_limit_ = std::numeric_limits<double>::infinity();
2442 _has_bits_[1] &= ~0x00000040u;
2444 inline double GlopParameters::_internal_objective_upper_limit()
const {
2445 return objective_upper_limit_;
2447 inline double GlopParameters::objective_upper_limit()
const {
2449 return _internal_objective_upper_limit();
2451 inline void GlopParameters::_internal_set_objective_upper_limit(
double value) {
2452 _has_bits_[1] |= 0x00000040u;
2453 objective_upper_limit_ =
value;
2455 inline void GlopParameters::set_objective_upper_limit(
double value) {
2456 _internal_set_objective_upper_limit(
value);
2461 inline bool GlopParameters::_internal_has_degenerate_ministep_factor()
const {
2462 bool value = (_has_bits_[1] & 0x00000080u) != 0;
2465 inline bool GlopParameters::has_degenerate_ministep_factor()
const {
2466 return _internal_has_degenerate_ministep_factor();
2468 inline void GlopParameters::clear_degenerate_ministep_factor() {
2469 degenerate_ministep_factor_ = 0.01;
2470 _has_bits_[1] &= ~0x00000080u;
2472 inline double GlopParameters::_internal_degenerate_ministep_factor()
const {
2473 return degenerate_ministep_factor_;
2475 inline double GlopParameters::degenerate_ministep_factor()
const {
2477 return _internal_degenerate_ministep_factor();
2479 inline void GlopParameters::_internal_set_degenerate_ministep_factor(
double value) {
2480 _has_bits_[1] |= 0x00000080u;
2481 degenerate_ministep_factor_ =
value;
2483 inline void GlopParameters::set_degenerate_ministep_factor(
double value) {
2484 _internal_set_degenerate_ministep_factor(
value);
2489 inline bool GlopParameters::_internal_has_random_seed()
const {
2490 bool value = (_has_bits_[1] & 0x00000100u) != 0;
2493 inline bool GlopParameters::has_random_seed()
const {
2494 return _internal_has_random_seed();
2496 inline void GlopParameters::clear_random_seed() {
2498 _has_bits_[1] &= ~0x00000100u;
2501 return random_seed_;
2505 return _internal_random_seed();
2508 _has_bits_[1] |= 0x00000100u;
2509 random_seed_ =
value;
2512 _internal_set_random_seed(
value);
2517 inline bool GlopParameters::_internal_has_num_omp_threads()
const {
2518 bool value = (_has_bits_[1] & 0x00000200u) != 0;
2521 inline bool GlopParameters::has_num_omp_threads()
const {
2522 return _internal_has_num_omp_threads();
2524 inline void GlopParameters::clear_num_omp_threads() {
2525 num_omp_threads_ = 1;
2526 _has_bits_[1] &= ~0x00000200u;
2529 return num_omp_threads_;
2533 return _internal_num_omp_threads();
2536 _has_bits_[1] |= 0x00000200u;
2537 num_omp_threads_ =
value;
2540 _internal_set_num_omp_threads(
value);
2545 inline bool GlopParameters::_internal_has_perturb_costs_in_dual_simplex()
const {
2546 bool value = (_has_bits_[0] & 0x00000004u) != 0;
2549 inline bool GlopParameters::has_perturb_costs_in_dual_simplex()
const {
2550 return _internal_has_perturb_costs_in_dual_simplex();
2552 inline void GlopParameters::clear_perturb_costs_in_dual_simplex() {
2553 perturb_costs_in_dual_simplex_ =
false;
2554 _has_bits_[0] &= ~0x00000004u;
2556 inline bool GlopParameters::_internal_perturb_costs_in_dual_simplex()
const {
2557 return perturb_costs_in_dual_simplex_;
2559 inline bool GlopParameters::perturb_costs_in_dual_simplex()
const {
2561 return _internal_perturb_costs_in_dual_simplex();
2563 inline void GlopParameters::_internal_set_perturb_costs_in_dual_simplex(
bool value) {
2564 _has_bits_[0] |= 0x00000004u;
2565 perturb_costs_in_dual_simplex_ =
value;
2567 inline void GlopParameters::set_perturb_costs_in_dual_simplex(
bool value) {
2568 _internal_set_perturb_costs_in_dual_simplex(
value);
2573 inline bool GlopParameters::_internal_has_relative_cost_perturbation()
const {
2574 bool value = (_has_bits_[1] & 0x00001000u) != 0;
2577 inline bool GlopParameters::has_relative_cost_perturbation()
const {
2578 return _internal_has_relative_cost_perturbation();
2580 inline void GlopParameters::clear_relative_cost_perturbation() {
2581 relative_cost_perturbation_ = 1e-05;
2582 _has_bits_[1] &= ~0x00001000u;
2584 inline double GlopParameters::_internal_relative_cost_perturbation()
const {
2585 return relative_cost_perturbation_;
2587 inline double GlopParameters::relative_cost_perturbation()
const {
2589 return _internal_relative_cost_perturbation();
2591 inline void GlopParameters::_internal_set_relative_cost_perturbation(
double value) {
2592 _has_bits_[1] |= 0x00001000u;
2593 relative_cost_perturbation_ =
value;
2595 inline void GlopParameters::set_relative_cost_perturbation(
double value) {
2596 _internal_set_relative_cost_perturbation(
value);
2601 inline bool GlopParameters::_internal_has_relative_max_cost_perturbation()
const {
2602 bool value = (_has_bits_[1] & 0x00002000u) != 0;
2605 inline bool GlopParameters::has_relative_max_cost_perturbation()
const {
2606 return _internal_has_relative_max_cost_perturbation();
2608 inline void GlopParameters::clear_relative_max_cost_perturbation() {
2609 relative_max_cost_perturbation_ = 1e-07;
2610 _has_bits_[1] &= ~0x00002000u;
2612 inline double GlopParameters::_internal_relative_max_cost_perturbation()
const {
2613 return relative_max_cost_perturbation_;
2615 inline double GlopParameters::relative_max_cost_perturbation()
const {
2617 return _internal_relative_max_cost_perturbation();
2619 inline void GlopParameters::_internal_set_relative_max_cost_perturbation(
double value) {
2620 _has_bits_[1] |= 0x00002000u;
2621 relative_max_cost_perturbation_ =
value;
2623 inline void GlopParameters::set_relative_max_cost_perturbation(
double value) {
2624 _internal_set_relative_max_cost_perturbation(
value);
2629 inline bool GlopParameters::_internal_has_initial_condition_number_threshold()
const {
2630 bool value = (_has_bits_[1] & 0x00020000u) != 0;
2633 inline bool GlopParameters::has_initial_condition_number_threshold()
const {
2634 return _internal_has_initial_condition_number_threshold();
2636 inline void GlopParameters::clear_initial_condition_number_threshold() {
2637 initial_condition_number_threshold_ = 1e+50;
2638 _has_bits_[1] &= ~0x00020000u;
2640 inline double GlopParameters::_internal_initial_condition_number_threshold()
const {
2641 return initial_condition_number_threshold_;
2643 inline double GlopParameters::initial_condition_number_threshold()
const {
2645 return _internal_initial_condition_number_threshold();
2647 inline void GlopParameters::_internal_set_initial_condition_number_threshold(
double value) {
2648 _has_bits_[1] |= 0x00020000u;
2649 initial_condition_number_threshold_ =
value;
2651 inline void GlopParameters::set_initial_condition_number_threshold(
double value) {
2652 _internal_set_initial_condition_number_threshold(
value);
2657 #pragma GCC diagnostic pop
2665 PROTOBUF_NAMESPACE_OPEN
2669 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::glop::GlopParameters_ScalingAlgorithm>() {
2674 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::glop::GlopParameters_SolverBehavior>() {
2679 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::glop::GlopParameters_PricingRule>() {
2684 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::glop::GlopParameters_InitialBasisHeuristic>() {
2689 inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::glop::GlopParameters_CostScalingAlgorithm>() {
2693 PROTOBUF_NAMESPACE_CLOSE
2697 #include <google/protobuf/port_undef.inc>
2698 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2fglop_2fparameters_2eproto