5#pragma warning disable 1591, 0612, 3021, 8981
6#region Designer generated code
8using pb = global::Google.Protobuf;
9using pbc = global::Google.Protobuf.Collections;
10using pbr = global::Google.Protobuf.Reflection;
11using scg = global::System.Collections.Generic;
15 public static partial class SolversReflection {
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "ChpvcnRvb2xzL3BkbHAvc29sdmVycy5wcm90bxIYb3BlcmF0aW9uc19yZXNl",
28 "YXJjaC5wZGxwGh1vcnRvb2xzL2dsb3AvcGFyYW1ldGVycy5wcm90byKgCAoT",
29 "VGVybWluYXRpb25Dcml0ZXJpYRJVCg9vcHRpbWFsaXR5X25vcm0YASABKA4y",
30 "KC5vcGVyYXRpb25zX3Jlc2VhcmNoLnBkbHAuT3B0aW1hbGl0eU5vcm06Ek9Q",
31 "VElNQUxJVFlfTk9STV9MMhJsChpzaW1wbGVfb3B0aW1hbGl0eV9jcml0ZXJp",
32 "YRgJIAEoCzJGLm9wZXJhdGlvbnNfcmVzZWFyY2gucGRscC5UZXJtaW5hdGlv",
33 "bkNyaXRlcmlhLlNpbXBsZU9wdGltYWxpdHlDcml0ZXJpYUgAEnAKHGRldGFp",
34 "bGVkX29wdGltYWxpdHlfY3JpdGVyaWEYCiABKAsySC5vcGVyYXRpb25zX3Jl",
35 "c2VhcmNoLnBkbHAuVGVybWluYXRpb25Dcml0ZXJpYS5EZXRhaWxlZE9wdGlt",
36 "YWxpdHlDcml0ZXJpYUgAEicKFGVwc19vcHRpbWFsX2Fic29sdXRlGAIgASgB",
37 "OgUxZS0wNkICGAESJwoUZXBzX29wdGltYWxfcmVsYXRpdmUYAyABKAE6BTFl",
38 "LTA2QgIYARIkChVlcHNfcHJpbWFsX2luZmVhc2libGUYBCABKAE6BTFlLTA4",
39 "EiIKE2Vwc19kdWFsX2luZmVhc2libGUYBSABKAE6BTFlLTA4EhsKDnRpbWVf",
40 "c2VjX2xpbWl0GAYgASgBOgNpbmYSIwoPaXRlcmF0aW9uX2xpbWl0GAcgASgF",
41 "OgoyMTQ3NDgzNjQ3EiIKFWtrdF9tYXRyaXhfcGFzc19saW1pdBgIIAEoAToD",
42 "aW5mGmQKGFNpbXBsZU9wdGltYWxpdHlDcml0ZXJpYRIjChRlcHNfb3B0aW1h",
43 "bF9hYnNvbHV0ZRgBIAEoAToFMWUtMDYSIwoUZXBzX29wdGltYWxfcmVsYXRp",
44 "dmUYAiABKAE6BTFlLTA2GtICChpEZXRhaWxlZE9wdGltYWxpdHlDcml0ZXJp",
45 "YRIzCiRlcHNfb3B0aW1hbF9wcmltYWxfcmVzaWR1YWxfYWJzb2x1dGUYASAB",
46 "KAE6BTFlLTA2EjMKJGVwc19vcHRpbWFsX3ByaW1hbF9yZXNpZHVhbF9yZWxh",
47 "dGl2ZRgCIAEoAToFMWUtMDYSMQoiZXBzX29wdGltYWxfZHVhbF9yZXNpZHVh",
48 "bF9hYnNvbHV0ZRgDIAEoAToFMWUtMDYSMQoiZXBzX29wdGltYWxfZHVhbF9y",
49 "ZXNpZHVhbF9yZWxhdGl2ZRgEIAEoAToFMWUtMDYSMQoiZXBzX29wdGltYWxf",
50 "b2JqZWN0aXZlX2dhcF9hYnNvbHV0ZRgFIAEoAToFMWUtMDYSMQoiZXBzX29w",
51 "dGltYWxfb2JqZWN0aXZlX2dhcF9yZWxhdGl2ZRgGIAEoAToFMWUtMDZCFQoT",
52 "b3B0aW1hbGl0eV9jcml0ZXJpYSJtChhBZGFwdGl2ZUxpbmVzZWFyY2hQYXJh",
53 "bXMSKQocc3RlcF9zaXplX3JlZHVjdGlvbl9leHBvbmVudBgBIAEoAToDMC4z",
54 "EiYKGXN0ZXBfc2l6ZV9ncm93dGhfZXhwb25lbnQYAiABKAE6AzAuNiKQAQoS",
55 "TWFsaXRza3lQb2NrUGFyYW1zEikKHHN0ZXBfc2l6ZV9kb3duc2NhbGluZ19m",
56 "YWN0b3IYASABKAE6AzAuNxIrCh1saW5lc2VhcmNoX2NvbnRyYWN0aW9uX2Zh",
57 "Y3RvchgCIAEoAToEMC45ORIiChdzdGVwX3NpemVfaW50ZXJwb2xhdGlvbhgD",
58 "IAEoAToBMSKqDwoeUHJpbWFsRHVhbEh5YnJpZEdyYWRpZW50UGFyYW1zEksK",
59 "FHRlcm1pbmF0aW9uX2NyaXRlcmlhGAEgASgLMi0ub3BlcmF0aW9uc19yZXNl",
60 "YXJjaC5wZGxwLlRlcm1pbmF0aW9uQ3JpdGVyaWESFgoLbnVtX3RocmVhZHMY",
61 "AiABKAU6ATESFQoKbnVtX3NoYXJkcxgbIAEoBToBMBJhCg5zY2hlZHVsZXJf",
62 "dHlwZRggIAEoDjInLm9wZXJhdGlvbnNfcmVzZWFyY2gucGRscC5TY2hlZHVs",
63 "ZXJUeXBlOiBTQ0hFRFVMRVJfVFlQRV9HT09HTEVfVEhSRUFEUE9PTBIeChZy",
64 "ZWNvcmRfaXRlcmF0aW9uX3N0YXRzGAMgASgIEhoKD3ZlcmJvc2l0eV9sZXZl",
65 "bBgaIAEoBToBMBIfChRsb2dfaW50ZXJ2YWxfc2Vjb25kcxgfIAEoAToBMBIl",
66 "ChltYWpvcl9pdGVyYXRpb25fZnJlcXVlbmN5GAQgASgFOgI2NBInCht0ZXJt",
67 "aW5hdGlvbl9jaGVja19mcmVxdWVuY3kYBSABKAU6AjY0EnYKEHJlc3RhcnRf",
68 "c3RyYXRlZ3kYBiABKA4ySC5vcGVyYXRpb25zX3Jlc2VhcmNoLnBkbHAuUHJp",
69 "bWFsRHVhbEh5YnJpZEdyYWRpZW50UGFyYW1zLlJlc3RhcnRTdHJhdGVneToS",
70 "QURBUFRJVkVfSEVVUklTVElDEisKHnByaW1hbF93ZWlnaHRfdXBkYXRlX3Nt",
71 "b290aGluZxgHIAEoAToDMC41Eh0KFWluaXRpYWxfcHJpbWFsX3dlaWdodBgI",
72 "IAEoARJiChBwcmVzb2x2ZV9vcHRpb25zGBAgASgLMkgub3BlcmF0aW9uc19y",
73 "ZXNlYXJjaC5wZGxwLlByaW1hbER1YWxIeWJyaWRHcmFkaWVudFBhcmFtcy5Q",
74 "cmVzb2x2ZU9wdGlvbnMSIAoVbF9pbmZfcnVpel9pdGVyYXRpb25zGAkgASgF",
75 "OgE1Eh8KEWwyX25vcm1fcmVzY2FsaW5nGAogASgIOgR0cnVlEi0KIHN1ZmZp",
76 "Y2llbnRfcmVkdWN0aW9uX2Zvcl9yZXN0YXJ0GAsgASgBOgMwLjESLAofbmVj",
77 "ZXNzYXJ5X3JlZHVjdGlvbl9mb3JfcmVzdGFydBgRIAEoAToDMC45EnoKD2xp",
78 "bmVzZWFyY2hfcnVsZRgMIAEoDjJHLm9wZXJhdGlvbnNfcmVzZWFyY2gucGRs",
79 "cC5QcmltYWxEdWFsSHlicmlkR3JhZGllbnRQYXJhbXMuTGluZXNlYXJjaFJ1",
80 "bGU6GEFEQVBUSVZFX0xJTkVTRUFSQ0hfUlVMRRJaCh5hZGFwdGl2ZV9saW5l",
81 "c2VhcmNoX3BhcmFtZXRlcnMYEiABKAsyMi5vcGVyYXRpb25zX3Jlc2VhcmNo",
82 "LnBkbHAuQWRhcHRpdmVMaW5lc2VhcmNoUGFyYW1zEk4KGG1hbGl0c2t5X3Bv",
83 "Y2tfcGFyYW1ldGVycxgTIAEoCzIsLm9wZXJhdGlvbnNfcmVzZWFyY2gucGRs",
84 "cC5NYWxpdHNreVBvY2tQYXJhbXMSJAoZaW5pdGlhbF9zdGVwX3NpemVfc2Nh",
85 "bGluZxgZIAEoAToBMRIjChdyYW5kb21fcHJvamVjdGlvbl9zZWVkcxgcIAMo",
86 "BUICEAESMAojaW5maW5pdGVfY29uc3RyYWludF9ib3VuZF90aHJlc2hvbGQY",
87 "FiABKAE6A2luZhJICjpoYW5kbGVfc29tZV9wcmltYWxfZ3JhZGllbnRzX29u",
88 "X2Zpbml0ZV9ib3VuZHNfYXNfcmVzaWR1YWxzGB0gASgIOgR0cnVlEjIKI3Vz",
89 "ZV9kaWFnb25hbF9xcF90cnVzdF9yZWdpb25fc29sdmVyGBcgASgIOgVmYWxz",
90 "ZRI4CilkaWFnb25hbF9xcF90cnVzdF9yZWdpb25fc29sdmVyX3RvbGVyYW5j",
91 "ZRgYIAEoAToFMWUtMDgSKAoZdXNlX2ZlYXNpYmlsaXR5X3BvbGlzaGluZxge",
92 "IAEoCDoFZmFsc2UaZgoPUHJlc29sdmVPcHRpb25zEhAKCHVzZV9nbG9wGAEg",
93 "ASgIEkEKD2dsb3BfcGFyYW1ldGVycxgCIAEoCzIoLm9wZXJhdGlvbnNfcmVz",
94 "ZWFyY2guZ2xvcC5HbG9wUGFyYW1ldGVycyKUAQoPUmVzdGFydFN0cmF0ZWd5",
95 "EiAKHFJFU1RBUlRfU1RSQVRFR1lfVU5TUEVDSUZJRUQQABIPCgtOT19SRVNU",
96 "QVJUUxABEhkKFUVWRVJZX01BSk9SX0lURVJBVElPThACEhYKEkFEQVBUSVZF",
97 "X0hFVVJJU1RJQxADEhsKF0FEQVBUSVZFX0RJU1RBTkNFX0JBU0VEEAQijwEK",
98 "DkxpbmVzZWFyY2hSdWxlEh8KG0xJTkVTRUFSQ0hfUlVMRV9VTlNQRUNJRklF",
99 "RBAAEhwKGEFEQVBUSVZFX0xJTkVTRUFSQ0hfUlVMRRABEiEKHU1BTElUU0tZ",
100 "X1BPQ0tfTElORVNFQVJDSF9SVUxFEAISGwoXQ09OU1RBTlRfU1RFUF9TSVpF",
101 "X1JVTEUQA0oECA0QDkoECA4QD0oECA8QEEoECBQQFUoECBUQFiqNAQoOT3B0",
102 "aW1hbGl0eU5vcm0SHwobT1BUSU1BTElUWV9OT1JNX1VOU1BFQ0lGSUVEEAAS",
103 "GQoVT1BUSU1BTElUWV9OT1JNX0xfSU5GEAESFgoST1BUSU1BTElUWV9OT1JN",
104 "X0wyEAISJwojT1BUSU1BTElUWV9OT1JNX0xfSU5GX0NPTVBPTkVOVFdJU0UQ",
105 "Ayp6Cg1TY2hlZHVsZXJUeXBlEh4KGlNDSEVEVUxFUl9UWVBFX1VOU1BFQ0lG",
106 "SUVEEAASJAogU0NIRURVTEVSX1RZUEVfR09PR0xFX1RIUkVBRFBPT0wQARIj",
107 "Ch9TQ0hFRFVMRVJfVFlQRV9FSUdFTl9USFJFQURQT09MEANCMQoXY29tLmdv",
108 "b2dsZS5vcnRvb2xzLnBkbHBQAaoCE0dvb2dsZS5PclRvb2xzLlBETFA="));
109 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
110 new pbr::FileDescriptor[] { global::Google.OrTools.Glop.ParametersReflection.Descriptor, },
111 new pbr::GeneratedClrTypeInfo(
new[] {typeof(global::Google.
OrTools.
PDLP.OptimalityNorm), typeof(global::Google.
OrTools.
PDLP.SchedulerType), },
null,
new pbr::GeneratedClrTypeInfo[] {
112 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
PDLP.
TerminationCriteria), global::Google.OrTools.PDLP.TerminationCriteria.Parser,
new[]{
"OptimalityNorm",
"SimpleOptimalityCriteria",
"DetailedOptimalityCriteria",
"EpsOptimalAbsolute",
"EpsOptimalRelative",
"EpsPrimalInfeasible",
"EpsDualInfeasible",
"TimeSecLimit",
"IterationLimit",
"KktMatrixPassLimit" },
new[]{
"OptimalityCriteria" },
null,
null,
new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria), global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria.Parser, new[]{
"EpsOptimalAbsolute",
"EpsOptimalRelative" },
null,
null,
null,
null),
113 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
PDLP.
TerminationCriteria.
Types.
DetailedOptimalityCriteria), global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria.Parser,
new[]{
"EpsOptimalPrimalResidualAbsolute",
"EpsOptimalPrimalResidualRelative",
"EpsOptimalDualResidualAbsolute",
"EpsOptimalDualResidualRelative",
"EpsOptimalObjectiveGapAbsolute",
"EpsOptimalObjectiveGapRelative" },
null,
null,
null,
null)}),
114 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.AdaptiveLinesearchParams), global::Google.OrTools.PDLP.AdaptiveLinesearchParams.Parser,
new[]{
"StepSizeReductionExponent",
"StepSizeGrowthExponent" },
null,
null,
null,
null),
115 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.MalitskyPockParams), global::Google.OrTools.PDLP.MalitskyPockParams.Parser,
new[]{
"StepSizeDownscalingFactor",
"LinesearchContractionFactor",
"StepSizeInterpolation" },
null,
null,
null,
null),
116 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.PrimalDualHybridGradientParams), global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Parser,
new[]{
"TerminationCriteria",
"NumThreads",
"NumShards",
"SchedulerType",
"RecordIterationStats",
"VerbosityLevel",
"LogIntervalSeconds",
"MajorIterationFrequency",
"TerminationCheckFrequency",
"RestartStrategy",
"PrimalWeightUpdateSmoothing",
"InitialPrimalWeight",
"PresolveOptions",
"LInfRuizIterations",
"L2NormRescaling",
"SufficientReductionForRestart",
"NecessaryReductionForRestart",
"LinesearchRule",
"AdaptiveLinesearchParameters",
"MalitskyPockParameters",
"InitialStepSizeScaling",
"RandomProjectionSeeds",
"InfiniteConstraintBoundThreshold",
"HandleSomePrimalGradientsOnFiniteBoundsAsResiduals",
"UseDiagonalQpTrustRegionSolver",
"DiagonalQpTrustRegionSolverTolerance",
"UseFeasibilityPolishing" },
null,
new[]{ typeof(global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy), typeof(global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule) },
null,
new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.PresolveOptions), global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.PresolveOptions.Parser, new[]{
"UseGlop",
"GlopParameters" },
null,
null,
null,
null)})
124 [pbr::OriginalName(
"OPTIMALITY_NORM_UNSPECIFIED")]
Unspecified = 0,
128 [pbr::OriginalName(
"OPTIMALITY_NORM_L_INF")]
LInf = 1,
132 [pbr::OriginalName(
"OPTIMALITY_NORM_L2")]
L2 = 2,
153 [pbr::OriginalName(
"SCHEDULER_TYPE_UNSPECIFIED")]
Unspecified = 0,
180 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
182 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
186 private static readonly pb::MessageParser<TerminationCriteria> _parser =
new pb::MessageParser<TerminationCriteria>(() =>
new TerminationCriteria());
187 private pb::UnknownFieldSet _unknownFields;
188 private int _hasBits0;
189 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
190 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
191 public static pb::MessageParser<TerminationCriteria>
Parser {
get {
return _parser; } }
193 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
194 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
196 get {
return global::Google.OrTools.PDLP.SolversReflection.Descriptor.MessageTypes[0]; }
199 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
200 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
201 pbr::MessageDescriptor pb::IMessage.Descriptor {
202 get {
return Descriptor; }
205 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
206 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
211 partial
void OnConstruction();
213 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
214 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
216 _hasBits0 = other._hasBits0;
217 optimalityNorm_ = other.optimalityNorm_;
218 epsOptimalAbsolute_ = other.epsOptimalAbsolute_;
219 epsOptimalRelative_ = other.epsOptimalRelative_;
220 epsPrimalInfeasible_ = other.epsPrimalInfeasible_;
221 epsDualInfeasible_ = other.epsDualInfeasible_;
222 timeSecLimit_ = other.timeSecLimit_;
223 iterationLimit_ = other.iterationLimit_;
224 kktMatrixPassLimit_ = other.kktMatrixPassLimit_;
226 case OptimalityCriteriaOneofCase.SimpleOptimalityCriteria:
227 SimpleOptimalityCriteria = other.SimpleOptimalityCriteria.Clone();
229 case OptimalityCriteriaOneofCase.DetailedOptimalityCriteria:
230 DetailedOptimalityCriteria = other.DetailedOptimalityCriteria.Clone();
234 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
237 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
238 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
245 private readonly
static global::Google.OrTools.PDLP.OptimalityNorm OptimalityNormDefaultValue = global::Google.OrTools.PDLP.OptimalityNorm.L2;
247 private global::Google.OrTools.PDLP.OptimalityNorm optimalityNorm_;
251 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
252 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
254 get { if ((_hasBits0 & 1) != 0) { return optimalityNorm_; } else { return OptimalityNormDefaultValue; } }
257 optimalityNorm_ = value;
261 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
262 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
264 get {
return (_hasBits0 & 1) != 0; }
267 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
268 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
276 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
278 get { return optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.SimpleOptimalityCriteria ? (global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria) optimalityCriteria_ : null; }
280 optimalityCriteria_ = value;
281 optimalityCriteriaCase_ = value == null ? OptimalityCriteriaOneofCase.None : OptimalityCriteriaOneofCase.SimpleOptimalityCriteria;
287 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
288 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
290 get { return optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.DetailedOptimalityCriteria ? (global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria) optimalityCriteria_ : null; }
292 optimalityCriteria_ = value;
293 optimalityCriteriaCase_ = value == null ? OptimalityCriteriaOneofCase.None : OptimalityCriteriaOneofCase.DetailedOptimalityCriteria;
299 private readonly
static double EpsOptimalAbsoluteDefaultValue = 1e-06D;
301 private double epsOptimalAbsolute_;
308 [global::System.ObsoleteAttribute]
309 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
310 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
312 get {
if ((_hasBits0 & 2) != 0) {
return epsOptimalAbsolute_; }
else {
return EpsOptimalAbsoluteDefaultValue; } }
315 epsOptimalAbsolute_ = value;
319 [global::System.ObsoleteAttribute]
320 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
321 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
323 get {
return (_hasBits0 & 2) != 0; }
326 [global::System.ObsoleteAttribute]
327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
328 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
335 private readonly
static double EpsOptimalRelativeDefaultValue = 1e-06D;
337 private double epsOptimalRelative_;
344 [global::System.ObsoleteAttribute]
345 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
346 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
348 get {
if ((_hasBits0 & 4) != 0) {
return epsOptimalRelative_; }
else {
return EpsOptimalRelativeDefaultValue; } }
351 epsOptimalRelative_ = value;
355 [global::System.ObsoleteAttribute]
356 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
357 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
359 get {
return (_hasBits0 & 4) != 0; }
362 [global::System.ObsoleteAttribute]
363 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
364 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
371 private readonly
static double EpsPrimalInfeasibleDefaultValue = 1e-08D;
373 private double epsPrimalInfeasible_;
382 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
383 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
385 get {
if ((_hasBits0 & 8) != 0) {
return epsPrimalInfeasible_; }
else {
return EpsPrimalInfeasibleDefaultValue; } }
388 epsPrimalInfeasible_ = value;
392 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
393 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
395 get {
return (_hasBits0 & 8) != 0; }
398 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
399 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
406 private readonly
static double EpsDualInfeasibleDefaultValue = 1e-08D;
408 private double epsDualInfeasible_;
419 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
420 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
422 get {
if ((_hasBits0 & 16) != 0) {
return epsDualInfeasible_; }
else {
return EpsDualInfeasibleDefaultValue; } }
425 epsDualInfeasible_ = value;
429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
430 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
432 get {
return (_hasBits0 & 16) != 0; }
435 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
436 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
443 private readonly
static double TimeSecLimitDefaultValue =
double.PositiveInfinity;
445 private double timeSecLimit_;
450 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
451 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
453 get {
if ((_hasBits0 & 32) != 0) {
return timeSecLimit_; }
else {
return TimeSecLimitDefaultValue; } }
456 timeSecLimit_ = value;
460 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
461 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
463 get {
return (_hasBits0 & 32) != 0; }
466 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
467 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
474 private readonly
static int IterationLimitDefaultValue = 2147483647;
476 private int iterationLimit_;
481 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
482 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
484 get {
if ((_hasBits0 & 64) != 0) {
return iterationLimit_; }
else {
return IterationLimitDefaultValue; } }
487 iterationLimit_ = value;
491 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
492 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
494 get {
return (_hasBits0 & 64) != 0; }
497 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
498 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
505 private readonly
static double KktMatrixPassLimitDefaultValue =
double.PositiveInfinity;
507 private double kktMatrixPassLimit_;
512 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
513 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
515 get {
if ((_hasBits0 & 128) != 0) {
return kktMatrixPassLimit_; }
else {
return KktMatrixPassLimitDefaultValue; } }
518 kktMatrixPassLimit_ = value;
522 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
523 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
525 get {
return (_hasBits0 & 128) != 0; }
528 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
529 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
534 private object optimalityCriteria_;
541 private OptimalityCriteriaOneofCase optimalityCriteriaCase_ = OptimalityCriteriaOneofCase.None;
542 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
543 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
545 get {
return optimalityCriteriaCase_; }
548 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
549 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
552 optimalityCriteria_ =
null;
555 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
556 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
557 public override bool Equals(
object other) {
561 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
562 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
564 if (ReferenceEquals(other,
null)) {
567 if (ReferenceEquals(other,
this)) {
577 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
TimeSecLimit, other.
TimeSecLimit))
return false;
581 return Equals(_unknownFields, other._unknownFields);
584 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
585 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
598 hash ^= (int) optimalityCriteriaCase_;
599 if (_unknownFields !=
null) {
600 hash ^= _unknownFields.GetHashCode();
605 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
606 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
608 return pb::JsonFormatter.ToDiagnosticString(
this);
611 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
612 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
613 public void WriteTo(pb::CodedOutputStream output) {
614 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
615 output.WriteRawMessage(
this);
618 output.WriteRawTag(8);
622 output.WriteRawTag(17);
626 output.WriteRawTag(25);
630 output.WriteRawTag(33);
634 output.WriteRawTag(41);
638 output.WriteRawTag(49);
642 output.WriteRawTag(56);
646 output.WriteRawTag(65);
650 output.WriteRawTag(74);
654 output.WriteRawTag(82);
657 if (_unknownFields !=
null) {
658 _unknownFields.WriteTo(output);
663 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
664 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
665 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
666 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
667 if (HasOptimalityNorm) {
668 output.WriteRawTag(8);
671 if (HasEpsOptimalAbsolute) {
672 output.WriteRawTag(17);
673 output.WriteDouble(EpsOptimalAbsolute);
675 if (HasEpsOptimalRelative) {
676 output.WriteRawTag(25);
677 output.WriteDouble(EpsOptimalRelative);
679 if (HasEpsPrimalInfeasible) {
680 output.WriteRawTag(33);
681 output.WriteDouble(EpsPrimalInfeasible);
683 if (HasEpsDualInfeasible) {
684 output.WriteRawTag(41);
685 output.WriteDouble(EpsDualInfeasible);
687 if (HasTimeSecLimit) {
688 output.WriteRawTag(49);
689 output.WriteDouble(TimeSecLimit);
691 if (HasIterationLimit) {
692 output.WriteRawTag(56);
693 output.WriteInt32(IterationLimit);
695 if (HasKktMatrixPassLimit) {
696 output.WriteRawTag(65);
697 output.WriteDouble(KktMatrixPassLimit);
699 if (optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.SimpleOptimalityCriteria) {
700 output.WriteRawTag(74);
701 output.WriteMessage(SimpleOptimalityCriteria);
703 if (optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.DetailedOptimalityCriteria) {
704 output.WriteRawTag(82);
705 output.WriteMessage(DetailedOptimalityCriteria);
707 if (_unknownFields !=
null) {
708 _unknownFields.WriteTo(ref output);
713 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
714 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
718 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int)
OptimalityNorm);
742 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
IterationLimit);
747 if (_unknownFields !=
null) {
748 size += _unknownFields.CalculateSize();
753 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
754 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
798 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
802 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
804 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
805 input.ReadRawMessage(
this);
808 while ((tag = input.ReadTag()) != 0) {
809 if ((tag & 7) == 4) {
815 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
818 OptimalityNorm = (global::Google.OrTools.PDLP.OptimalityNorm) input.ReadEnum();
850 global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria subBuilder =
new global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria();
854 input.ReadMessage(subBuilder);
859 global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria subBuilder =
new global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria();
863 input.ReadMessage(subBuilder);
872 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
873 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
874 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
875 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
877 while ((tag = input.ReadTag()) != 0) {
878 if ((tag & 7) == 4) {
884 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
887 OptimalityNorm = (global::Google.OrTools.PDLP.OptimalityNorm) input.ReadEnum();
891 EpsOptimalAbsolute = input.ReadDouble();
895 EpsOptimalRelative = input.ReadDouble();
899 EpsPrimalInfeasible = input.ReadDouble();
903 EpsDualInfeasible = input.ReadDouble();
907 TimeSecLimit = input.ReadDouble();
919 global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria subBuilder =
new global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria();
920 if (optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.SimpleOptimalityCriteria) {
921 subBuilder.MergeFrom(SimpleOptimalityCriteria);
923 input.ReadMessage(subBuilder);
924 SimpleOptimalityCriteria = subBuilder;
928 global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria subBuilder =
new global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria();
929 if (optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.DetailedOptimalityCriteria) {
930 subBuilder.MergeFrom(DetailedOptimalityCriteria);
932 input.ReadMessage(subBuilder);
933 DetailedOptimalityCriteria = subBuilder;
943 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
944 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
946 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
948 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
952 private static readonly pb::MessageParser<SimpleOptimalityCriteria> _parser =
new pb::MessageParser<SimpleOptimalityCriteria>(() =>
new SimpleOptimalityCriteria());
953 private pb::UnknownFieldSet _unknownFields;
954 private int _hasBits0;
955 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
956 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
957 public static pb::MessageParser<SimpleOptimalityCriteria>
Parser {
get {
return _parser; } }
959 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
960 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
962 get {
return global::Google.OrTools.PDLP.TerminationCriteria.Descriptor.NestedTypes[0]; }
965 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
966 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
967 pbr::MessageDescriptor pb::IMessage.Descriptor {
971 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
972 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
977 partial
void OnConstruction();
979 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
980 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
982 _hasBits0 = other._hasBits0;
983 epsOptimalAbsolute_ = other.epsOptimalAbsolute_;
984 epsOptimalRelative_ = other.epsOptimalRelative_;
985 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
988 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
989 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
996 private readonly
static double EpsOptimalAbsoluteDefaultValue = 1e-06D;
998 private double epsOptimalAbsolute_;
1003 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1004 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1006 get {
if ((_hasBits0 & 1) != 0) {
return epsOptimalAbsolute_; }
else {
return EpsOptimalAbsoluteDefaultValue; } }
1009 epsOptimalAbsolute_ = value;
1013 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1014 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1016 get {
return (_hasBits0 & 1) != 0; }
1019 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1020 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1027 private readonly
static double EpsOptimalRelativeDefaultValue = 1e-06D;
1029 private double epsOptimalRelative_;
1034 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1035 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1037 get {
if ((_hasBits0 & 2) != 0) {
return epsOptimalRelative_; }
else {
return EpsOptimalRelativeDefaultValue; } }
1040 epsOptimalRelative_ = value;
1044 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1045 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1047 get {
return (_hasBits0 & 2) != 0; }
1050 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1051 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1056 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1057 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1062 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1063 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1065 if (ReferenceEquals(other,
null)) {
1068 if (ReferenceEquals(other,
this)) {
1073 return Equals(_unknownFields, other._unknownFields);
1076 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1077 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1082 if (_unknownFields !=
null) {
1083 hash ^= _unknownFields.GetHashCode();
1088 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1089 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1091 return pb::JsonFormatter.ToDiagnosticString(
this);
1094 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1095 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1096 public void WriteTo(pb::CodedOutputStream output) {
1097 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1098 output.WriteRawMessage(
this);
1101 output.WriteRawTag(9);
1105 output.WriteRawTag(17);
1108 if (_unknownFields !=
null) {
1109 _unknownFields.WriteTo(output);
1114 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1115 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1116 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1117 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1119 output.WriteRawTag(9);
1123 output.WriteRawTag(17);
1126 if (_unknownFields !=
null) {
1127 _unknownFields.WriteTo(ref output);
1132 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1133 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1142 if (_unknownFields !=
null) {
1143 size += _unknownFields.CalculateSize();
1148 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1149 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1151 if (other ==
null) {
1160 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1163 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1164 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1166 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1167 input.ReadRawMessage(
this);
1170 while ((tag = input.ReadTag()) != 0) {
1171 if ((tag & 7) == 4) {
1177 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1192 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1193 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1194 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1195 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1197 while ((tag = input.ReadTag()) != 0) {
1198 if ((tag & 7) == 4) {
1204 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1211 EpsOptimalRelative = input.ReadDouble();
1221 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1223 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1224 , pb::IBufferMessage
1227 private static readonly pb::MessageParser<DetailedOptimalityCriteria> _parser =
new pb::MessageParser<DetailedOptimalityCriteria>(() =>
new DetailedOptimalityCriteria());
1228 private pb::UnknownFieldSet _unknownFields;
1229 private int _hasBits0;
1230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1231 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1232 public static pb::MessageParser<DetailedOptimalityCriteria>
Parser {
get {
return _parser; } }
1234 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1235 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1237 get {
return global::Google.OrTools.PDLP.TerminationCriteria.Descriptor.NestedTypes[1]; }
1240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1241 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1242 pbr::MessageDescriptor pb::IMessage.Descriptor {
1246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1247 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1252 partial
void OnConstruction();
1254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1255 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1257 _hasBits0 = other._hasBits0;
1258 epsOptimalPrimalResidualAbsolute_ = other.epsOptimalPrimalResidualAbsolute_;
1259 epsOptimalPrimalResidualRelative_ = other.epsOptimalPrimalResidualRelative_;
1260 epsOptimalDualResidualAbsolute_ = other.epsOptimalDualResidualAbsolute_;
1261 epsOptimalDualResidualRelative_ = other.epsOptimalDualResidualRelative_;
1262 epsOptimalObjectiveGapAbsolute_ = other.epsOptimalObjectiveGapAbsolute_;
1263 epsOptimalObjectiveGapRelative_ = other.epsOptimalObjectiveGapRelative_;
1264 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1267 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1268 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1275 private readonly
static double EpsOptimalPrimalResidualAbsoluteDefaultValue = 1e-06D;
1277 private double epsOptimalPrimalResidualAbsolute_;
1281 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1282 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1284 get {
if ((_hasBits0 & 1) != 0) {
return epsOptimalPrimalResidualAbsolute_; }
else {
return EpsOptimalPrimalResidualAbsoluteDefaultValue; } }
1287 epsOptimalPrimalResidualAbsolute_ = value;
1291 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1292 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1294 get {
return (_hasBits0 & 1) != 0; }
1297 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1298 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1305 private readonly
static double EpsOptimalPrimalResidualRelativeDefaultValue = 1e-06D;
1307 private double epsOptimalPrimalResidualRelative_;
1311 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1312 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1314 get {
if ((_hasBits0 & 2) != 0) {
return epsOptimalPrimalResidualRelative_; }
else {
return EpsOptimalPrimalResidualRelativeDefaultValue; } }
1317 epsOptimalPrimalResidualRelative_ = value;
1321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1322 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1324 get {
return (_hasBits0 & 2) != 0; }
1327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1328 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1335 private readonly
static double EpsOptimalDualResidualAbsoluteDefaultValue = 1e-06D;
1337 private double epsOptimalDualResidualAbsolute_;
1341 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1342 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1344 get {
if ((_hasBits0 & 4) != 0) {
return epsOptimalDualResidualAbsolute_; }
else {
return EpsOptimalDualResidualAbsoluteDefaultValue; } }
1347 epsOptimalDualResidualAbsolute_ = value;
1351 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1352 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1354 get {
return (_hasBits0 & 4) != 0; }
1357 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1358 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1365 private readonly
static double EpsOptimalDualResidualRelativeDefaultValue = 1e-06D;
1367 private double epsOptimalDualResidualRelative_;
1371 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1372 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1374 get {
if ((_hasBits0 & 8) != 0) {
return epsOptimalDualResidualRelative_; }
else {
return EpsOptimalDualResidualRelativeDefaultValue; } }
1377 epsOptimalDualResidualRelative_ = value;
1381 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1382 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1384 get {
return (_hasBits0 & 8) != 0; }
1387 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1388 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1395 private readonly
static double EpsOptimalObjectiveGapAbsoluteDefaultValue = 1e-06D;
1397 private double epsOptimalObjectiveGapAbsolute_;
1401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1402 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1404 get {
if ((_hasBits0 & 16) != 0) {
return epsOptimalObjectiveGapAbsolute_; }
else {
return EpsOptimalObjectiveGapAbsoluteDefaultValue; } }
1407 epsOptimalObjectiveGapAbsolute_ = value;
1411 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1412 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1414 get {
return (_hasBits0 & 16) != 0; }
1417 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1418 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1425 private readonly
static double EpsOptimalObjectiveGapRelativeDefaultValue = 1e-06D;
1427 private double epsOptimalObjectiveGapRelative_;
1431 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1432 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1434 get {
if ((_hasBits0 & 32) != 0) {
return epsOptimalObjectiveGapRelative_; }
else {
return EpsOptimalObjectiveGapRelativeDefaultValue; } }
1437 epsOptimalObjectiveGapRelative_ = value;
1441 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1442 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1444 get {
return (_hasBits0 & 32) != 0; }
1447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1448 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1454 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1460 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1462 if (ReferenceEquals(other,
null)) {
1465 if (ReferenceEquals(other,
this)) {
1474 return Equals(_unknownFields, other._unknownFields);
1477 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1478 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1487 if (_unknownFields !=
null) {
1488 hash ^= _unknownFields.GetHashCode();
1493 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1494 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1496 return pb::JsonFormatter.ToDiagnosticString(
this);
1499 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1500 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1501 public void WriteTo(pb::CodedOutputStream output) {
1502 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1503 output.WriteRawMessage(
this);
1506 output.WriteRawTag(9);
1510 output.WriteRawTag(17);
1514 output.WriteRawTag(25);
1518 output.WriteRawTag(33);
1522 output.WriteRawTag(41);
1526 output.WriteRawTag(49);
1529 if (_unknownFields !=
null) {
1530 _unknownFields.WriteTo(output);
1535 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1536 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1537 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1538 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1539 if (HasEpsOptimalPrimalResidualAbsolute) {
1540 output.WriteRawTag(9);
1541 output.WriteDouble(EpsOptimalPrimalResidualAbsolute);
1543 if (HasEpsOptimalPrimalResidualRelative) {
1544 output.WriteRawTag(17);
1545 output.WriteDouble(EpsOptimalPrimalResidualRelative);
1547 if (HasEpsOptimalDualResidualAbsolute) {
1548 output.WriteRawTag(25);
1549 output.WriteDouble(EpsOptimalDualResidualAbsolute);
1551 if (HasEpsOptimalDualResidualRelative) {
1552 output.WriteRawTag(33);
1553 output.WriteDouble(EpsOptimalDualResidualRelative);
1555 if (HasEpsOptimalObjectiveGapAbsolute) {
1556 output.WriteRawTag(41);
1557 output.WriteDouble(EpsOptimalObjectiveGapAbsolute);
1559 if (HasEpsOptimalObjectiveGapRelative) {
1560 output.WriteRawTag(49);
1561 output.WriteDouble(EpsOptimalObjectiveGapRelative);
1563 if (_unknownFields !=
null) {
1564 _unknownFields.WriteTo(ref output);
1569 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1570 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1591 if (_unknownFields !=
null) {
1592 size += _unknownFields.CalculateSize();
1597 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1598 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1600 if (other ==
null) {
1621 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1625 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1627 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1628 input.ReadRawMessage(
this);
1631 while ((tag = input.ReadTag()) != 0) {
1632 if ((tag & 7) == 4) {
1638 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1669 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1670 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1671 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1672 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1674 while ((tag = input.ReadTag()) != 0) {
1675 if ((tag & 7) == 4) {
1681 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1684 EpsOptimalPrimalResidualAbsolute = input.ReadDouble();
1688 EpsOptimalPrimalResidualRelative = input.ReadDouble();
1692 EpsOptimalDualResidualAbsolute = input.ReadDouble();
1696 EpsOptimalDualResidualRelative = input.ReadDouble();
1700 EpsOptimalObjectiveGapAbsolute = input.ReadDouble();
1704 EpsOptimalObjectiveGapRelative = input.ReadDouble();
1724 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1726 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1727 , pb::IBufferMessage
1730 private static readonly pb::MessageParser<AdaptiveLinesearchParams> _parser =
new pb::MessageParser<AdaptiveLinesearchParams>(() =>
new AdaptiveLinesearchParams());
1731 private pb::UnknownFieldSet _unknownFields;
1732 private int _hasBits0;
1733 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1734 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1735 public static pb::MessageParser<AdaptiveLinesearchParams>
Parser {
get {
return _parser; } }
1737 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1738 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1740 get {
return global::Google.OrTools.PDLP.SolversReflection.Descriptor.MessageTypes[1]; }
1743 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1744 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1745 pbr::MessageDescriptor pb::IMessage.Descriptor {
1746 get {
return Descriptor; }
1749 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1750 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1755 partial
void OnConstruction();
1757 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1758 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1760 _hasBits0 = other._hasBits0;
1761 stepSizeReductionExponent_ = other.stepSizeReductionExponent_;
1762 stepSizeGrowthExponent_ = other.stepSizeGrowthExponent_;
1763 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1766 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1767 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1774 private readonly
static double StepSizeReductionExponentDefaultValue = 0.3D;
1776 private double stepSizeReductionExponent_;
1783 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1784 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1786 get {
if ((_hasBits0 & 1) != 0) {
return stepSizeReductionExponent_; }
else {
return StepSizeReductionExponentDefaultValue; } }
1789 stepSizeReductionExponent_ = value;
1793 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1794 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1796 get {
return (_hasBits0 & 1) != 0; }
1799 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1800 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1807 private readonly
static double StepSizeGrowthExponentDefaultValue = 0.6D;
1809 private double stepSizeGrowthExponent_;
1815 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1816 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1818 get {
if ((_hasBits0 & 2) != 0) {
return stepSizeGrowthExponent_; }
else {
return StepSizeGrowthExponentDefaultValue; } }
1821 stepSizeGrowthExponent_ = value;
1825 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1826 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1828 get {
return (_hasBits0 & 2) != 0; }
1831 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1832 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1838 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1843 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1844 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1846 if (ReferenceEquals(other,
null)) {
1849 if (ReferenceEquals(other,
this)) {
1854 return Equals(_unknownFields, other._unknownFields);
1857 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1858 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1863 if (_unknownFields !=
null) {
1864 hash ^= _unknownFields.GetHashCode();
1869 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1870 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1872 return pb::JsonFormatter.ToDiagnosticString(
this);
1875 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1876 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1877 public void WriteTo(pb::CodedOutputStream output) {
1878 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1879 output.WriteRawMessage(
this);
1882 output.WriteRawTag(9);
1886 output.WriteRawTag(17);
1889 if (_unknownFields !=
null) {
1890 _unknownFields.WriteTo(output);
1895 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1897 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1898 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1899 if (HasStepSizeReductionExponent) {
1900 output.WriteRawTag(9);
1901 output.WriteDouble(StepSizeReductionExponent);
1903 if (HasStepSizeGrowthExponent) {
1904 output.WriteRawTag(17);
1905 output.WriteDouble(StepSizeGrowthExponent);
1907 if (_unknownFields !=
null) {
1908 _unknownFields.WriteTo(ref output);
1913 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1914 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1923 if (_unknownFields !=
null) {
1924 size += _unknownFields.CalculateSize();
1929 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1930 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1932 if (other ==
null) {
1941 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1944 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1945 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1947 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1948 input.ReadRawMessage(
this);
1951 while ((tag = input.ReadTag()) != 0) {
1952 if ((tag & 7) == 4) {
1958 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1973 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1974 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1975 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1976 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1978 while ((tag = input.ReadTag()) != 0) {
1979 if ((tag & 7) == 4) {
1985 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1988 StepSizeReductionExponent = input.ReadDouble();
1992 StepSizeGrowthExponent = input.ReadDouble();
2002 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2004 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2005 , pb::IBufferMessage
2008 private static readonly pb::MessageParser<MalitskyPockParams> _parser =
new pb::MessageParser<MalitskyPockParams>(() =>
new MalitskyPockParams());
2009 private pb::UnknownFieldSet _unknownFields;
2010 private int _hasBits0;
2011 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2012 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2013 public static pb::MessageParser<MalitskyPockParams>
Parser {
get {
return _parser; } }
2015 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2016 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2018 get {
return global::Google.OrTools.PDLP.SolversReflection.Descriptor.MessageTypes[2]; }
2021 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2022 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2023 pbr::MessageDescriptor pb::IMessage.Descriptor {
2024 get {
return Descriptor; }
2027 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2028 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2033 partial
void OnConstruction();
2035 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2036 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2038 _hasBits0 = other._hasBits0;
2039 stepSizeDownscalingFactor_ = other.stepSizeDownscalingFactor_;
2040 linesearchContractionFactor_ = other.linesearchContractionFactor_;
2041 stepSizeInterpolation_ = other.stepSizeInterpolation_;
2042 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2045 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2046 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2053 private readonly
static double StepSizeDownscalingFactorDefaultValue = 0.7D;
2055 private double stepSizeDownscalingFactor_;
2062 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2063 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2065 get {
if ((_hasBits0 & 1) != 0) {
return stepSizeDownscalingFactor_; }
else {
return StepSizeDownscalingFactorDefaultValue; } }
2068 stepSizeDownscalingFactor_ = value;
2072 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2073 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2075 get {
return (_hasBits0 & 1) != 0; }
2078 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2079 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2086 private readonly
static double LinesearchContractionFactorDefaultValue = 0.99D;
2088 private double linesearchContractionFactor_;
2096 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2097 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2099 get {
if ((_hasBits0 & 2) != 0) {
return linesearchContractionFactor_; }
else {
return LinesearchContractionFactorDefaultValue; } }
2102 linesearchContractionFactor_ = value;
2106 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2107 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2109 get {
return (_hasBits0 & 2) != 0; }
2112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2113 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2120 private readonly
static double StepSizeInterpolationDefaultValue = 1D;
2122 private double stepSizeInterpolation_;
2130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2131 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2133 get {
if ((_hasBits0 & 4) != 0) {
return stepSizeInterpolation_; }
else {
return StepSizeInterpolationDefaultValue; } }
2136 stepSizeInterpolation_ = value;
2140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2141 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2143 get {
return (_hasBits0 & 4) != 0; }
2146 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2147 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2152 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2153 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2159 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2161 if (ReferenceEquals(other,
null)) {
2164 if (ReferenceEquals(other,
this)) {
2170 return Equals(_unknownFields, other._unknownFields);
2173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2174 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2180 if (_unknownFields !=
null) {
2181 hash ^= _unknownFields.GetHashCode();
2186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2187 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2189 return pb::JsonFormatter.ToDiagnosticString(
this);
2192 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2193 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2194 public void WriteTo(pb::CodedOutputStream output) {
2195 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2196 output.WriteRawMessage(
this);
2199 output.WriteRawTag(9);
2203 output.WriteRawTag(17);
2207 output.WriteRawTag(25);
2210 if (_unknownFields !=
null) {
2211 _unknownFields.WriteTo(output);
2216 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2217 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2218 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2219 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2220 if (HasStepSizeDownscalingFactor) {
2221 output.WriteRawTag(9);
2222 output.WriteDouble(StepSizeDownscalingFactor);
2224 if (HasLinesearchContractionFactor) {
2225 output.WriteRawTag(17);
2226 output.WriteDouble(LinesearchContractionFactor);
2228 if (HasStepSizeInterpolation) {
2229 output.WriteRawTag(25);
2230 output.WriteDouble(StepSizeInterpolation);
2232 if (_unknownFields !=
null) {
2233 _unknownFields.WriteTo(ref output);
2238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2239 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2251 if (_unknownFields !=
null) {
2252 size += _unknownFields.CalculateSize();
2257 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2258 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2260 if (other ==
null) {
2272 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2276 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2278 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2279 input.ReadRawMessage(
this);
2282 while ((tag = input.ReadTag()) != 0) {
2283 if ((tag & 7) == 4) {
2289 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2308 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2309 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2310 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2311 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2313 while ((tag = input.ReadTag()) != 0) {
2314 if ((tag & 7) == 4) {
2320 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2323 StepSizeDownscalingFactor = input.ReadDouble();
2327 LinesearchContractionFactor = input.ReadDouble();
2331 StepSizeInterpolation = input.ReadDouble();
2353 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2355 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2356 , pb::IBufferMessage
2359 private static readonly pb::MessageParser<PrimalDualHybridGradientParams> _parser =
new pb::MessageParser<PrimalDualHybridGradientParams>(() =>
new PrimalDualHybridGradientParams());
2360 private pb::UnknownFieldSet _unknownFields;
2361 private int _hasBits0;
2362 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2363 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2364 public static pb::MessageParser<PrimalDualHybridGradientParams>
Parser {
get {
return _parser; } }
2366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2367 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2369 get {
return global::Google.OrTools.PDLP.SolversReflection.Descriptor.MessageTypes[3]; }
2372 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2373 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2374 pbr::MessageDescriptor pb::IMessage.Descriptor {
2375 get {
return Descriptor; }
2378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2379 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2384 partial
void OnConstruction();
2386 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2387 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2389 _hasBits0 = other._hasBits0;
2390 terminationCriteria_ = other.terminationCriteria_ !=
null ? other.terminationCriteria_.
Clone() :
null;
2391 numThreads_ = other.numThreads_;
2392 numShards_ = other.numShards_;
2393 schedulerType_ = other.schedulerType_;
2394 recordIterationStats_ = other.recordIterationStats_;
2395 verbosityLevel_ = other.verbosityLevel_;
2396 logIntervalSeconds_ = other.logIntervalSeconds_;
2397 majorIterationFrequency_ = other.majorIterationFrequency_;
2398 terminationCheckFrequency_ = other.terminationCheckFrequency_;
2399 restartStrategy_ = other.restartStrategy_;
2400 primalWeightUpdateSmoothing_ = other.primalWeightUpdateSmoothing_;
2401 initialPrimalWeight_ = other.initialPrimalWeight_;
2402 presolveOptions_ = other.presolveOptions_ !=
null ? other.presolveOptions_.
Clone() :
null;
2403 lInfRuizIterations_ = other.lInfRuizIterations_;
2404 l2NormRescaling_ = other.l2NormRescaling_;
2405 sufficientReductionForRestart_ = other.sufficientReductionForRestart_;
2406 necessaryReductionForRestart_ = other.necessaryReductionForRestart_;
2407 linesearchRule_ = other.linesearchRule_;
2408 adaptiveLinesearchParameters_ = other.adaptiveLinesearchParameters_ !=
null ? other.adaptiveLinesearchParameters_.
Clone() :
null;
2409 malitskyPockParameters_ = other.malitskyPockParameters_ !=
null ? other.malitskyPockParameters_.
Clone() :
null;
2410 initialStepSizeScaling_ = other.initialStepSizeScaling_;
2411 randomProjectionSeeds_ = other.randomProjectionSeeds_.Clone();
2412 infiniteConstraintBoundThreshold_ = other.infiniteConstraintBoundThreshold_;
2413 handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = other.handleSomePrimalGradientsOnFiniteBoundsAsResiduals_;
2414 useDiagonalQpTrustRegionSolver_ = other.useDiagonalQpTrustRegionSolver_;
2415 diagonalQpTrustRegionSolverTolerance_ = other.diagonalQpTrustRegionSolverTolerance_;
2416 useFeasibilityPolishing_ = other.useFeasibilityPolishing_;
2417 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2420 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2421 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2428 private global::Google.OrTools.PDLP.TerminationCriteria terminationCriteria_;
2429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2430 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2432 get { return terminationCriteria_; }
2434 terminationCriteria_ = value;
2440 private readonly
static int NumThreadsDefaultValue = 1;
2442 private int numThreads_;
2449 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2450 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2452 get {
if ((_hasBits0 & 1) != 0) {
return numThreads_; }
else {
return NumThreadsDefaultValue; } }
2455 numThreads_ = value;
2459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2460 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2462 get {
return (_hasBits0 & 1) != 0; }
2465 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2466 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2473 private readonly
static int NumShardsDefaultValue = 0;
2475 private int numShards_;
2487 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2488 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2490 get {
if ((_hasBits0 & 131072) != 0) {
return numShards_; }
else {
return NumShardsDefaultValue; } }
2492 _hasBits0 |= 131072;
2497 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2498 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2500 get {
return (_hasBits0 & 131072) != 0; }
2503 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2504 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2506 _hasBits0 &= ~131072;
2511 private readonly
static global::Google.OrTools.PDLP.SchedulerType SchedulerTypeDefaultValue = global::Google.OrTools.PDLP.SchedulerType.GoogleThreadpool;
2513 private global::Google.OrTools.PDLP.SchedulerType schedulerType_;
2518 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2519 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2521 get { if ((_hasBits0 & 2097152) != 0) { return schedulerType_; } else { return SchedulerTypeDefaultValue; } }
2523 _hasBits0 |= 2097152;
2524 schedulerType_ = value;
2528 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2529 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2531 get {
return (_hasBits0 & 2097152) != 0; }
2534 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2535 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2537 _hasBits0 &= ~2097152;
2542 private readonly
static bool RecordIterationStatsDefaultValue =
false;
2544 private bool recordIterationStats_;
2551 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2552 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2554 get {
if ((_hasBits0 & 2) != 0) {
return recordIterationStats_; }
else {
return RecordIterationStatsDefaultValue; } }
2557 recordIterationStats_ = value;
2561 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2562 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2564 get {
return (_hasBits0 & 2) != 0; }
2567 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2568 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2575 private readonly
static int VerbosityLevelDefaultValue = 0;
2577 private int verbosityLevel_;
2591 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2592 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2594 get {
if ((_hasBits0 & 65536) != 0) {
return verbosityLevel_; }
else {
return VerbosityLevelDefaultValue; } }
2597 verbosityLevel_ = value;
2601 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2602 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2604 get {
return (_hasBits0 & 65536) != 0; }
2607 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2608 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2610 _hasBits0 &= ~65536;
2615 private readonly
static double LogIntervalSecondsDefaultValue = 0D;
2617 private double logIntervalSeconds_;
2625 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2626 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2628 get {
if ((_hasBits0 & 1048576) != 0) {
return logIntervalSeconds_; }
else {
return LogIntervalSecondsDefaultValue; } }
2630 _hasBits0 |= 1048576;
2631 logIntervalSeconds_ = value;
2635 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2636 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2638 get {
return (_hasBits0 & 1048576) != 0; }
2641 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2642 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2644 _hasBits0 &= ~1048576;
2649 private readonly
static int MajorIterationFrequencyDefaultValue = 64;
2651 private int majorIterationFrequency_;
2660 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2661 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2663 get {
if ((_hasBits0 & 4) != 0) {
return majorIterationFrequency_; }
else {
return MajorIterationFrequencyDefaultValue; } }
2666 majorIterationFrequency_ = value;
2670 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2671 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2673 get {
return (_hasBits0 & 4) != 0; }
2676 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2677 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2684 private readonly
static int TerminationCheckFrequencyDefaultValue = 64;
2686 private int terminationCheckFrequency_;
2692 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2693 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2695 get {
if ((_hasBits0 & 8) != 0) {
return terminationCheckFrequency_; }
else {
return TerminationCheckFrequencyDefaultValue; } }
2698 terminationCheckFrequency_ = value;
2702 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2703 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2705 get {
return (_hasBits0 & 8) != 0; }
2708 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2709 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2716 private readonly
static global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy RestartStrategyDefaultValue = global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy.AdaptiveHeuristic;
2718 private global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy restartStrategy_;
2724 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2725 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2727 get { if ((_hasBits0 & 16) != 0) { return restartStrategy_; } else { return RestartStrategyDefaultValue; } }
2730 restartStrategy_ = value;
2734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2735 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2737 get {
return (_hasBits0 & 16) != 0; }
2740 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2741 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2748 private readonly
static double PrimalWeightUpdateSmoothingDefaultValue = 0.5D;
2750 private double primalWeightUpdateSmoothing_;
2761 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2762 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2764 get {
if ((_hasBits0 & 32) != 0) {
return primalWeightUpdateSmoothing_; }
else {
return PrimalWeightUpdateSmoothingDefaultValue; } }
2767 primalWeightUpdateSmoothing_ = value;
2771 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2772 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2774 get {
return (_hasBits0 & 32) != 0; }
2777 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2778 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2785 private readonly
static double InitialPrimalWeightDefaultValue = 0D;
2787 private double initialPrimalWeight_;
2797 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2798 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2800 get {
if ((_hasBits0 & 64) != 0) {
return initialPrimalWeight_; }
else {
return InitialPrimalWeightDefaultValue; } }
2803 initialPrimalWeight_ = value;
2807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2808 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2810 get {
return (_hasBits0 & 64) != 0; }
2813 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2814 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2821 private global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.PresolveOptions presolveOptions_;
2822 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2823 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2825 get { return presolveOptions_; }
2827 presolveOptions_ = value;
2833 private readonly
static int LInfRuizIterationsDefaultValue = 5;
2835 private int lInfRuizIterations_;
2841 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2842 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2844 get {
if ((_hasBits0 & 128) != 0) {
return lInfRuizIterations_; }
else {
return LInfRuizIterationsDefaultValue; } }
2847 lInfRuizIterations_ = value;
2851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2852 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2854 get {
return (_hasBits0 & 128) != 0; }
2857 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2858 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2865 private readonly
static bool L2NormRescalingDefaultValue =
true;
2867 private bool l2NormRescaling_;
2872 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2873 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2875 get {
if ((_hasBits0 & 256) != 0) {
return l2NormRescaling_; }
else {
return L2NormRescalingDefaultValue; } }
2878 l2NormRescaling_ = value;
2882 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2883 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2885 get {
return (_hasBits0 & 256) != 0; }
2888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2889 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2896 private readonly
static double SufficientReductionForRestartDefaultValue = 0.1D;
2898 private double sufficientReductionForRestart_;
2904 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2905 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2907 get {
if ((_hasBits0 & 512) != 0) {
return sufficientReductionForRestart_; }
else {
return SufficientReductionForRestartDefaultValue; } }
2910 sufficientReductionForRestart_ = value;
2914 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2915 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2917 get {
return (_hasBits0 & 512) != 0; }
2920 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2921 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2928 private readonly
static double NecessaryReductionForRestartDefaultValue = 0.9D;
2930 private double necessaryReductionForRestart_;
2938 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2939 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2941 get {
if ((_hasBits0 & 2048) != 0) {
return necessaryReductionForRestart_; }
else {
return NecessaryReductionForRestartDefaultValue; } }
2944 necessaryReductionForRestart_ = value;
2948 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2949 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2951 get {
return (_hasBits0 & 2048) != 0; }
2954 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2955 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2962 private readonly
static global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule LinesearchRuleDefaultValue = global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule.AdaptiveLinesearchRule;
2964 private global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule linesearchRule_;
2968 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2969 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2971 get { if ((_hasBits0 & 1024) != 0) { return linesearchRule_; } else { return LinesearchRuleDefaultValue; } }
2974 linesearchRule_ = value;
2978 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2979 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2981 get {
return (_hasBits0 & 1024) != 0; }
2984 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2985 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2992 private global::Google.OrTools.PDLP.AdaptiveLinesearchParams adaptiveLinesearchParameters_;
2993 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2994 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2996 get { return adaptiveLinesearchParameters_; }
2998 adaptiveLinesearchParameters_ = value;
3004 private global::Google.OrTools.PDLP.MalitskyPockParams malitskyPockParameters_;
3005 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3006 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3008 get { return malitskyPockParameters_; }
3010 malitskyPockParameters_ = value;
3016 private readonly
static double InitialStepSizeScalingDefaultValue = 1D;
3018 private double initialStepSizeScaling_;
3023 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3024 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3026 get {
if ((_hasBits0 & 32768) != 0) {
return initialStepSizeScaling_; }
else {
return InitialStepSizeScalingDefaultValue; } }
3029 initialStepSizeScaling_ = value;
3033 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3034 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3036 get {
return (_hasBits0 & 32768) != 0; }
3039 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3040 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3042 _hasBits0 &= ~32768;
3047 private static readonly pb::FieldCodec<int> _repeated_randomProjectionSeeds_codec
3048 = pb::FieldCodec.ForInt32(226);
3049 private readonly pbc::RepeatedField<int> randomProjectionSeeds_ =
new pbc::RepeatedField<int>();
3058 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3059 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3061 get {
return randomProjectionSeeds_; }
3066 private readonly
static double InfiniteConstraintBoundThresholdDefaultValue =
double.PositiveInfinity;
3068 private double infiniteConstraintBoundThreshold_;
3077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3078 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3080 get {
if ((_hasBits0 & 4096) != 0) {
return infiniteConstraintBoundThreshold_; }
else {
return InfiniteConstraintBoundThresholdDefaultValue; } }
3083 infiniteConstraintBoundThreshold_ = value;
3087 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3088 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3090 get {
return (_hasBits0 & 4096) != 0; }
3093 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3094 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3101 private readonly
static bool HandleSomePrimalGradientsOnFiniteBoundsAsResidualsDefaultValue =
true;
3103 private bool handleSomePrimalGradientsOnFiniteBoundsAsResiduals_;
3109 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3110 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3112 get {
if ((_hasBits0 & 262144) != 0) {
return handleSomePrimalGradientsOnFiniteBoundsAsResiduals_; }
else {
return HandleSomePrimalGradientsOnFiniteBoundsAsResidualsDefaultValue; } }
3114 _hasBits0 |= 262144;
3115 handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = value;
3119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3120 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3122 get {
return (_hasBits0 & 262144) != 0; }
3125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3126 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3128 _hasBits0 &= ~262144;
3133 private readonly
static bool UseDiagonalQpTrustRegionSolverDefaultValue =
false;
3135 private bool useDiagonalQpTrustRegionSolver_;
3144 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3145 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3147 get {
if ((_hasBits0 & 8192) != 0) {
return useDiagonalQpTrustRegionSolver_; }
else {
return UseDiagonalQpTrustRegionSolverDefaultValue; } }
3150 useDiagonalQpTrustRegionSolver_ = value;
3154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3155 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3157 get {
return (_hasBits0 & 8192) != 0; }
3160 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3161 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3168 private readonly
static double DiagonalQpTrustRegionSolverToleranceDefaultValue = 1e-08D;
3170 private double diagonalQpTrustRegionSolverTolerance_;
3178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3179 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3181 get {
if ((_hasBits0 & 16384) != 0) {
return diagonalQpTrustRegionSolverTolerance_; }
else {
return DiagonalQpTrustRegionSolverToleranceDefaultValue; } }
3184 diagonalQpTrustRegionSolverTolerance_ = value;
3188 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3189 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3191 get {
return (_hasBits0 & 16384) != 0; }
3194 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3195 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3197 _hasBits0 &= ~16384;
3202 private readonly
static bool UseFeasibilityPolishingDefaultValue =
false;
3204 private bool useFeasibilityPolishing_;
3233 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3234 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3236 get {
if ((_hasBits0 & 524288) != 0) {
return useFeasibilityPolishing_; }
else {
return UseFeasibilityPolishingDefaultValue; } }
3238 _hasBits0 |= 524288;
3239 useFeasibilityPolishing_ = value;
3243 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3244 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3245 public bool HasUseFeasibilityPolishing {
3246 get {
return (_hasBits0 & 524288) != 0; }
3249 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3250 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3251 public void ClearUseFeasibilityPolishing() {
3252 _hasBits0 &= ~524288;
3255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3256 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3257 public override bool Equals(
object other) {
3261 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3262 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3264 if (ReferenceEquals(other,
null)) {
3267 if (ReferenceEquals(other,
this)) {
3271 if (NumThreads != other.
NumThreads)
return false;
3272 if (NumShards != other.
NumShards)
return false;
3276 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LogIntervalSeconds, other.
LogIntervalSeconds))
return false;
3280 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PrimalWeightUpdateSmoothing, other.
PrimalWeightUpdateSmoothing))
return false;
3281 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(InitialPrimalWeight, other.
InitialPrimalWeight))
return false;
3282 if (!
object.Equals(PresolveOptions, other.
PresolveOptions))
return false;
3285 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SufficientReductionForRestart, other.
SufficientReductionForRestart))
return false;
3286 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NecessaryReductionForRestart, other.
NecessaryReductionForRestart))
return false;
3290 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(InitialStepSizeScaling, other.
InitialStepSizeScaling))
return false;
3291 if(!randomProjectionSeeds_.Equals(other.randomProjectionSeeds_))
return false;
3292 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(InfiniteConstraintBoundThreshold, other.
InfiniteConstraintBoundThreshold))
return false;
3297 return Equals(_unknownFields, other._unknownFields);
3300 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3301 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3302 public override int GetHashCode() {
3325 hash ^= randomProjectionSeeds_.GetHashCode();
3331 if (_unknownFields !=
null) {
3332 hash ^= _unknownFields.GetHashCode();
3337 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3338 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3339 public override string ToString() {
3340 return pb::JsonFormatter.ToDiagnosticString(
this);
3343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3344 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3345 public void WriteTo(pb::CodedOutputStream output) {
3346 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3347 output.WriteRawMessage(
this);
3349 if (terminationCriteria_ !=
null) {
3350 output.WriteRawTag(10);
3353 if (HasNumThreads) {
3354 output.WriteRawTag(16);
3355 output.WriteInt32(NumThreads);
3357 if (HasRecordIterationStats) {
3358 output.WriteRawTag(24);
3359 output.WriteBool(RecordIterationStats);
3361 if (HasMajorIterationFrequency) {
3362 output.WriteRawTag(32);
3363 output.WriteInt32(MajorIterationFrequency);
3365 if (HasTerminationCheckFrequency) {
3366 output.WriteRawTag(40);
3367 output.WriteInt32(TerminationCheckFrequency);
3369 if (HasRestartStrategy) {
3370 output.WriteRawTag(48);
3371 output.WriteEnum((
int) RestartStrategy);
3373 if (HasPrimalWeightUpdateSmoothing) {
3374 output.WriteRawTag(57);
3375 output.WriteDouble(PrimalWeightUpdateSmoothing);
3377 if (HasInitialPrimalWeight) {
3378 output.WriteRawTag(65);
3379 output.WriteDouble(InitialPrimalWeight);
3381 if (HasLInfRuizIterations) {
3382 output.WriteRawTag(72);
3383 output.WriteInt32(LInfRuizIterations);
3385 if (HasL2NormRescaling) {
3386 output.WriteRawTag(80);
3387 output.WriteBool(L2NormRescaling);
3389 if (HasSufficientReductionForRestart) {
3390 output.WriteRawTag(89);
3391 output.WriteDouble(SufficientReductionForRestart);
3393 if (HasLinesearchRule) {
3394 output.WriteRawTag(96);
3395 output.WriteEnum((
int) LinesearchRule);
3397 if (presolveOptions_ !=
null) {
3398 output.WriteRawTag(130, 1);
3399 output.WriteMessage(PresolveOptions);
3401 if (HasNecessaryReductionForRestart) {
3402 output.WriteRawTag(137, 1);
3403 output.WriteDouble(NecessaryReductionForRestart);
3405 if (adaptiveLinesearchParameters_ !=
null) {
3406 output.WriteRawTag(146, 1);
3407 output.WriteMessage(AdaptiveLinesearchParameters);
3409 if (malitskyPockParameters_ !=
null) {
3410 output.WriteRawTag(154, 1);
3411 output.WriteMessage(MalitskyPockParameters);
3413 if (HasInfiniteConstraintBoundThreshold) {
3414 output.WriteRawTag(177, 1);
3415 output.WriteDouble(InfiniteConstraintBoundThreshold);
3417 if (HasUseDiagonalQpTrustRegionSolver) {
3418 output.WriteRawTag(184, 1);
3419 output.WriteBool(UseDiagonalQpTrustRegionSolver);
3421 if (HasDiagonalQpTrustRegionSolverTolerance) {
3422 output.WriteRawTag(193, 1);
3423 output.WriteDouble(DiagonalQpTrustRegionSolverTolerance);
3425 if (HasInitialStepSizeScaling) {
3426 output.WriteRawTag(201, 1);
3427 output.WriteDouble(InitialStepSizeScaling);
3429 if (HasVerbosityLevel) {
3430 output.WriteRawTag(208, 1);
3431 output.WriteInt32(VerbosityLevel);
3434 output.WriteRawTag(216, 1);
3435 output.WriteInt32(NumShards);
3437 randomProjectionSeeds_.WriteTo(output, _repeated_randomProjectionSeeds_codec);
3438 if (HasHandleSomePrimalGradientsOnFiniteBoundsAsResiduals) {
3439 output.WriteRawTag(232, 1);
3440 output.WriteBool(HandleSomePrimalGradientsOnFiniteBoundsAsResiduals);
3442 if (HasUseFeasibilityPolishing) {
3443 output.WriteRawTag(240, 1);
3444 output.WriteBool(UseFeasibilityPolishing);
3446 if (HasLogIntervalSeconds) {
3447 output.WriteRawTag(249, 1);
3448 output.WriteDouble(LogIntervalSeconds);
3450 if (HasSchedulerType) {
3451 output.WriteRawTag(128, 2);
3452 output.WriteEnum((
int) SchedulerType);
3454 if (_unknownFields !=
null) {
3455 _unknownFields.WriteTo(output);
3460 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3462 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3463 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3464 if (terminationCriteria_ !=
null) {
3465 output.WriteRawTag(10);
3466 output.WriteMessage(TerminationCriteria);
3468 if (HasNumThreads) {
3469 output.WriteRawTag(16);
3470 output.WriteInt32(NumThreads);
3472 if (HasRecordIterationStats) {
3473 output.WriteRawTag(24);
3474 output.WriteBool(RecordIterationStats);
3476 if (HasMajorIterationFrequency) {
3477 output.WriteRawTag(32);
3478 output.WriteInt32(MajorIterationFrequency);
3480 if (HasTerminationCheckFrequency) {
3481 output.WriteRawTag(40);
3482 output.WriteInt32(TerminationCheckFrequency);
3484 if (HasRestartStrategy) {
3485 output.WriteRawTag(48);
3486 output.WriteEnum((
int) RestartStrategy);
3488 if (HasPrimalWeightUpdateSmoothing) {
3489 output.WriteRawTag(57);
3490 output.WriteDouble(PrimalWeightUpdateSmoothing);
3492 if (HasInitialPrimalWeight) {
3493 output.WriteRawTag(65);
3494 output.WriteDouble(InitialPrimalWeight);
3496 if (HasLInfRuizIterations) {
3497 output.WriteRawTag(72);
3498 output.WriteInt32(LInfRuizIterations);
3500 if (HasL2NormRescaling) {
3501 output.WriteRawTag(80);
3502 output.WriteBool(L2NormRescaling);
3504 if (HasSufficientReductionForRestart) {
3505 output.WriteRawTag(89);
3506 output.WriteDouble(SufficientReductionForRestart);
3508 if (HasLinesearchRule) {
3509 output.WriteRawTag(96);
3510 output.WriteEnum((
int) LinesearchRule);
3512 if (presolveOptions_ !=
null) {
3513 output.WriteRawTag(130, 1);
3514 output.WriteMessage(PresolveOptions);
3516 if (HasNecessaryReductionForRestart) {
3517 output.WriteRawTag(137, 1);
3518 output.WriteDouble(NecessaryReductionForRestart);
3520 if (adaptiveLinesearchParameters_ !=
null) {
3521 output.WriteRawTag(146, 1);
3522 output.WriteMessage(AdaptiveLinesearchParameters);
3524 if (malitskyPockParameters_ !=
null) {
3525 output.WriteRawTag(154, 1);
3526 output.WriteMessage(MalitskyPockParameters);
3528 if (HasInfiniteConstraintBoundThreshold) {
3529 output.WriteRawTag(177, 1);
3530 output.WriteDouble(InfiniteConstraintBoundThreshold);
3532 if (HasUseDiagonalQpTrustRegionSolver) {
3533 output.WriteRawTag(184, 1);
3534 output.WriteBool(UseDiagonalQpTrustRegionSolver);
3536 if (HasDiagonalQpTrustRegionSolverTolerance) {
3537 output.WriteRawTag(193, 1);
3538 output.WriteDouble(DiagonalQpTrustRegionSolverTolerance);
3540 if (HasInitialStepSizeScaling) {
3541 output.WriteRawTag(201, 1);
3542 output.WriteDouble(InitialStepSizeScaling);
3544 if (HasVerbosityLevel) {
3545 output.WriteRawTag(208, 1);
3546 output.WriteInt32(VerbosityLevel);
3549 output.WriteRawTag(216, 1);
3550 output.WriteInt32(NumShards);
3552 randomProjectionSeeds_.WriteTo(ref output, _repeated_randomProjectionSeeds_codec);
3553 if (HasHandleSomePrimalGradientsOnFiniteBoundsAsResiduals) {
3554 output.WriteRawTag(232, 1);
3555 output.WriteBool(HandleSomePrimalGradientsOnFiniteBoundsAsResiduals);
3557 if (HasUseFeasibilityPolishing) {
3558 output.WriteRawTag(240, 1);
3559 output.WriteBool(UseFeasibilityPolishing);
3561 if (HasLogIntervalSeconds) {
3562 output.WriteRawTag(249, 1);
3563 output.WriteDouble(LogIntervalSeconds);
3565 if (HasSchedulerType) {
3566 output.WriteRawTag(128, 2);
3567 output.WriteEnum((
int) SchedulerType);
3569 if (_unknownFields !=
null) {
3570 _unknownFields.WriteTo(ref output);
3575 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3576 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3577 public int CalculateSize() {
3579 if (terminationCriteria_ !=
null) {
3582 if (HasNumThreads) {
3583 size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumThreads);
3586 size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumShards);
3588 if (HasSchedulerType) {
3589 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) SchedulerType);
3591 if (HasRecordIterationStats) {
3594 if (HasVerbosityLevel) {
3595 size += 2 + pb::CodedOutputStream.ComputeInt32Size(VerbosityLevel);
3597 if (HasLogIntervalSeconds) {
3600 if (HasMajorIterationFrequency) {
3601 size += 1 + pb::CodedOutputStream.ComputeInt32Size(MajorIterationFrequency);
3603 if (HasTerminationCheckFrequency) {
3604 size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminationCheckFrequency);
3606 if (HasRestartStrategy) {
3607 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) RestartStrategy);
3609 if (HasPrimalWeightUpdateSmoothing) {
3612 if (HasInitialPrimalWeight) {
3615 if (presolveOptions_ !=
null) {
3616 size += 2 + pb::CodedOutputStream.ComputeMessageSize(PresolveOptions);
3618 if (HasLInfRuizIterations) {
3619 size += 1 + pb::CodedOutputStream.ComputeInt32Size(LInfRuizIterations);
3621 if (HasL2NormRescaling) {
3624 if (HasSufficientReductionForRestart) {
3627 if (HasNecessaryReductionForRestart) {
3630 if (HasLinesearchRule) {
3631 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) LinesearchRule);
3633 if (adaptiveLinesearchParameters_ !=
null) {
3634 size += 2 + pb::CodedOutputStream.ComputeMessageSize(AdaptiveLinesearchParameters);
3636 if (malitskyPockParameters_ !=
null) {
3637 size += 2 + pb::CodedOutputStream.ComputeMessageSize(MalitskyPockParameters);
3639 if (HasInitialStepSizeScaling) {
3642 size += randomProjectionSeeds_.CalculateSize(_repeated_randomProjectionSeeds_codec);
3643 if (HasInfiniteConstraintBoundThreshold) {
3646 if (HasHandleSomePrimalGradientsOnFiniteBoundsAsResiduals) {
3649 if (HasUseDiagonalQpTrustRegionSolver) {
3652 if (HasDiagonalQpTrustRegionSolverTolerance) {
3655 if (HasUseFeasibilityPolishing) {
3658 if (_unknownFields !=
null) {
3659 size += _unknownFields.CalculateSize();
3664 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3665 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3666 public void MergeFrom(PrimalDualHybridGradientParams other) {
3667 if (other ==
null) {
3670 if (other.terminationCriteria_ !=
null) {
3671 if (terminationCriteria_ ==
null) {
3674 TerminationCriteria.MergeFrom(other.TerminationCriteria);
3676 if (other.HasNumThreads) {
3677 NumThreads = other.NumThreads;
3679 if (other.HasNumShards) {
3680 NumShards = other.NumShards;
3682 if (other.HasSchedulerType) {
3685 if (other.HasRecordIterationStats) {
3686 RecordIterationStats = other.RecordIterationStats;
3688 if (other.HasVerbosityLevel) {
3689 VerbosityLevel = other.VerbosityLevel;
3691 if (other.HasLogIntervalSeconds) {
3692 LogIntervalSeconds = other.LogIntervalSeconds;
3694 if (other.HasMajorIterationFrequency) {
3695 MajorIterationFrequency = other.MajorIterationFrequency;
3697 if (other.HasTerminationCheckFrequency) {
3698 TerminationCheckFrequency = other.TerminationCheckFrequency;
3700 if (other.HasRestartStrategy) {
3701 RestartStrategy = other.RestartStrategy;
3703 if (other.HasPrimalWeightUpdateSmoothing) {
3704 PrimalWeightUpdateSmoothing = other.PrimalWeightUpdateSmoothing;
3706 if (other.HasInitialPrimalWeight) {
3707 InitialPrimalWeight = other.InitialPrimalWeight;
3709 if (other.presolveOptions_ !=
null) {
3710 if (presolveOptions_ ==
null) {
3711 PresolveOptions =
new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.PresolveOptions();
3713 PresolveOptions.MergeFrom(other.PresolveOptions);
3715 if (other.HasLInfRuizIterations) {
3716 LInfRuizIterations = other.LInfRuizIterations;
3718 if (other.HasL2NormRescaling) {
3719 L2NormRescaling = other.L2NormRescaling;
3721 if (other.HasSufficientReductionForRestart) {
3722 SufficientReductionForRestart = other.SufficientReductionForRestart;
3724 if (other.HasNecessaryReductionForRestart) {
3725 NecessaryReductionForRestart = other.NecessaryReductionForRestart;
3727 if (other.HasLinesearchRule) {
3728 LinesearchRule = other.LinesearchRule;
3730 if (other.adaptiveLinesearchParameters_ !=
null) {
3731 if (adaptiveLinesearchParameters_ ==
null) {
3732 AdaptiveLinesearchParameters =
new global::Google.OrTools.PDLP.AdaptiveLinesearchParams();
3734 AdaptiveLinesearchParameters.MergeFrom(other.AdaptiveLinesearchParameters);
3736 if (other.malitskyPockParameters_ !=
null) {
3737 if (malitskyPockParameters_ ==
null) {
3738 MalitskyPockParameters =
new global::Google.OrTools.PDLP.MalitskyPockParams();
3740 MalitskyPockParameters.MergeFrom(other.MalitskyPockParameters);
3742 if (other.HasInitialStepSizeScaling) {
3743 InitialStepSizeScaling = other.InitialStepSizeScaling;
3745 randomProjectionSeeds_.Add(other.randomProjectionSeeds_);
3746 if (other.HasInfiniteConstraintBoundThreshold) {
3747 InfiniteConstraintBoundThreshold = other.InfiniteConstraintBoundThreshold;
3749 if (other.HasHandleSomePrimalGradientsOnFiniteBoundsAsResiduals) {
3750 HandleSomePrimalGradientsOnFiniteBoundsAsResiduals = other.HandleSomePrimalGradientsOnFiniteBoundsAsResiduals;
3752 if (other.HasUseDiagonalQpTrustRegionSolver) {
3753 UseDiagonalQpTrustRegionSolver = other.UseDiagonalQpTrustRegionSolver;
3755 if (other.HasDiagonalQpTrustRegionSolverTolerance) {
3756 DiagonalQpTrustRegionSolverTolerance = other.DiagonalQpTrustRegionSolverTolerance;
3758 if (other.HasUseFeasibilityPolishing) {
3759 UseFeasibilityPolishing = other.UseFeasibilityPolishing;
3761 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3764 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3765 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3766 public void MergeFrom(pb::CodedInputStream input) {
3767 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3768 input.ReadRawMessage(
this);
3771 while ((tag = input.ReadTag()) != 0) {
3772 if ((tag & 7) == 4) {
3778 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3781 if (terminationCriteria_ ==
null) {
3804 RestartStrategy = (global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy) input.ReadEnum();
3828 LinesearchRule = (global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule) input.ReadEnum();
3832 if (presolveOptions_ ==
null) {
3833 PresolveOptions =
new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.PresolveOptions();
3843 if (adaptiveLinesearchParameters_ ==
null) {
3850 if (malitskyPockParameters_ ==
null) {
3882 randomProjectionSeeds_.AddEntriesFrom(input, _repeated_randomProjectionSeeds_codec);
3898 SchedulerType = (global::Google.OrTools.PDLP.SchedulerType) input.ReadEnum();
3906 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3907 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3908 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3909 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3911 while ((tag = input.ReadTag()) != 0) {
3912 if ((tag & 7) == 4) {
3918 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3921 if (terminationCriteria_ ==
null) {
3922 TerminationCriteria =
new global::Google.OrTools.PDLP.TerminationCriteria();
3924 input.ReadMessage(TerminationCriteria);
3928 NumThreads = input.ReadInt32();
3932 RecordIterationStats = input.ReadBool();
3936 MajorIterationFrequency = input.ReadInt32();
3940 TerminationCheckFrequency = input.ReadInt32();
3944 RestartStrategy = (global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy) input.ReadEnum();
3948 PrimalWeightUpdateSmoothing = input.ReadDouble();
3952 InitialPrimalWeight = input.ReadDouble();
3956 LInfRuizIterations = input.ReadInt32();
3960 L2NormRescaling = input.ReadBool();
3964 SufficientReductionForRestart = input.ReadDouble();
3968 LinesearchRule = (global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule) input.ReadEnum();
3972 if (presolveOptions_ ==
null) {
3973 PresolveOptions =
new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.PresolveOptions();
3975 input.ReadMessage(PresolveOptions);
3979 NecessaryReductionForRestart = input.ReadDouble();
3983 if (adaptiveLinesearchParameters_ ==
null) {
3984 AdaptiveLinesearchParameters =
new global::Google.OrTools.PDLP.AdaptiveLinesearchParams();
3986 input.ReadMessage(AdaptiveLinesearchParameters);
3990 if (malitskyPockParameters_ ==
null) {
3991 MalitskyPockParameters =
new global::Google.OrTools.PDLP.MalitskyPockParams();
3993 input.ReadMessage(MalitskyPockParameters);
3997 InfiniteConstraintBoundThreshold = input.ReadDouble();
4001 UseDiagonalQpTrustRegionSolver = input.ReadBool();
4005 DiagonalQpTrustRegionSolverTolerance = input.ReadDouble();
4009 InitialStepSizeScaling = input.ReadDouble();
4013 VerbosityLevel = input.ReadInt32();
4017 NumShards = input.ReadInt32();
4022 randomProjectionSeeds_.AddEntriesFrom(ref input, _repeated_randomProjectionSeeds_codec);
4026 HandleSomePrimalGradientsOnFiniteBoundsAsResiduals = input.ReadBool();
4030 UseFeasibilityPolishing = input.ReadBool();
4034 LogIntervalSeconds = input.ReadDouble();
4038 SchedulerType = (global::Google.OrTools.PDLP.SchedulerType) input.ReadEnum();
4046 #region Nested types
4048 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4049 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4050 public static partial class Types {
4051 public enum RestartStrategy {
4057 [pbr::OriginalName(
"NO_RESTARTS")]
NoRestarts = 1,
4083 [pbr::OriginalName(
"LINESEARCH_RULE_UNSPECIFIED")]
Unspecified = 0,
4105 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4106 public sealed partial class PresolveOptions : pb::IMessage<PresolveOptions>
4107 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4108 , pb::IBufferMessage
4111 private static readonly pb::MessageParser<PresolveOptions> _parser =
new pb::MessageParser<PresolveOptions>(() =>
new PresolveOptions());
4112 private pb::UnknownFieldSet _unknownFields;
4113 private int _hasBits0;
4114 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4115 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4116 public static pb::MessageParser<PresolveOptions>
Parser {
get {
return _parser; } }
4118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4119 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4120 public static pbr::MessageDescriptor
Descriptor {
4121 get {
return global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Descriptor.NestedTypes[0]; }
4124 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4125 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4126 pbr::MessageDescriptor pb::IMessage.Descriptor {
4130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4131 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4132 public PresolveOptions() {
4136 partial
void OnConstruction();
4138 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4139 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4141 _hasBits0 = other._hasBits0;
4142 useGlop_ = other.useGlop_;
4143 glopParameters_ = other.glopParameters_ !=
null ? other.glopParameters_.Clone() :
null;
4144 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4147 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4148 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4154 public const int UseGlopFieldNumber = 1;
4155 private readonly
static bool UseGlopDefaultValue =
false;
4157 private bool useGlop_;
4168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4169 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4171 get {
if ((_hasBits0 & 1) != 0) {
return useGlop_; }
else {
return UseGlopDefaultValue; } }
4178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4179 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4180 public bool HasUseGlop {
4181 get {
return (_hasBits0 & 1) != 0; }
4184 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4185 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4186 public void ClearUseGlop() {
4191 public const int GlopParametersFieldNumber = 2;
4192 private global::Google.OrTools.Glop.GlopParameters glopParameters_;
4197 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4198 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4200 get { return glopParameters_; }
4202 glopParameters_ = value;
4206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4207 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4208 public override bool Equals(
object other) {
4212 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4213 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4215 if (ReferenceEquals(other,
null)) {
4218 if (ReferenceEquals(other,
this)) {
4221 if (UseGlop != other.
UseGlop)
return false;
4223 return Equals(_unknownFields, other._unknownFields);
4226 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4227 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4228 public override int GetHashCode() {
4231 if (glopParameters_ !=
null) hash ^=
GlopParameters.GetHashCode();
4232 if (_unknownFields !=
null) {
4233 hash ^= _unknownFields.GetHashCode();
4238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4239 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4240 public override string ToString() {
4241 return pb::JsonFormatter.ToDiagnosticString(
this);
4244 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4245 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4246 public void WriteTo(pb::CodedOutputStream output) {
4247 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4248 output.WriteRawMessage(
this);
4251 output.WriteRawTag(8);
4254 if (glopParameters_ !=
null) {
4255 output.WriteRawTag(18);
4256 output.WriteMessage(GlopParameters);
4258 if (_unknownFields !=
null) {
4259 _unknownFields.WriteTo(output);
4264 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4265 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4266 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4267 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4269 output.WriteRawTag(8);
4270 output.WriteBool(UseGlop);
4272 if (glopParameters_ !=
null) {
4273 output.WriteRawTag(18);
4274 output.WriteMessage(GlopParameters);
4276 if (_unknownFields !=
null) {
4277 _unknownFields.WriteTo(ref output);
4282 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4283 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4284 public int CalculateSize() {
4289 if (glopParameters_ !=
null) {
4290 size += 1 + pb::CodedOutputStream.ComputeMessageSize(GlopParameters);
4292 if (_unknownFields !=
null) {
4293 size += _unknownFields.CalculateSize();
4298 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4299 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4300 public void MergeFrom(PresolveOptions other) {
4301 if (other ==
null) {
4304 if (other.HasUseGlop) {
4305 UseGlop = other.UseGlop;
4307 if (other.glopParameters_ !=
null) {
4308 if (glopParameters_ ==
null) {
4309 GlopParameters =
new global::Google.OrTools.Glop.GlopParameters();
4311 GlopParameters.MergeFrom(other.GlopParameters);
4313 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4316 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4317 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4318 public void MergeFrom(pb::CodedInputStream input) {
4319 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4320 input.ReadRawMessage(
this);
4323 while ((tag = input.ReadTag()) != 0) {
4324 if ((tag & 7) == 4) {
4330 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4337 if (glopParameters_ ==
null) {
4338 GlopParameters =
new global::Google.OrTools.Glop.GlopParameters();
4348 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4350 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4351 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4353 while ((tag = input.ReadTag()) != 0) {
4354 if ((tag & 7) == 4) {
4360 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4363 UseGlop = input.ReadBool();
4367 if (glopParameters_ ==
null) {
4368 GlopParameters =
new global::Google.OrTools.Glop.GlopParameters();
4370 input.ReadMessage(GlopParameters);
4389#endregion Designer generated code
global::Google.Protobuf pb
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc