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 "IAEoAToBMSKwEAoeUHJpbWFsRHVhbEh5YnJpZEdyYWRpZW50UGFyYW1zEksK",
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 "IAEoCDoFZmFsc2USPwowYXBwbHlfZmVhc2liaWxpdHlfcG9saXNoaW5nX2Fm",
93 "dGVyX2xpbWl0c19yZWFjaGVkGCEgASgIOgVmYWxzZRJDCjRhcHBseV9mZWFz",
94 "aWJpbGl0eV9wb2xpc2hpbmdfaWZfc29sdmVyX2lzX2ludGVycnVwdGVkGCIg",
95 "ASgIOgVmYWxzZRpmCg9QcmVzb2x2ZU9wdGlvbnMSEAoIdXNlX2dsb3AYASAB",
96 "KAgSQQoPZ2xvcF9wYXJhbWV0ZXJzGAIgASgLMigub3BlcmF0aW9uc19yZXNl",
97 "YXJjaC5nbG9wLkdsb3BQYXJhbWV0ZXJzIpQBCg9SZXN0YXJ0U3RyYXRlZ3kS",
98 "IAocUkVTVEFSVF9TVFJBVEVHWV9VTlNQRUNJRklFRBAAEg8KC05PX1JFU1RB",
99 "UlRTEAESGQoVRVZFUllfTUFKT1JfSVRFUkFUSU9OEAISFgoSQURBUFRJVkVf",
100 "SEVVUklTVElDEAMSGwoXQURBUFRJVkVfRElTVEFOQ0VfQkFTRUQQBCKPAQoO",
101 "TGluZXNlYXJjaFJ1bGUSHwobTElORVNFQVJDSF9SVUxFX1VOU1BFQ0lGSUVE",
102 "EAASHAoYQURBUFRJVkVfTElORVNFQVJDSF9SVUxFEAESIQodTUFMSVRTS1lf",
103 "UE9DS19MSU5FU0VBUkNIX1JVTEUQAhIbChdDT05TVEFOVF9TVEVQX1NJWkVf",
104 "UlVMRRADSgQIDRAOSgQIDhAPSgQIDxAQSgQIFBAVSgQIFRAWKo0BCg5PcHRp",
105 "bWFsaXR5Tm9ybRIfChtPUFRJTUFMSVRZX05PUk1fVU5TUEVDSUZJRUQQABIZ",
106 "ChVPUFRJTUFMSVRZX05PUk1fTF9JTkYQARIWChJPUFRJTUFMSVRZX05PUk1f",
107 "TDIQAhInCiNPUFRJTUFMSVRZX05PUk1fTF9JTkZfQ09NUE9ORU5UV0lTRRAD",
108 "KnoKDVNjaGVkdWxlclR5cGUSHgoaU0NIRURVTEVSX1RZUEVfVU5TUEVDSUZJ",
109 "RUQQABIkCiBTQ0hFRFVMRVJfVFlQRV9HT09HTEVfVEhSRUFEUE9PTBABEiMK",
110 "H1NDSEVEVUxFUl9UWVBFX0VJR0VOX1RIUkVBRFBPT0wQA0IxChdjb20uZ29v",
111 "Z2xlLm9ydG9vbHMucGRscFABqgITR29vZ2xlLk9yVG9vbHMuUERMUA=="));
112 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
113 new pbr::FileDescriptor[] { global::Google.OrTools.Glop.ParametersReflection.Descriptor, },
114 new pbr::GeneratedClrTypeInfo(
new[] {typeof(global::Google.
OrTools.
PDLP.OptimalityNorm), typeof(global::Google.
OrTools.
PDLP.SchedulerType), },
null,
new pbr::GeneratedClrTypeInfo[] {
115 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),
116 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)}),
117 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.AdaptiveLinesearchParams), global::Google.OrTools.PDLP.AdaptiveLinesearchParams.Parser,
new[]{
"StepSizeReductionExponent",
"StepSizeGrowthExponent" },
null,
null,
null,
null),
118 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.MalitskyPockParams), global::Google.OrTools.PDLP.MalitskyPockParams.Parser,
new[]{
"StepSizeDownscalingFactor",
"LinesearchContractionFactor",
"StepSizeInterpolation" },
null,
null,
null,
null),
119 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",
"ApplyFeasibilityPolishingAfterLimitsReached",
"ApplyFeasibilityPolishingIfSolverIsInterrupted" },
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)})
127 [pbr::OriginalName(
"OPTIMALITY_NORM_UNSPECIFIED")]
Unspecified = 0,
131 [pbr::OriginalName(
"OPTIMALITY_NORM_L_INF")]
LInf = 1,
135 [pbr::OriginalName(
"OPTIMALITY_NORM_L2")]
L2 = 2,
156 [pbr::OriginalName(
"SCHEDULER_TYPE_UNSPECIFIED")]
Unspecified = 0,
183 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
185 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
189 private static readonly pb::MessageParser<TerminationCriteria> _parser =
new pb::MessageParser<TerminationCriteria>(() =>
new TerminationCriteria());
190 private pb::UnknownFieldSet _unknownFields;
191 private int _hasBits0;
192 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
193 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
194 public static pb::MessageParser<TerminationCriteria>
Parser {
get {
return _parser; } }
196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
197 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
199 get {
return global::Google.OrTools.PDLP.SolversReflection.Descriptor.MessageTypes[0]; }
202 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
203 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
204 pbr::MessageDescriptor pb::IMessage.Descriptor {
205 get {
return Descriptor; }
208 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
209 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
214 partial
void OnConstruction();
216 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
217 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
219 _hasBits0 = other._hasBits0;
220 optimalityNorm_ = other.optimalityNorm_;
221 epsOptimalAbsolute_ = other.epsOptimalAbsolute_;
222 epsOptimalRelative_ = other.epsOptimalRelative_;
223 epsPrimalInfeasible_ = other.epsPrimalInfeasible_;
224 epsDualInfeasible_ = other.epsDualInfeasible_;
225 timeSecLimit_ = other.timeSecLimit_;
226 iterationLimit_ = other.iterationLimit_;
227 kktMatrixPassLimit_ = other.kktMatrixPassLimit_;
229 case OptimalityCriteriaOneofCase.SimpleOptimalityCriteria:
230 SimpleOptimalityCriteria = other.SimpleOptimalityCriteria.Clone();
232 case OptimalityCriteriaOneofCase.DetailedOptimalityCriteria:
233 DetailedOptimalityCriteria = other.DetailedOptimalityCriteria.Clone();
237 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
241 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
248 private readonly
static global::Google.OrTools.PDLP.OptimalityNorm OptimalityNormDefaultValue = global::Google.OrTools.PDLP.OptimalityNorm.L2;
250 private global::Google.OrTools.PDLP.OptimalityNorm optimalityNorm_;
254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
255 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
257 get { if ((_hasBits0 & 1) != 0) { return optimalityNorm_; } else { return OptimalityNormDefaultValue; } }
260 optimalityNorm_ = value;
264 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
265 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
267 get {
return (_hasBits0 & 1) != 0; }
270 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
271 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
279 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
281 get { return optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.SimpleOptimalityCriteria ? (global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria) optimalityCriteria_ : null; }
283 optimalityCriteria_ = value;
284 optimalityCriteriaCase_ = value == null ? OptimalityCriteriaOneofCase.None : OptimalityCriteriaOneofCase.SimpleOptimalityCriteria;
290 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
291 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
293 get { return optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.DetailedOptimalityCriteria ? (global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria) optimalityCriteria_ : null; }
295 optimalityCriteria_ = value;
296 optimalityCriteriaCase_ = value == null ? OptimalityCriteriaOneofCase.None : OptimalityCriteriaOneofCase.DetailedOptimalityCriteria;
302 private readonly
static double EpsOptimalAbsoluteDefaultValue = 1e-06D;
304 private double epsOptimalAbsolute_;
311 [global::System.ObsoleteAttribute]
312 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
313 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
315 get {
if ((_hasBits0 & 2) != 0) {
return epsOptimalAbsolute_; }
else {
return EpsOptimalAbsoluteDefaultValue; } }
318 epsOptimalAbsolute_ = value;
322 [global::System.ObsoleteAttribute]
323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
324 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
326 get {
return (_hasBits0 & 2) != 0; }
329 [global::System.ObsoleteAttribute]
330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
331 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
338 private readonly
static double EpsOptimalRelativeDefaultValue = 1e-06D;
340 private double epsOptimalRelative_;
347 [global::System.ObsoleteAttribute]
348 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
349 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
351 get {
if ((_hasBits0 & 4) != 0) {
return epsOptimalRelative_; }
else {
return EpsOptimalRelativeDefaultValue; } }
354 epsOptimalRelative_ = value;
358 [global::System.ObsoleteAttribute]
359 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
360 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
362 get {
return (_hasBits0 & 4) != 0; }
365 [global::System.ObsoleteAttribute]
366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
367 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
374 private readonly
static double EpsPrimalInfeasibleDefaultValue = 1e-08D;
376 private double epsPrimalInfeasible_;
385 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
386 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
388 get {
if ((_hasBits0 & 8) != 0) {
return epsPrimalInfeasible_; }
else {
return EpsPrimalInfeasibleDefaultValue; } }
391 epsPrimalInfeasible_ = value;
395 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
396 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
398 get {
return (_hasBits0 & 8) != 0; }
401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
402 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
409 private readonly
static double EpsDualInfeasibleDefaultValue = 1e-08D;
411 private double epsDualInfeasible_;
422 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
423 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
425 get {
if ((_hasBits0 & 16) != 0) {
return epsDualInfeasible_; }
else {
return EpsDualInfeasibleDefaultValue; } }
428 epsDualInfeasible_ = value;
432 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
433 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
435 get {
return (_hasBits0 & 16) != 0; }
438 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
439 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
446 private readonly
static double TimeSecLimitDefaultValue =
double.PositiveInfinity;
448 private double timeSecLimit_;
453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
454 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
456 get {
if ((_hasBits0 & 32) != 0) {
return timeSecLimit_; }
else {
return TimeSecLimitDefaultValue; } }
459 timeSecLimit_ = value;
463 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
464 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
466 get {
return (_hasBits0 & 32) != 0; }
469 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
470 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
477 private readonly
static int IterationLimitDefaultValue = 2147483647;
479 private int iterationLimit_;
484 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
485 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
487 get {
if ((_hasBits0 & 64) != 0) {
return iterationLimit_; }
else {
return IterationLimitDefaultValue; } }
490 iterationLimit_ = value;
494 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
495 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
497 get {
return (_hasBits0 & 64) != 0; }
500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
501 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
508 private readonly
static double KktMatrixPassLimitDefaultValue =
double.PositiveInfinity;
510 private double kktMatrixPassLimit_;
515 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
516 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
518 get {
if ((_hasBits0 & 128) != 0) {
return kktMatrixPassLimit_; }
else {
return KktMatrixPassLimitDefaultValue; } }
521 kktMatrixPassLimit_ = value;
525 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
526 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
528 get {
return (_hasBits0 & 128) != 0; }
531 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
532 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
537 private object optimalityCriteria_;
544 private OptimalityCriteriaOneofCase optimalityCriteriaCase_ = OptimalityCriteriaOneofCase.None;
545 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
546 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
548 get {
return optimalityCriteriaCase_; }
551 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
552 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
555 optimalityCriteria_ =
null;
558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
559 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
560 public override bool Equals(
object other) {
564 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
565 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
567 if (ReferenceEquals(other,
null)) {
570 if (ReferenceEquals(other,
this)) {
580 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
TimeSecLimit, other.
TimeSecLimit))
return false;
584 return Equals(_unknownFields, other._unknownFields);
587 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
588 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
601 hash ^= (int) optimalityCriteriaCase_;
602 if (_unknownFields !=
null) {
603 hash ^= _unknownFields.GetHashCode();
608 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
609 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
611 return pb::JsonFormatter.ToDiagnosticString(
this);
614 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
615 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
616 public void WriteTo(pb::CodedOutputStream output) {
617 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
618 output.WriteRawMessage(
this);
621 output.WriteRawTag(8);
625 output.WriteRawTag(17);
629 output.WriteRawTag(25);
633 output.WriteRawTag(33);
637 output.WriteRawTag(41);
641 output.WriteRawTag(49);
645 output.WriteRawTag(56);
649 output.WriteRawTag(65);
653 output.WriteRawTag(74);
657 output.WriteRawTag(82);
660 if (_unknownFields !=
null) {
661 _unknownFields.WriteTo(output);
666 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
667 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
668 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
669 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
670 if (HasOptimalityNorm) {
671 output.WriteRawTag(8);
674 if (HasEpsOptimalAbsolute) {
675 output.WriteRawTag(17);
676 output.WriteDouble(EpsOptimalAbsolute);
678 if (HasEpsOptimalRelative) {
679 output.WriteRawTag(25);
680 output.WriteDouble(EpsOptimalRelative);
682 if (HasEpsPrimalInfeasible) {
683 output.WriteRawTag(33);
684 output.WriteDouble(EpsPrimalInfeasible);
686 if (HasEpsDualInfeasible) {
687 output.WriteRawTag(41);
688 output.WriteDouble(EpsDualInfeasible);
690 if (HasTimeSecLimit) {
691 output.WriteRawTag(49);
692 output.WriteDouble(TimeSecLimit);
694 if (HasIterationLimit) {
695 output.WriteRawTag(56);
696 output.WriteInt32(IterationLimit);
698 if (HasKktMatrixPassLimit) {
699 output.WriteRawTag(65);
700 output.WriteDouble(KktMatrixPassLimit);
702 if (optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.SimpleOptimalityCriteria) {
703 output.WriteRawTag(74);
704 output.WriteMessage(SimpleOptimalityCriteria);
706 if (optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.DetailedOptimalityCriteria) {
707 output.WriteRawTag(82);
708 output.WriteMessage(DetailedOptimalityCriteria);
710 if (_unknownFields !=
null) {
711 _unknownFields.WriteTo(ref output);
716 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
717 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
721 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int)
OptimalityNorm);
745 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
IterationLimit);
750 if (_unknownFields !=
null) {
751 size += _unknownFields.CalculateSize();
756 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
757 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
801 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
804 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
805 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
807 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
808 input.ReadRawMessage(
this);
811 while ((tag = input.ReadTag()) != 0) {
812 if ((tag & 7) == 4) {
818 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
821 OptimalityNorm = (global::Google.OrTools.PDLP.OptimalityNorm) input.ReadEnum();
853 global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria subBuilder =
new global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria();
857 input.ReadMessage(subBuilder);
862 global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria subBuilder =
new global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria();
866 input.ReadMessage(subBuilder);
875 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
876 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
877 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
878 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
880 while ((tag = input.ReadTag()) != 0) {
881 if ((tag & 7) == 4) {
887 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
890 OptimalityNorm = (global::Google.OrTools.PDLP.OptimalityNorm) input.ReadEnum();
894 EpsOptimalAbsolute = input.ReadDouble();
898 EpsOptimalRelative = input.ReadDouble();
902 EpsPrimalInfeasible = input.ReadDouble();
906 EpsDualInfeasible = input.ReadDouble();
910 TimeSecLimit = input.ReadDouble();
922 global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria subBuilder =
new global::Google.OrTools.PDLP.TerminationCriteria.Types.SimpleOptimalityCriteria();
923 if (optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.SimpleOptimalityCriteria) {
924 subBuilder.MergeFrom(SimpleOptimalityCriteria);
926 input.ReadMessage(subBuilder);
927 SimpleOptimalityCriteria = subBuilder;
931 global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria subBuilder =
new global::Google.OrTools.PDLP.TerminationCriteria.Types.DetailedOptimalityCriteria();
932 if (optimalityCriteriaCase_ == OptimalityCriteriaOneofCase.DetailedOptimalityCriteria) {
933 subBuilder.MergeFrom(DetailedOptimalityCriteria);
935 input.ReadMessage(subBuilder);
936 DetailedOptimalityCriteria = subBuilder;
946 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
947 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
949 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
951 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
955 private static readonly pb::MessageParser<SimpleOptimalityCriteria> _parser =
new pb::MessageParser<SimpleOptimalityCriteria>(() =>
new SimpleOptimalityCriteria());
956 private pb::UnknownFieldSet _unknownFields;
957 private int _hasBits0;
958 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
959 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
960 public static pb::MessageParser<SimpleOptimalityCriteria>
Parser {
get {
return _parser; } }
962 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
963 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
965 get {
return global::Google.OrTools.PDLP.TerminationCriteria.Descriptor.NestedTypes[0]; }
968 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
969 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
970 pbr::MessageDescriptor pb::IMessage.Descriptor {
974 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
975 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
980 partial
void OnConstruction();
982 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
983 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
985 _hasBits0 = other._hasBits0;
986 epsOptimalAbsolute_ = other.epsOptimalAbsolute_;
987 epsOptimalRelative_ = other.epsOptimalRelative_;
988 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
991 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
992 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
999 private readonly
static double EpsOptimalAbsoluteDefaultValue = 1e-06D;
1001 private double epsOptimalAbsolute_;
1006 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1007 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1009 get {
if ((_hasBits0 & 1) != 0) {
return epsOptimalAbsolute_; }
else {
return EpsOptimalAbsoluteDefaultValue; } }
1012 epsOptimalAbsolute_ = value;
1016 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1017 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1019 get {
return (_hasBits0 & 1) != 0; }
1022 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1023 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1030 private readonly
static double EpsOptimalRelativeDefaultValue = 1e-06D;
1032 private double epsOptimalRelative_;
1037 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1038 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1040 get {
if ((_hasBits0 & 2) != 0) {
return epsOptimalRelative_; }
else {
return EpsOptimalRelativeDefaultValue; } }
1043 epsOptimalRelative_ = value;
1047 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1048 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1050 get {
return (_hasBits0 & 2) != 0; }
1053 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1054 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1059 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1060 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1065 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1066 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1068 if (ReferenceEquals(other,
null)) {
1071 if (ReferenceEquals(other,
this)) {
1076 return Equals(_unknownFields, other._unknownFields);
1079 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1080 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1085 if (_unknownFields !=
null) {
1086 hash ^= _unknownFields.GetHashCode();
1091 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1092 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1094 return pb::JsonFormatter.ToDiagnosticString(
this);
1097 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1098 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1099 public void WriteTo(pb::CodedOutputStream output) {
1100 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1101 output.WriteRawMessage(
this);
1104 output.WriteRawTag(9);
1108 output.WriteRawTag(17);
1111 if (_unknownFields !=
null) {
1112 _unknownFields.WriteTo(output);
1117 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1119 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1120 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1122 output.WriteRawTag(9);
1126 output.WriteRawTag(17);
1129 if (_unknownFields !=
null) {
1130 _unknownFields.WriteTo(ref output);
1135 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1136 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1145 if (_unknownFields !=
null) {
1146 size += _unknownFields.CalculateSize();
1151 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1152 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1154 if (other ==
null) {
1163 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1166 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1167 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1169 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1170 input.ReadRawMessage(
this);
1173 while ((tag = input.ReadTag()) != 0) {
1174 if ((tag & 7) == 4) {
1180 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1195 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1197 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1198 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1200 while ((tag = input.ReadTag()) != 0) {
1201 if ((tag & 7) == 4) {
1207 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1214 EpsOptimalRelative = input.ReadDouble();
1224 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1226 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1227 , pb::IBufferMessage
1230 private static readonly pb::MessageParser<DetailedOptimalityCriteria> _parser =
new pb::MessageParser<DetailedOptimalityCriteria>(() =>
new DetailedOptimalityCriteria());
1231 private pb::UnknownFieldSet _unknownFields;
1232 private int _hasBits0;
1233 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1234 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1235 public static pb::MessageParser<DetailedOptimalityCriteria>
Parser {
get {
return _parser; } }
1237 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1238 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1240 get {
return global::Google.OrTools.PDLP.TerminationCriteria.Descriptor.NestedTypes[1]; }
1243 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1244 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1245 pbr::MessageDescriptor pb::IMessage.Descriptor {
1249 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1250 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1255 partial
void OnConstruction();
1257 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1258 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1260 _hasBits0 = other._hasBits0;
1261 epsOptimalPrimalResidualAbsolute_ = other.epsOptimalPrimalResidualAbsolute_;
1262 epsOptimalPrimalResidualRelative_ = other.epsOptimalPrimalResidualRelative_;
1263 epsOptimalDualResidualAbsolute_ = other.epsOptimalDualResidualAbsolute_;
1264 epsOptimalDualResidualRelative_ = other.epsOptimalDualResidualRelative_;
1265 epsOptimalObjectiveGapAbsolute_ = other.epsOptimalObjectiveGapAbsolute_;
1266 epsOptimalObjectiveGapRelative_ = other.epsOptimalObjectiveGapRelative_;
1267 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1270 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1271 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1278 private readonly
static double EpsOptimalPrimalResidualAbsoluteDefaultValue = 1e-06D;
1280 private double epsOptimalPrimalResidualAbsolute_;
1284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1285 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1287 get {
if ((_hasBits0 & 1) != 0) {
return epsOptimalPrimalResidualAbsolute_; }
else {
return EpsOptimalPrimalResidualAbsoluteDefaultValue; } }
1290 epsOptimalPrimalResidualAbsolute_ = value;
1294 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1295 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1297 get {
return (_hasBits0 & 1) != 0; }
1300 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1301 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1308 private readonly
static double EpsOptimalPrimalResidualRelativeDefaultValue = 1e-06D;
1310 private double epsOptimalPrimalResidualRelative_;
1314 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1315 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1317 get {
if ((_hasBits0 & 2) != 0) {
return epsOptimalPrimalResidualRelative_; }
else {
return EpsOptimalPrimalResidualRelativeDefaultValue; } }
1320 epsOptimalPrimalResidualRelative_ = value;
1324 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1325 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1327 get {
return (_hasBits0 & 2) != 0; }
1330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1331 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1338 private readonly
static double EpsOptimalDualResidualAbsoluteDefaultValue = 1e-06D;
1340 private double epsOptimalDualResidualAbsolute_;
1344 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1345 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1347 get {
if ((_hasBits0 & 4) != 0) {
return epsOptimalDualResidualAbsolute_; }
else {
return EpsOptimalDualResidualAbsoluteDefaultValue; } }
1350 epsOptimalDualResidualAbsolute_ = value;
1354 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1355 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1357 get {
return (_hasBits0 & 4) != 0; }
1360 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1361 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1368 private readonly
static double EpsOptimalDualResidualRelativeDefaultValue = 1e-06D;
1370 private double epsOptimalDualResidualRelative_;
1374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1375 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1377 get {
if ((_hasBits0 & 8) != 0) {
return epsOptimalDualResidualRelative_; }
else {
return EpsOptimalDualResidualRelativeDefaultValue; } }
1380 epsOptimalDualResidualRelative_ = value;
1384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1385 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1387 get {
return (_hasBits0 & 8) != 0; }
1390 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1391 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1398 private readonly
static double EpsOptimalObjectiveGapAbsoluteDefaultValue = 1e-06D;
1400 private double epsOptimalObjectiveGapAbsolute_;
1404 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1405 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1407 get {
if ((_hasBits0 & 16) != 0) {
return epsOptimalObjectiveGapAbsolute_; }
else {
return EpsOptimalObjectiveGapAbsoluteDefaultValue; } }
1410 epsOptimalObjectiveGapAbsolute_ = value;
1414 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1415 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1417 get {
return (_hasBits0 & 16) != 0; }
1420 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1421 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1428 private readonly
static double EpsOptimalObjectiveGapRelativeDefaultValue = 1e-06D;
1430 private double epsOptimalObjectiveGapRelative_;
1434 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1435 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1437 get {
if ((_hasBits0 & 32) != 0) {
return epsOptimalObjectiveGapRelative_; }
else {
return EpsOptimalObjectiveGapRelativeDefaultValue; } }
1440 epsOptimalObjectiveGapRelative_ = value;
1444 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1445 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1447 get {
return (_hasBits0 & 32) != 0; }
1450 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1451 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1456 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1457 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1463 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1465 if (ReferenceEquals(other,
null)) {
1468 if (ReferenceEquals(other,
this)) {
1477 return Equals(_unknownFields, other._unknownFields);
1480 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1481 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1490 if (_unknownFields !=
null) {
1491 hash ^= _unknownFields.GetHashCode();
1496 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1497 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1499 return pb::JsonFormatter.ToDiagnosticString(
this);
1502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1503 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1504 public void WriteTo(pb::CodedOutputStream output) {
1505 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1506 output.WriteRawMessage(
this);
1509 output.WriteRawTag(9);
1513 output.WriteRawTag(17);
1517 output.WriteRawTag(25);
1521 output.WriteRawTag(33);
1525 output.WriteRawTag(41);
1529 output.WriteRawTag(49);
1532 if (_unknownFields !=
null) {
1533 _unknownFields.WriteTo(output);
1538 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1539 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1540 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1541 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1542 if (HasEpsOptimalPrimalResidualAbsolute) {
1543 output.WriteRawTag(9);
1544 output.WriteDouble(EpsOptimalPrimalResidualAbsolute);
1546 if (HasEpsOptimalPrimalResidualRelative) {
1547 output.WriteRawTag(17);
1548 output.WriteDouble(EpsOptimalPrimalResidualRelative);
1550 if (HasEpsOptimalDualResidualAbsolute) {
1551 output.WriteRawTag(25);
1552 output.WriteDouble(EpsOptimalDualResidualAbsolute);
1554 if (HasEpsOptimalDualResidualRelative) {
1555 output.WriteRawTag(33);
1556 output.WriteDouble(EpsOptimalDualResidualRelative);
1558 if (HasEpsOptimalObjectiveGapAbsolute) {
1559 output.WriteRawTag(41);
1560 output.WriteDouble(EpsOptimalObjectiveGapAbsolute);
1562 if (HasEpsOptimalObjectiveGapRelative) {
1563 output.WriteRawTag(49);
1564 output.WriteDouble(EpsOptimalObjectiveGapRelative);
1566 if (_unknownFields !=
null) {
1567 _unknownFields.WriteTo(ref output);
1572 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1573 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1594 if (_unknownFields !=
null) {
1595 size += _unknownFields.CalculateSize();
1600 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1601 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1603 if (other ==
null) {
1624 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1627 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1628 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1630 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1631 input.ReadRawMessage(
this);
1634 while ((tag = input.ReadTag()) != 0) {
1635 if ((tag & 7) == 4) {
1641 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1672 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1673 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1674 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1675 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1677 while ((tag = input.ReadTag()) != 0) {
1678 if ((tag & 7) == 4) {
1684 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1687 EpsOptimalPrimalResidualAbsolute = input.ReadDouble();
1691 EpsOptimalPrimalResidualRelative = input.ReadDouble();
1695 EpsOptimalDualResidualAbsolute = input.ReadDouble();
1699 EpsOptimalDualResidualRelative = input.ReadDouble();
1703 EpsOptimalObjectiveGapAbsolute = input.ReadDouble();
1707 EpsOptimalObjectiveGapRelative = input.ReadDouble();
1727 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1729 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1730 , pb::IBufferMessage
1733 private static readonly pb::MessageParser<AdaptiveLinesearchParams> _parser =
new pb::MessageParser<AdaptiveLinesearchParams>(() =>
new AdaptiveLinesearchParams());
1734 private pb::UnknownFieldSet _unknownFields;
1735 private int _hasBits0;
1736 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1737 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1738 public static pb::MessageParser<AdaptiveLinesearchParams>
Parser {
get {
return _parser; } }
1740 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1741 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1743 get {
return global::Google.OrTools.PDLP.SolversReflection.Descriptor.MessageTypes[1]; }
1746 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1747 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1748 pbr::MessageDescriptor pb::IMessage.Descriptor {
1749 get {
return Descriptor; }
1752 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1753 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1758 partial
void OnConstruction();
1760 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1761 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1763 _hasBits0 = other._hasBits0;
1764 stepSizeReductionExponent_ = other.stepSizeReductionExponent_;
1765 stepSizeGrowthExponent_ = other.stepSizeGrowthExponent_;
1766 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1769 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1770 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1777 private readonly
static double StepSizeReductionExponentDefaultValue = 0.3D;
1779 private double stepSizeReductionExponent_;
1786 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1787 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1789 get {
if ((_hasBits0 & 1) != 0) {
return stepSizeReductionExponent_; }
else {
return StepSizeReductionExponentDefaultValue; } }
1792 stepSizeReductionExponent_ = value;
1796 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1797 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1799 get {
return (_hasBits0 & 1) != 0; }
1802 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1803 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1810 private readonly
static double StepSizeGrowthExponentDefaultValue = 0.6D;
1812 private double stepSizeGrowthExponent_;
1818 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1819 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1821 get {
if ((_hasBits0 & 2) != 0) {
return stepSizeGrowthExponent_; }
else {
return StepSizeGrowthExponentDefaultValue; } }
1824 stepSizeGrowthExponent_ = value;
1828 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1829 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1831 get {
return (_hasBits0 & 2) != 0; }
1834 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1835 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1840 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1841 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1846 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1847 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1849 if (ReferenceEquals(other,
null)) {
1852 if (ReferenceEquals(other,
this)) {
1857 return Equals(_unknownFields, other._unknownFields);
1860 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1861 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1866 if (_unknownFields !=
null) {
1867 hash ^= _unknownFields.GetHashCode();
1872 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1873 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1875 return pb::JsonFormatter.ToDiagnosticString(
this);
1878 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1879 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1880 public void WriteTo(pb::CodedOutputStream output) {
1881 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1882 output.WriteRawMessage(
this);
1885 output.WriteRawTag(9);
1889 output.WriteRawTag(17);
1892 if (_unknownFields !=
null) {
1893 _unknownFields.WriteTo(output);
1898 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1899 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1900 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1901 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1902 if (HasStepSizeReductionExponent) {
1903 output.WriteRawTag(9);
1904 output.WriteDouble(StepSizeReductionExponent);
1906 if (HasStepSizeGrowthExponent) {
1907 output.WriteRawTag(17);
1908 output.WriteDouble(StepSizeGrowthExponent);
1910 if (_unknownFields !=
null) {
1911 _unknownFields.WriteTo(ref output);
1916 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1917 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1926 if (_unknownFields !=
null) {
1927 size += _unknownFields.CalculateSize();
1932 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1933 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1935 if (other ==
null) {
1944 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1947 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1948 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1950 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1951 input.ReadRawMessage(
this);
1954 while ((tag = input.ReadTag()) != 0) {
1955 if ((tag & 7) == 4) {
1961 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1976 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1977 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1978 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1979 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1981 while ((tag = input.ReadTag()) != 0) {
1982 if ((tag & 7) == 4) {
1988 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1991 StepSizeReductionExponent = input.ReadDouble();
1995 StepSizeGrowthExponent = input.ReadDouble();
2005 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2007 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2008 , pb::IBufferMessage
2011 private static readonly pb::MessageParser<MalitskyPockParams> _parser =
new pb::MessageParser<MalitskyPockParams>(() =>
new MalitskyPockParams());
2012 private pb::UnknownFieldSet _unknownFields;
2013 private int _hasBits0;
2014 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2015 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2016 public static pb::MessageParser<MalitskyPockParams>
Parser {
get {
return _parser; } }
2018 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2019 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2021 get {
return global::Google.OrTools.PDLP.SolversReflection.Descriptor.MessageTypes[2]; }
2024 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2025 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2026 pbr::MessageDescriptor pb::IMessage.Descriptor {
2027 get {
return Descriptor; }
2030 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2031 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2036 partial
void OnConstruction();
2038 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2039 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2041 _hasBits0 = other._hasBits0;
2042 stepSizeDownscalingFactor_ = other.stepSizeDownscalingFactor_;
2043 linesearchContractionFactor_ = other.linesearchContractionFactor_;
2044 stepSizeInterpolation_ = other.stepSizeInterpolation_;
2045 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2048 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2049 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2056 private readonly
static double StepSizeDownscalingFactorDefaultValue = 0.7D;
2058 private double stepSizeDownscalingFactor_;
2065 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2066 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2068 get {
if ((_hasBits0 & 1) != 0) {
return stepSizeDownscalingFactor_; }
else {
return StepSizeDownscalingFactorDefaultValue; } }
2071 stepSizeDownscalingFactor_ = value;
2075 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2076 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2078 get {
return (_hasBits0 & 1) != 0; }
2081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2082 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2089 private readonly
static double LinesearchContractionFactorDefaultValue = 0.99D;
2091 private double linesearchContractionFactor_;
2099 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2100 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2102 get {
if ((_hasBits0 & 2) != 0) {
return linesearchContractionFactor_; }
else {
return LinesearchContractionFactorDefaultValue; } }
2105 linesearchContractionFactor_ = value;
2109 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2110 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2112 get {
return (_hasBits0 & 2) != 0; }
2115 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2116 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2123 private readonly
static double StepSizeInterpolationDefaultValue = 1D;
2125 private double stepSizeInterpolation_;
2133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2134 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2136 get {
if ((_hasBits0 & 4) != 0) {
return stepSizeInterpolation_; }
else {
return StepSizeInterpolationDefaultValue; } }
2139 stepSizeInterpolation_ = value;
2143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2144 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2146 get {
return (_hasBits0 & 4) != 0; }
2149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2150 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2155 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2156 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2162 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2164 if (ReferenceEquals(other,
null)) {
2167 if (ReferenceEquals(other,
this)) {
2173 return Equals(_unknownFields, other._unknownFields);
2176 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2177 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2183 if (_unknownFields !=
null) {
2184 hash ^= _unknownFields.GetHashCode();
2189 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2190 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2192 return pb::JsonFormatter.ToDiagnosticString(
this);
2195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2196 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2197 public void WriteTo(pb::CodedOutputStream output) {
2198 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2199 output.WriteRawMessage(
this);
2202 output.WriteRawTag(9);
2206 output.WriteRawTag(17);
2210 output.WriteRawTag(25);
2213 if (_unknownFields !=
null) {
2214 _unknownFields.WriteTo(output);
2219 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2221 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2222 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2223 if (HasStepSizeDownscalingFactor) {
2224 output.WriteRawTag(9);
2225 output.WriteDouble(StepSizeDownscalingFactor);
2227 if (HasLinesearchContractionFactor) {
2228 output.WriteRawTag(17);
2229 output.WriteDouble(LinesearchContractionFactor);
2231 if (HasStepSizeInterpolation) {
2232 output.WriteRawTag(25);
2233 output.WriteDouble(StepSizeInterpolation);
2235 if (_unknownFields !=
null) {
2236 _unknownFields.WriteTo(ref output);
2241 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2242 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2254 if (_unknownFields !=
null) {
2255 size += _unknownFields.CalculateSize();
2260 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2261 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2263 if (other ==
null) {
2275 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2279 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2281 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2282 input.ReadRawMessage(
this);
2285 while ((tag = input.ReadTag()) != 0) {
2286 if ((tag & 7) == 4) {
2292 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2311 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2312 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2313 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2314 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2316 while ((tag = input.ReadTag()) != 0) {
2317 if ((tag & 7) == 4) {
2323 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2326 StepSizeDownscalingFactor = input.ReadDouble();
2330 LinesearchContractionFactor = input.ReadDouble();
2334 StepSizeInterpolation = input.ReadDouble();
2356 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2358 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2359 , pb::IBufferMessage
2362 private static readonly pb::MessageParser<PrimalDualHybridGradientParams> _parser =
new pb::MessageParser<PrimalDualHybridGradientParams>(() =>
new PrimalDualHybridGradientParams());
2363 private pb::UnknownFieldSet _unknownFields;
2364 private int _hasBits0;
2365 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2366 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2367 public static pb::MessageParser<PrimalDualHybridGradientParams>
Parser {
get {
return _parser; } }
2369 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2370 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2372 get {
return global::Google.OrTools.PDLP.SolversReflection.Descriptor.MessageTypes[3]; }
2375 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2376 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2377 pbr::MessageDescriptor pb::IMessage.Descriptor {
2378 get {
return Descriptor; }
2381 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2382 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2387 partial
void OnConstruction();
2389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2390 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2392 _hasBits0 = other._hasBits0;
2393 terminationCriteria_ = other.terminationCriteria_ !=
null ? other.terminationCriteria_.
Clone() :
null;
2394 numThreads_ = other.numThreads_;
2395 numShards_ = other.numShards_;
2396 schedulerType_ = other.schedulerType_;
2397 recordIterationStats_ = other.recordIterationStats_;
2398 verbosityLevel_ = other.verbosityLevel_;
2399 logIntervalSeconds_ = other.logIntervalSeconds_;
2400 majorIterationFrequency_ = other.majorIterationFrequency_;
2401 terminationCheckFrequency_ = other.terminationCheckFrequency_;
2402 restartStrategy_ = other.restartStrategy_;
2403 primalWeightUpdateSmoothing_ = other.primalWeightUpdateSmoothing_;
2404 initialPrimalWeight_ = other.initialPrimalWeight_;
2405 presolveOptions_ = other.presolveOptions_ !=
null ? other.presolveOptions_.
Clone() :
null;
2406 lInfRuizIterations_ = other.lInfRuizIterations_;
2407 l2NormRescaling_ = other.l2NormRescaling_;
2408 sufficientReductionForRestart_ = other.sufficientReductionForRestart_;
2409 necessaryReductionForRestart_ = other.necessaryReductionForRestart_;
2410 linesearchRule_ = other.linesearchRule_;
2411 adaptiveLinesearchParameters_ = other.adaptiveLinesearchParameters_ !=
null ? other.adaptiveLinesearchParameters_.
Clone() :
null;
2412 malitskyPockParameters_ = other.malitskyPockParameters_ !=
null ? other.malitskyPockParameters_.
Clone() :
null;
2413 initialStepSizeScaling_ = other.initialStepSizeScaling_;
2414 randomProjectionSeeds_ = other.randomProjectionSeeds_.Clone();
2415 infiniteConstraintBoundThreshold_ = other.infiniteConstraintBoundThreshold_;
2416 handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = other.handleSomePrimalGradientsOnFiniteBoundsAsResiduals_;
2417 useDiagonalQpTrustRegionSolver_ = other.useDiagonalQpTrustRegionSolver_;
2418 diagonalQpTrustRegionSolverTolerance_ = other.diagonalQpTrustRegionSolverTolerance_;
2419 useFeasibilityPolishing_ = other.useFeasibilityPolishing_;
2420 applyFeasibilityPolishingAfterLimitsReached_ = other.applyFeasibilityPolishingAfterLimitsReached_;
2421 applyFeasibilityPolishingIfSolverIsInterrupted_ = other.applyFeasibilityPolishingIfSolverIsInterrupted_;
2422 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2425 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2426 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2433 private global::Google.OrTools.PDLP.TerminationCriteria terminationCriteria_;
2434 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2435 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2437 get { return terminationCriteria_; }
2439 terminationCriteria_ = value;
2445 private readonly
static int NumThreadsDefaultValue = 1;
2447 private int numThreads_;
2454 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2455 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2457 get {
if ((_hasBits0 & 1) != 0) {
return numThreads_; }
else {
return NumThreadsDefaultValue; } }
2460 numThreads_ = value;
2464 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2465 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2467 get {
return (_hasBits0 & 1) != 0; }
2470 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2471 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2478 private readonly
static int NumShardsDefaultValue = 0;
2480 private int numShards_;
2492 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2493 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2495 get {
if ((_hasBits0 & 131072) != 0) {
return numShards_; }
else {
return NumShardsDefaultValue; } }
2497 _hasBits0 |= 131072;
2502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2503 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2505 get {
return (_hasBits0 & 131072) != 0; }
2508 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2509 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2511 _hasBits0 &= ~131072;
2516 private readonly
static global::Google.OrTools.PDLP.SchedulerType SchedulerTypeDefaultValue = global::Google.OrTools.PDLP.SchedulerType.GoogleThreadpool;
2518 private global::Google.OrTools.PDLP.SchedulerType schedulerType_;
2523 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2524 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2526 get { if ((_hasBits0 & 2097152) != 0) { return schedulerType_; } else { return SchedulerTypeDefaultValue; } }
2528 _hasBits0 |= 2097152;
2529 schedulerType_ = value;
2533 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2534 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2536 get {
return (_hasBits0 & 2097152) != 0; }
2539 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2540 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2542 _hasBits0 &= ~2097152;
2547 private readonly
static bool RecordIterationStatsDefaultValue =
false;
2549 private bool recordIterationStats_;
2556 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2557 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2559 get {
if ((_hasBits0 & 2) != 0) {
return recordIterationStats_; }
else {
return RecordIterationStatsDefaultValue; } }
2562 recordIterationStats_ = value;
2566 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2567 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2569 get {
return (_hasBits0 & 2) != 0; }
2572 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2573 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2580 private readonly
static int VerbosityLevelDefaultValue = 0;
2582 private int verbosityLevel_;
2596 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2597 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2599 get {
if ((_hasBits0 & 65536) != 0) {
return verbosityLevel_; }
else {
return VerbosityLevelDefaultValue; } }
2602 verbosityLevel_ = value;
2606 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2607 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2609 get {
return (_hasBits0 & 65536) != 0; }
2612 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2613 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2615 _hasBits0 &= ~65536;
2620 private readonly
static double LogIntervalSecondsDefaultValue = 0D;
2622 private double logIntervalSeconds_;
2630 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2631 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2633 get {
if ((_hasBits0 & 1048576) != 0) {
return logIntervalSeconds_; }
else {
return LogIntervalSecondsDefaultValue; } }
2635 _hasBits0 |= 1048576;
2636 logIntervalSeconds_ = value;
2640 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2641 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2643 get {
return (_hasBits0 & 1048576) != 0; }
2646 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2647 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2649 _hasBits0 &= ~1048576;
2654 private readonly
static int MajorIterationFrequencyDefaultValue = 64;
2656 private int majorIterationFrequency_;
2665 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2666 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2668 get {
if ((_hasBits0 & 4) != 0) {
return majorIterationFrequency_; }
else {
return MajorIterationFrequencyDefaultValue; } }
2671 majorIterationFrequency_ = value;
2675 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2676 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2678 get {
return (_hasBits0 & 4) != 0; }
2681 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2682 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2689 private readonly
static int TerminationCheckFrequencyDefaultValue = 64;
2691 private int terminationCheckFrequency_;
2697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2698 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2700 get {
if ((_hasBits0 & 8) != 0) {
return terminationCheckFrequency_; }
else {
return TerminationCheckFrequencyDefaultValue; } }
2703 terminationCheckFrequency_ = value;
2707 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2708 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2710 get {
return (_hasBits0 & 8) != 0; }
2713 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2714 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2721 private readonly
static global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy RestartStrategyDefaultValue = global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy.AdaptiveHeuristic;
2723 private global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy restartStrategy_;
2729 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2730 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2732 get { if ((_hasBits0 & 16) != 0) { return restartStrategy_; } else { return RestartStrategyDefaultValue; } }
2735 restartStrategy_ = value;
2739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2740 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2742 get {
return (_hasBits0 & 16) != 0; }
2745 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2746 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2753 private readonly
static double PrimalWeightUpdateSmoothingDefaultValue = 0.5D;
2755 private double primalWeightUpdateSmoothing_;
2766 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2767 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2769 get {
if ((_hasBits0 & 32) != 0) {
return primalWeightUpdateSmoothing_; }
else {
return PrimalWeightUpdateSmoothingDefaultValue; } }
2772 primalWeightUpdateSmoothing_ = value;
2776 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2777 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2779 get {
return (_hasBits0 & 32) != 0; }
2782 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2783 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2790 private readonly
static double InitialPrimalWeightDefaultValue = 0D;
2792 private double initialPrimalWeight_;
2802 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2803 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2805 get {
if ((_hasBits0 & 64) != 0) {
return initialPrimalWeight_; }
else {
return InitialPrimalWeightDefaultValue; } }
2808 initialPrimalWeight_ = value;
2812 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2813 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2815 get {
return (_hasBits0 & 64) != 0; }
2818 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2819 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2826 private global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.PresolveOptions presolveOptions_;
2827 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2828 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2830 get { return presolveOptions_; }
2832 presolveOptions_ = value;
2838 private readonly
static int LInfRuizIterationsDefaultValue = 5;
2840 private int lInfRuizIterations_;
2846 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2847 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2849 get {
if ((_hasBits0 & 128) != 0) {
return lInfRuizIterations_; }
else {
return LInfRuizIterationsDefaultValue; } }
2852 lInfRuizIterations_ = value;
2856 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2857 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2859 get {
return (_hasBits0 & 128) != 0; }
2862 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2863 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2870 private readonly
static bool L2NormRescalingDefaultValue =
true;
2872 private bool l2NormRescaling_;
2877 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2878 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2880 get {
if ((_hasBits0 & 256) != 0) {
return l2NormRescaling_; }
else {
return L2NormRescalingDefaultValue; } }
2883 l2NormRescaling_ = value;
2887 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2888 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2890 get {
return (_hasBits0 & 256) != 0; }
2893 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2894 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2901 private readonly
static double SufficientReductionForRestartDefaultValue = 0.1D;
2903 private double sufficientReductionForRestart_;
2909 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2910 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2912 get {
if ((_hasBits0 & 512) != 0) {
return sufficientReductionForRestart_; }
else {
return SufficientReductionForRestartDefaultValue; } }
2915 sufficientReductionForRestart_ = value;
2919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2920 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2922 get {
return (_hasBits0 & 512) != 0; }
2925 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2926 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2933 private readonly
static double NecessaryReductionForRestartDefaultValue = 0.9D;
2935 private double necessaryReductionForRestart_;
2943 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2944 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2946 get {
if ((_hasBits0 & 2048) != 0) {
return necessaryReductionForRestart_; }
else {
return NecessaryReductionForRestartDefaultValue; } }
2949 necessaryReductionForRestart_ = value;
2953 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2954 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2956 get {
return (_hasBits0 & 2048) != 0; }
2959 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2960 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2967 private readonly
static global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule LinesearchRuleDefaultValue = global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule.AdaptiveLinesearchRule;
2969 private global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule linesearchRule_;
2973 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2974 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2976 get { if ((_hasBits0 & 1024) != 0) { return linesearchRule_; } else { return LinesearchRuleDefaultValue; } }
2979 linesearchRule_ = value;
2983 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2984 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2986 get {
return (_hasBits0 & 1024) != 0; }
2989 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2990 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2997 private global::Google.OrTools.PDLP.AdaptiveLinesearchParams adaptiveLinesearchParameters_;
2998 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2999 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3001 get { return adaptiveLinesearchParameters_; }
3003 adaptiveLinesearchParameters_ = value;
3009 private global::Google.OrTools.PDLP.MalitskyPockParams malitskyPockParameters_;
3010 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3011 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3013 get { return malitskyPockParameters_; }
3015 malitskyPockParameters_ = value;
3021 private readonly
static double InitialStepSizeScalingDefaultValue = 1D;
3023 private double initialStepSizeScaling_;
3028 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3029 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3031 get {
if ((_hasBits0 & 32768) != 0) {
return initialStepSizeScaling_; }
else {
return InitialStepSizeScalingDefaultValue; } }
3034 initialStepSizeScaling_ = value;
3038 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3039 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3041 get {
return (_hasBits0 & 32768) != 0; }
3044 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3045 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3047 _hasBits0 &= ~32768;
3052 private static readonly pb::FieldCodec<int> _repeated_randomProjectionSeeds_codec
3053 = pb::FieldCodec.ForInt32(226);
3054 private readonly pbc::RepeatedField<int> randomProjectionSeeds_ =
new pbc::RepeatedField<int>();
3063 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3064 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3066 get {
return randomProjectionSeeds_; }
3071 private readonly
static double InfiniteConstraintBoundThresholdDefaultValue =
double.PositiveInfinity;
3073 private double infiniteConstraintBoundThreshold_;
3082 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3083 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3085 get {
if ((_hasBits0 & 4096) != 0) {
return infiniteConstraintBoundThreshold_; }
else {
return InfiniteConstraintBoundThresholdDefaultValue; } }
3088 infiniteConstraintBoundThreshold_ = value;
3092 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3093 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3095 get {
return (_hasBits0 & 4096) != 0; }
3098 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3099 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3106 private readonly
static bool HandleSomePrimalGradientsOnFiniteBoundsAsResidualsDefaultValue =
true;
3108 private bool handleSomePrimalGradientsOnFiniteBoundsAsResiduals_;
3114 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3115 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3117 get {
if ((_hasBits0 & 262144) != 0) {
return handleSomePrimalGradientsOnFiniteBoundsAsResiduals_; }
else {
return HandleSomePrimalGradientsOnFiniteBoundsAsResidualsDefaultValue; } }
3119 _hasBits0 |= 262144;
3120 handleSomePrimalGradientsOnFiniteBoundsAsResiduals_ = value;
3124 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3125 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3127 get {
return (_hasBits0 & 262144) != 0; }
3130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3131 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3133 _hasBits0 &= ~262144;
3138 private readonly
static bool UseDiagonalQpTrustRegionSolverDefaultValue =
false;
3140 private bool useDiagonalQpTrustRegionSolver_;
3149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3150 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3152 get {
if ((_hasBits0 & 8192) != 0) {
return useDiagonalQpTrustRegionSolver_; }
else {
return UseDiagonalQpTrustRegionSolverDefaultValue; } }
3155 useDiagonalQpTrustRegionSolver_ = value;
3159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3160 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3162 get {
return (_hasBits0 & 8192) != 0; }
3165 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3166 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3173 private readonly
static double DiagonalQpTrustRegionSolverToleranceDefaultValue = 1e-08D;
3175 private double diagonalQpTrustRegionSolverTolerance_;
3183 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3184 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3186 get {
if ((_hasBits0 & 16384) != 0) {
return diagonalQpTrustRegionSolverTolerance_; }
else {
return DiagonalQpTrustRegionSolverToleranceDefaultValue; } }
3189 diagonalQpTrustRegionSolverTolerance_ = value;
3193 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3194 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3196 get {
return (_hasBits0 & 16384) != 0; }
3199 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3200 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3202 _hasBits0 &= ~16384;
3207 private readonly
static bool UseFeasibilityPolishingDefaultValue =
false;
3209 private bool useFeasibilityPolishing_;
3238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3239 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3241 get {
if ((_hasBits0 & 524288) != 0) {
return useFeasibilityPolishing_; }
else {
return UseFeasibilityPolishingDefaultValue; } }
3243 _hasBits0 |= 524288;
3244 useFeasibilityPolishing_ = value;
3248 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3249 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3250 public bool HasUseFeasibilityPolishing {
3251 get {
return (_hasBits0 & 524288) != 0; }
3254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3255 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3256 public void ClearUseFeasibilityPolishing() {
3257 _hasBits0 &= ~524288;
3261 public const int ApplyFeasibilityPolishingAfterLimitsReachedFieldNumber = 33;
3262 private readonly
static bool ApplyFeasibilityPolishingAfterLimitsReachedDefaultValue =
false;
3264 private bool applyFeasibilityPolishingAfterLimitsReached_;
3271 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3272 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3274 get {
if ((_hasBits0 & 4194304) != 0) {
return applyFeasibilityPolishingAfterLimitsReached_; }
else {
return ApplyFeasibilityPolishingAfterLimitsReachedDefaultValue; } }
3276 _hasBits0 |= 4194304;
3277 applyFeasibilityPolishingAfterLimitsReached_ = value;
3281 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3282 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3283 public bool HasApplyFeasibilityPolishingAfterLimitsReached {
3284 get {
return (_hasBits0 & 4194304) != 0; }
3287 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3288 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3289 public void ClearApplyFeasibilityPolishingAfterLimitsReached() {
3290 _hasBits0 &= ~4194304;
3294 public const int ApplyFeasibilityPolishingIfSolverIsInterruptedFieldNumber = 34;
3295 private readonly
static bool ApplyFeasibilityPolishingIfSolverIsInterruptedDefaultValue =
false;
3297 private bool applyFeasibilityPolishingIfSolverIsInterrupted_;
3303 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3304 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3306 get {
if ((_hasBits0 & 8388608) != 0) {
return applyFeasibilityPolishingIfSolverIsInterrupted_; }
else {
return ApplyFeasibilityPolishingIfSolverIsInterruptedDefaultValue; } }
3308 _hasBits0 |= 8388608;
3309 applyFeasibilityPolishingIfSolverIsInterrupted_ = value;
3313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3314 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3315 public bool HasApplyFeasibilityPolishingIfSolverIsInterrupted {
3316 get {
return (_hasBits0 & 8388608) != 0; }
3319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3320 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3321 public void ClearApplyFeasibilityPolishingIfSolverIsInterrupted() {
3322 _hasBits0 &= ~8388608;
3325 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3326 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3327 public override bool Equals(
object other) {
3331 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3332 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3334 if (ReferenceEquals(other,
null)) {
3337 if (ReferenceEquals(other,
this)) {
3341 if (NumThreads != other.
NumThreads)
return false;
3342 if (NumShards != other.
NumShards)
return false;
3346 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LogIntervalSeconds, other.
LogIntervalSeconds))
return false;
3350 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PrimalWeightUpdateSmoothing, other.
PrimalWeightUpdateSmoothing))
return false;
3351 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(InitialPrimalWeight, other.
InitialPrimalWeight))
return false;
3352 if (!
object.Equals(PresolveOptions, other.
PresolveOptions))
return false;
3355 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SufficientReductionForRestart, other.
SufficientReductionForRestart))
return false;
3356 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(NecessaryReductionForRestart, other.
NecessaryReductionForRestart))
return false;
3360 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(InitialStepSizeScaling, other.
InitialStepSizeScaling))
return false;
3361 if(!randomProjectionSeeds_.Equals(other.randomProjectionSeeds_))
return false;
3362 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(InfiniteConstraintBoundThreshold, other.
InfiniteConstraintBoundThreshold))
return false;
3369 return Equals(_unknownFields, other._unknownFields);
3372 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3373 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3374 public override int GetHashCode() {
3397 hash ^= randomProjectionSeeds_.GetHashCode();
3405 if (_unknownFields !=
null) {
3406 hash ^= _unknownFields.GetHashCode();
3411 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3412 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3413 public override string ToString() {
3414 return pb::JsonFormatter.ToDiagnosticString(
this);
3417 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3418 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3419 public void WriteTo(pb::CodedOutputStream output) {
3420 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3421 output.WriteRawMessage(
this);
3423 if (terminationCriteria_ !=
null) {
3424 output.WriteRawTag(10);
3427 if (HasNumThreads) {
3428 output.WriteRawTag(16);
3429 output.WriteInt32(NumThreads);
3431 if (HasRecordIterationStats) {
3432 output.WriteRawTag(24);
3433 output.WriteBool(RecordIterationStats);
3435 if (HasMajorIterationFrequency) {
3436 output.WriteRawTag(32);
3437 output.WriteInt32(MajorIterationFrequency);
3439 if (HasTerminationCheckFrequency) {
3440 output.WriteRawTag(40);
3441 output.WriteInt32(TerminationCheckFrequency);
3443 if (HasRestartStrategy) {
3444 output.WriteRawTag(48);
3445 output.WriteEnum((
int) RestartStrategy);
3447 if (HasPrimalWeightUpdateSmoothing) {
3448 output.WriteRawTag(57);
3449 output.WriteDouble(PrimalWeightUpdateSmoothing);
3451 if (HasInitialPrimalWeight) {
3452 output.WriteRawTag(65);
3453 output.WriteDouble(InitialPrimalWeight);
3455 if (HasLInfRuizIterations) {
3456 output.WriteRawTag(72);
3457 output.WriteInt32(LInfRuizIterations);
3459 if (HasL2NormRescaling) {
3460 output.WriteRawTag(80);
3461 output.WriteBool(L2NormRescaling);
3463 if (HasSufficientReductionForRestart) {
3464 output.WriteRawTag(89);
3465 output.WriteDouble(SufficientReductionForRestart);
3467 if (HasLinesearchRule) {
3468 output.WriteRawTag(96);
3469 output.WriteEnum((
int) LinesearchRule);
3471 if (presolveOptions_ !=
null) {
3472 output.WriteRawTag(130, 1);
3473 output.WriteMessage(PresolveOptions);
3475 if (HasNecessaryReductionForRestart) {
3476 output.WriteRawTag(137, 1);
3477 output.WriteDouble(NecessaryReductionForRestart);
3479 if (adaptiveLinesearchParameters_ !=
null) {
3480 output.WriteRawTag(146, 1);
3481 output.WriteMessage(AdaptiveLinesearchParameters);
3483 if (malitskyPockParameters_ !=
null) {
3484 output.WriteRawTag(154, 1);
3485 output.WriteMessage(MalitskyPockParameters);
3487 if (HasInfiniteConstraintBoundThreshold) {
3488 output.WriteRawTag(177, 1);
3489 output.WriteDouble(InfiniteConstraintBoundThreshold);
3491 if (HasUseDiagonalQpTrustRegionSolver) {
3492 output.WriteRawTag(184, 1);
3493 output.WriteBool(UseDiagonalQpTrustRegionSolver);
3495 if (HasDiagonalQpTrustRegionSolverTolerance) {
3496 output.WriteRawTag(193, 1);
3497 output.WriteDouble(DiagonalQpTrustRegionSolverTolerance);
3499 if (HasInitialStepSizeScaling) {
3500 output.WriteRawTag(201, 1);
3501 output.WriteDouble(InitialStepSizeScaling);
3503 if (HasVerbosityLevel) {
3504 output.WriteRawTag(208, 1);
3505 output.WriteInt32(VerbosityLevel);
3508 output.WriteRawTag(216, 1);
3509 output.WriteInt32(NumShards);
3511 randomProjectionSeeds_.WriteTo(output, _repeated_randomProjectionSeeds_codec);
3512 if (HasHandleSomePrimalGradientsOnFiniteBoundsAsResiduals) {
3513 output.WriteRawTag(232, 1);
3514 output.WriteBool(HandleSomePrimalGradientsOnFiniteBoundsAsResiduals);
3516 if (HasUseFeasibilityPolishing) {
3517 output.WriteRawTag(240, 1);
3518 output.WriteBool(UseFeasibilityPolishing);
3520 if (HasLogIntervalSeconds) {
3521 output.WriteRawTag(249, 1);
3522 output.WriteDouble(LogIntervalSeconds);
3524 if (HasSchedulerType) {
3525 output.WriteRawTag(128, 2);
3526 output.WriteEnum((
int) SchedulerType);
3528 if (HasApplyFeasibilityPolishingAfterLimitsReached) {
3529 output.WriteRawTag(136, 2);
3530 output.WriteBool(ApplyFeasibilityPolishingAfterLimitsReached);
3532 if (HasApplyFeasibilityPolishingIfSolverIsInterrupted) {
3533 output.WriteRawTag(144, 2);
3534 output.WriteBool(ApplyFeasibilityPolishingIfSolverIsInterrupted);
3536 if (_unknownFields !=
null) {
3537 _unknownFields.WriteTo(output);
3542 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3544 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3545 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3546 if (terminationCriteria_ !=
null) {
3547 output.WriteRawTag(10);
3548 output.WriteMessage(TerminationCriteria);
3550 if (HasNumThreads) {
3551 output.WriteRawTag(16);
3552 output.WriteInt32(NumThreads);
3554 if (HasRecordIterationStats) {
3555 output.WriteRawTag(24);
3556 output.WriteBool(RecordIterationStats);
3558 if (HasMajorIterationFrequency) {
3559 output.WriteRawTag(32);
3560 output.WriteInt32(MajorIterationFrequency);
3562 if (HasTerminationCheckFrequency) {
3563 output.WriteRawTag(40);
3564 output.WriteInt32(TerminationCheckFrequency);
3566 if (HasRestartStrategy) {
3567 output.WriteRawTag(48);
3568 output.WriteEnum((
int) RestartStrategy);
3570 if (HasPrimalWeightUpdateSmoothing) {
3571 output.WriteRawTag(57);
3572 output.WriteDouble(PrimalWeightUpdateSmoothing);
3574 if (HasInitialPrimalWeight) {
3575 output.WriteRawTag(65);
3576 output.WriteDouble(InitialPrimalWeight);
3578 if (HasLInfRuizIterations) {
3579 output.WriteRawTag(72);
3580 output.WriteInt32(LInfRuizIterations);
3582 if (HasL2NormRescaling) {
3583 output.WriteRawTag(80);
3584 output.WriteBool(L2NormRescaling);
3586 if (HasSufficientReductionForRestart) {
3587 output.WriteRawTag(89);
3588 output.WriteDouble(SufficientReductionForRestart);
3590 if (HasLinesearchRule) {
3591 output.WriteRawTag(96);
3592 output.WriteEnum((
int) LinesearchRule);
3594 if (presolveOptions_ !=
null) {
3595 output.WriteRawTag(130, 1);
3596 output.WriteMessage(PresolveOptions);
3598 if (HasNecessaryReductionForRestart) {
3599 output.WriteRawTag(137, 1);
3600 output.WriteDouble(NecessaryReductionForRestart);
3602 if (adaptiveLinesearchParameters_ !=
null) {
3603 output.WriteRawTag(146, 1);
3604 output.WriteMessage(AdaptiveLinesearchParameters);
3606 if (malitskyPockParameters_ !=
null) {
3607 output.WriteRawTag(154, 1);
3608 output.WriteMessage(MalitskyPockParameters);
3610 if (HasInfiniteConstraintBoundThreshold) {
3611 output.WriteRawTag(177, 1);
3612 output.WriteDouble(InfiniteConstraintBoundThreshold);
3614 if (HasUseDiagonalQpTrustRegionSolver) {
3615 output.WriteRawTag(184, 1);
3616 output.WriteBool(UseDiagonalQpTrustRegionSolver);
3618 if (HasDiagonalQpTrustRegionSolverTolerance) {
3619 output.WriteRawTag(193, 1);
3620 output.WriteDouble(DiagonalQpTrustRegionSolverTolerance);
3622 if (HasInitialStepSizeScaling) {
3623 output.WriteRawTag(201, 1);
3624 output.WriteDouble(InitialStepSizeScaling);
3626 if (HasVerbosityLevel) {
3627 output.WriteRawTag(208, 1);
3628 output.WriteInt32(VerbosityLevel);
3631 output.WriteRawTag(216, 1);
3632 output.WriteInt32(NumShards);
3634 randomProjectionSeeds_.WriteTo(ref output, _repeated_randomProjectionSeeds_codec);
3635 if (HasHandleSomePrimalGradientsOnFiniteBoundsAsResiduals) {
3636 output.WriteRawTag(232, 1);
3637 output.WriteBool(HandleSomePrimalGradientsOnFiniteBoundsAsResiduals);
3639 if (HasUseFeasibilityPolishing) {
3640 output.WriteRawTag(240, 1);
3641 output.WriteBool(UseFeasibilityPolishing);
3643 if (HasLogIntervalSeconds) {
3644 output.WriteRawTag(249, 1);
3645 output.WriteDouble(LogIntervalSeconds);
3647 if (HasSchedulerType) {
3648 output.WriteRawTag(128, 2);
3649 output.WriteEnum((
int) SchedulerType);
3651 if (HasApplyFeasibilityPolishingAfterLimitsReached) {
3652 output.WriteRawTag(136, 2);
3653 output.WriteBool(ApplyFeasibilityPolishingAfterLimitsReached);
3655 if (HasApplyFeasibilityPolishingIfSolverIsInterrupted) {
3656 output.WriteRawTag(144, 2);
3657 output.WriteBool(ApplyFeasibilityPolishingIfSolverIsInterrupted);
3659 if (_unknownFields !=
null) {
3660 _unknownFields.WriteTo(ref output);
3665 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3666 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3667 public int CalculateSize() {
3669 if (terminationCriteria_ !=
null) {
3672 if (HasNumThreads) {
3673 size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumThreads);
3676 size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumShards);
3678 if (HasSchedulerType) {
3679 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) SchedulerType);
3681 if (HasRecordIterationStats) {
3684 if (HasVerbosityLevel) {
3685 size += 2 + pb::CodedOutputStream.ComputeInt32Size(VerbosityLevel);
3687 if (HasLogIntervalSeconds) {
3690 if (HasMajorIterationFrequency) {
3691 size += 1 + pb::CodedOutputStream.ComputeInt32Size(MajorIterationFrequency);
3693 if (HasTerminationCheckFrequency) {
3694 size += 1 + pb::CodedOutputStream.ComputeInt32Size(TerminationCheckFrequency);
3696 if (HasRestartStrategy) {
3697 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) RestartStrategy);
3699 if (HasPrimalWeightUpdateSmoothing) {
3702 if (HasInitialPrimalWeight) {
3705 if (presolveOptions_ !=
null) {
3706 size += 2 + pb::CodedOutputStream.ComputeMessageSize(PresolveOptions);
3708 if (HasLInfRuizIterations) {
3709 size += 1 + pb::CodedOutputStream.ComputeInt32Size(LInfRuizIterations);
3711 if (HasL2NormRescaling) {
3714 if (HasSufficientReductionForRestart) {
3717 if (HasNecessaryReductionForRestart) {
3720 if (HasLinesearchRule) {
3721 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) LinesearchRule);
3723 if (adaptiveLinesearchParameters_ !=
null) {
3724 size += 2 + pb::CodedOutputStream.ComputeMessageSize(AdaptiveLinesearchParameters);
3726 if (malitskyPockParameters_ !=
null) {
3727 size += 2 + pb::CodedOutputStream.ComputeMessageSize(MalitskyPockParameters);
3729 if (HasInitialStepSizeScaling) {
3732 size += randomProjectionSeeds_.CalculateSize(_repeated_randomProjectionSeeds_codec);
3733 if (HasInfiniteConstraintBoundThreshold) {
3736 if (HasHandleSomePrimalGradientsOnFiniteBoundsAsResiduals) {
3739 if (HasUseDiagonalQpTrustRegionSolver) {
3742 if (HasDiagonalQpTrustRegionSolverTolerance) {
3745 if (HasUseFeasibilityPolishing) {
3748 if (HasApplyFeasibilityPolishingAfterLimitsReached) {
3751 if (HasApplyFeasibilityPolishingIfSolverIsInterrupted) {
3754 if (_unknownFields !=
null) {
3755 size += _unknownFields.CalculateSize();
3760 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3761 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3762 public void MergeFrom(PrimalDualHybridGradientParams other) {
3763 if (other ==
null) {
3766 if (other.terminationCriteria_ !=
null) {
3767 if (terminationCriteria_ ==
null) {
3770 TerminationCriteria.MergeFrom(other.TerminationCriteria);
3772 if (other.HasNumThreads) {
3773 NumThreads = other.NumThreads;
3775 if (other.HasNumShards) {
3776 NumShards = other.NumShards;
3778 if (other.HasSchedulerType) {
3781 if (other.HasRecordIterationStats) {
3782 RecordIterationStats = other.RecordIterationStats;
3784 if (other.HasVerbosityLevel) {
3785 VerbosityLevel = other.VerbosityLevel;
3787 if (other.HasLogIntervalSeconds) {
3788 LogIntervalSeconds = other.LogIntervalSeconds;
3790 if (other.HasMajorIterationFrequency) {
3791 MajorIterationFrequency = other.MajorIterationFrequency;
3793 if (other.HasTerminationCheckFrequency) {
3794 TerminationCheckFrequency = other.TerminationCheckFrequency;
3796 if (other.HasRestartStrategy) {
3797 RestartStrategy = other.RestartStrategy;
3799 if (other.HasPrimalWeightUpdateSmoothing) {
3800 PrimalWeightUpdateSmoothing = other.PrimalWeightUpdateSmoothing;
3802 if (other.HasInitialPrimalWeight) {
3803 InitialPrimalWeight = other.InitialPrimalWeight;
3805 if (other.presolveOptions_ !=
null) {
3806 if (presolveOptions_ ==
null) {
3807 PresolveOptions =
new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.PresolveOptions();
3809 PresolveOptions.MergeFrom(other.PresolveOptions);
3811 if (other.HasLInfRuizIterations) {
3812 LInfRuizIterations = other.LInfRuizIterations;
3814 if (other.HasL2NormRescaling) {
3815 L2NormRescaling = other.L2NormRescaling;
3817 if (other.HasSufficientReductionForRestart) {
3818 SufficientReductionForRestart = other.SufficientReductionForRestart;
3820 if (other.HasNecessaryReductionForRestart) {
3821 NecessaryReductionForRestart = other.NecessaryReductionForRestart;
3823 if (other.HasLinesearchRule) {
3824 LinesearchRule = other.LinesearchRule;
3826 if (other.adaptiveLinesearchParameters_ !=
null) {
3827 if (adaptiveLinesearchParameters_ ==
null) {
3828 AdaptiveLinesearchParameters =
new global::Google.OrTools.PDLP.AdaptiveLinesearchParams();
3830 AdaptiveLinesearchParameters.MergeFrom(other.AdaptiveLinesearchParameters);
3832 if (other.malitskyPockParameters_ !=
null) {
3833 if (malitskyPockParameters_ ==
null) {
3834 MalitskyPockParameters =
new global::Google.OrTools.PDLP.MalitskyPockParams();
3836 MalitskyPockParameters.MergeFrom(other.MalitskyPockParameters);
3838 if (other.HasInitialStepSizeScaling) {
3839 InitialStepSizeScaling = other.InitialStepSizeScaling;
3841 randomProjectionSeeds_.Add(other.randomProjectionSeeds_);
3842 if (other.HasInfiniteConstraintBoundThreshold) {
3843 InfiniteConstraintBoundThreshold = other.InfiniteConstraintBoundThreshold;
3845 if (other.HasHandleSomePrimalGradientsOnFiniteBoundsAsResiduals) {
3846 HandleSomePrimalGradientsOnFiniteBoundsAsResiduals = other.HandleSomePrimalGradientsOnFiniteBoundsAsResiduals;
3848 if (other.HasUseDiagonalQpTrustRegionSolver) {
3849 UseDiagonalQpTrustRegionSolver = other.UseDiagonalQpTrustRegionSolver;
3851 if (other.HasDiagonalQpTrustRegionSolverTolerance) {
3852 DiagonalQpTrustRegionSolverTolerance = other.DiagonalQpTrustRegionSolverTolerance;
3854 if (other.HasUseFeasibilityPolishing) {
3855 UseFeasibilityPolishing = other.UseFeasibilityPolishing;
3857 if (other.HasApplyFeasibilityPolishingAfterLimitsReached) {
3858 ApplyFeasibilityPolishingAfterLimitsReached = other.ApplyFeasibilityPolishingAfterLimitsReached;
3860 if (other.HasApplyFeasibilityPolishingIfSolverIsInterrupted) {
3861 ApplyFeasibilityPolishingIfSolverIsInterrupted = other.ApplyFeasibilityPolishingIfSolverIsInterrupted;
3863 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3866 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3867 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3868 public void MergeFrom(pb::CodedInputStream input) {
3869 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3870 input.ReadRawMessage(
this);
3873 while ((tag = input.ReadTag()) != 0) {
3874 if ((tag & 7) == 4) {
3880 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3883 if (terminationCriteria_ ==
null) {
3906 RestartStrategy = (global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy) input.ReadEnum();
3930 LinesearchRule = (global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule) input.ReadEnum();
3934 if (presolveOptions_ ==
null) {
3935 PresolveOptions =
new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.PresolveOptions();
3945 if (adaptiveLinesearchParameters_ ==
null) {
3952 if (malitskyPockParameters_ ==
null) {
3984 randomProjectionSeeds_.AddEntriesFrom(input, _repeated_randomProjectionSeeds_codec);
4000 SchedulerType = (global::Google.OrTools.PDLP.SchedulerType) input.ReadEnum();
4016 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4017 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4018 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4019 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4021 while ((tag = input.ReadTag()) != 0) {
4022 if ((tag & 7) == 4) {
4028 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4031 if (terminationCriteria_ ==
null) {
4032 TerminationCriteria =
new global::Google.OrTools.PDLP.TerminationCriteria();
4034 input.ReadMessage(TerminationCriteria);
4038 NumThreads = input.ReadInt32();
4042 RecordIterationStats = input.ReadBool();
4046 MajorIterationFrequency = input.ReadInt32();
4050 TerminationCheckFrequency = input.ReadInt32();
4054 RestartStrategy = (global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.RestartStrategy) input.ReadEnum();
4058 PrimalWeightUpdateSmoothing = input.ReadDouble();
4062 InitialPrimalWeight = input.ReadDouble();
4066 LInfRuizIterations = input.ReadInt32();
4070 L2NormRescaling = input.ReadBool();
4074 SufficientReductionForRestart = input.ReadDouble();
4078 LinesearchRule = (global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.LinesearchRule) input.ReadEnum();
4082 if (presolveOptions_ ==
null) {
4083 PresolveOptions =
new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Types.PresolveOptions();
4085 input.ReadMessage(PresolveOptions);
4089 NecessaryReductionForRestart = input.ReadDouble();
4093 if (adaptiveLinesearchParameters_ ==
null) {
4094 AdaptiveLinesearchParameters =
new global::Google.OrTools.PDLP.AdaptiveLinesearchParams();
4096 input.ReadMessage(AdaptiveLinesearchParameters);
4100 if (malitskyPockParameters_ ==
null) {
4101 MalitskyPockParameters =
new global::Google.OrTools.PDLP.MalitskyPockParams();
4103 input.ReadMessage(MalitskyPockParameters);
4107 InfiniteConstraintBoundThreshold = input.ReadDouble();
4111 UseDiagonalQpTrustRegionSolver = input.ReadBool();
4115 DiagonalQpTrustRegionSolverTolerance = input.ReadDouble();
4119 InitialStepSizeScaling = input.ReadDouble();
4123 VerbosityLevel = input.ReadInt32();
4127 NumShards = input.ReadInt32();
4132 randomProjectionSeeds_.AddEntriesFrom(ref input, _repeated_randomProjectionSeeds_codec);
4136 HandleSomePrimalGradientsOnFiniteBoundsAsResiduals = input.ReadBool();
4140 UseFeasibilityPolishing = input.ReadBool();
4144 LogIntervalSeconds = input.ReadDouble();
4148 SchedulerType = (global::Google.OrTools.PDLP.SchedulerType) input.ReadEnum();
4152 ApplyFeasibilityPolishingAfterLimitsReached = input.ReadBool();
4156 ApplyFeasibilityPolishingIfSolverIsInterrupted = input.ReadBool();
4164 #region Nested types
4166 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4167 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4168 public static partial class Types {
4169 public enum RestartStrategy {
4175 [pbr::OriginalName(
"NO_RESTARTS")]
NoRestarts = 1,
4201 [pbr::OriginalName(
"LINESEARCH_RULE_UNSPECIFIED")]
Unspecified = 0,
4223 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4224 public sealed partial class PresolveOptions : pb::IMessage<PresolveOptions>
4225 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4226 , pb::IBufferMessage
4229 private static readonly pb::MessageParser<PresolveOptions> _parser =
new pb::MessageParser<PresolveOptions>(() =>
new PresolveOptions());
4230 private pb::UnknownFieldSet _unknownFields;
4231 private int _hasBits0;
4232 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4233 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4234 public static pb::MessageParser<PresolveOptions>
Parser {
get {
return _parser; } }
4236 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4237 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4238 public static pbr::MessageDescriptor
Descriptor {
4239 get {
return global::Google.OrTools.PDLP.PrimalDualHybridGradientParams.Descriptor.NestedTypes[0]; }
4242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4243 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4244 pbr::MessageDescriptor pb::IMessage.Descriptor {
4248 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4249 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4250 public PresolveOptions() {
4254 partial
void OnConstruction();
4256 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4257 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4259 _hasBits0 = other._hasBits0;
4260 useGlop_ = other.useGlop_;
4261 glopParameters_ = other.glopParameters_ !=
null ? other.glopParameters_.Clone() :
null;
4262 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4265 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4266 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4272 public const int UseGlopFieldNumber = 1;
4273 private readonly
static bool UseGlopDefaultValue =
false;
4275 private bool useGlop_;
4286 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4287 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4289 get {
if ((_hasBits0 & 1) != 0) {
return useGlop_; }
else {
return UseGlopDefaultValue; } }
4296 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4297 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4298 public bool HasUseGlop {
4299 get {
return (_hasBits0 & 1) != 0; }
4302 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4303 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4304 public void ClearUseGlop() {
4309 public const int GlopParametersFieldNumber = 2;
4310 private global::Google.OrTools.Glop.GlopParameters glopParameters_;
4315 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4316 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4318 get { return glopParameters_; }
4320 glopParameters_ = value;
4324 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4325 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4326 public override bool Equals(
object other) {
4330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4331 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4333 if (ReferenceEquals(other,
null)) {
4336 if (ReferenceEquals(other,
this)) {
4339 if (UseGlop != other.
UseGlop)
return false;
4341 return Equals(_unknownFields, other._unknownFields);
4344 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4345 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4346 public override int GetHashCode() {
4349 if (glopParameters_ !=
null) hash ^=
GlopParameters.GetHashCode();
4350 if (_unknownFields !=
null) {
4351 hash ^= _unknownFields.GetHashCode();
4356 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4357 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4358 public override string ToString() {
4359 return pb::JsonFormatter.ToDiagnosticString(
this);
4362 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4363 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4364 public void WriteTo(pb::CodedOutputStream output) {
4365 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4366 output.WriteRawMessage(
this);
4369 output.WriteRawTag(8);
4372 if (glopParameters_ !=
null) {
4373 output.WriteRawTag(18);
4374 output.WriteMessage(GlopParameters);
4376 if (_unknownFields !=
null) {
4377 _unknownFields.WriteTo(output);
4382 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4383 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4384 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4385 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4387 output.WriteRawTag(8);
4388 output.WriteBool(UseGlop);
4390 if (glopParameters_ !=
null) {
4391 output.WriteRawTag(18);
4392 output.WriteMessage(GlopParameters);
4394 if (_unknownFields !=
null) {
4395 _unknownFields.WriteTo(ref output);
4400 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4401 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4402 public int CalculateSize() {
4407 if (glopParameters_ !=
null) {
4408 size += 1 + pb::CodedOutputStream.ComputeMessageSize(GlopParameters);
4410 if (_unknownFields !=
null) {
4411 size += _unknownFields.CalculateSize();
4416 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4417 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4418 public void MergeFrom(PresolveOptions other) {
4419 if (other ==
null) {
4422 if (other.HasUseGlop) {
4423 UseGlop = other.UseGlop;
4425 if (other.glopParameters_ !=
null) {
4426 if (glopParameters_ ==
null) {
4427 GlopParameters =
new global::Google.OrTools.Glop.GlopParameters();
4429 GlopParameters.MergeFrom(other.GlopParameters);
4431 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4434 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4435 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4436 public void MergeFrom(pb::CodedInputStream input) {
4437 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4438 input.ReadRawMessage(
this);
4441 while ((tag = input.ReadTag()) != 0) {
4442 if ((tag & 7) == 4) {
4448 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4455 if (glopParameters_ ==
null) {
4456 GlopParameters =
new global::Google.OrTools.Glop.GlopParameters();
4466 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4467 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4468 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4469 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4471 while ((tag = input.ReadTag()) != 0) {
4472 if ((tag & 7) == 4) {
4478 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4481 UseGlop = input.ReadBool();
4485 if (glopParameters_ ==
null) {
4486 GlopParameters =
new global::Google.OrTools.Glop.GlopParameters();
4488 input.ReadMessage(GlopParameters);
4507#endregion Designer generated code
global::Google.Protobuf pb
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc