Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
SolveLog.pb.cs
Go to the documentation of this file.
1// <auto-generated>
2// Generated by the protocol buffer compiler. DO NOT EDIT!
3// source: ortools/pdlp/solve_log.proto
4// </auto-generated>
5#pragma warning disable 1591, 0612, 3021, 8981
6#region Designer generated code
7
8using pb = global::Google.Protobuf;
9using pbc = global::Google.Protobuf.Collections;
10using pbr = global::Google.Protobuf.Reflection;
11using scg = global::System.Collections.Generic;
13
15 public static partial class SolveLogReflection {
16
17 #region Descriptor
19 public static pbr::FileDescriptor Descriptor {
20 get { return descriptor; }
21 }
22 private static pbr::FileDescriptor descriptor;
23
24 static SolveLogReflection() {
25 byte[] descriptorData = global::System.Convert.FromBase64String(
26 string.Concat(
27 "ChxvcnRvb2xzL3BkbHAvc29sdmVfbG9nLnByb3RvEhhvcGVyYXRpb25zX3Jl",
28 "c2VhcmNoLnBkbHAaGm9ydG9vbHMvcGRscC9zb2x2ZXJzLnByb3RvItIIChVR",
29 "dWFkcmF0aWNQcm9ncmFtU3RhdHMSFQoNbnVtX3ZhcmlhYmxlcxgBIAEoAxIX",
30 "Cg9udW1fY29uc3RyYWludHMYAiABKAMSLAokY29uc3RyYWludF9tYXRyaXhf",
31 "Y29sX21pbl9sX2luZl9ub3JtGAMgASgBEiwKJGNvbnN0cmFpbnRfbWF0cml4",
32 "X3Jvd19taW5fbF9pbmZfbm9ybRgEIAEoARImCh5jb25zdHJhaW50X21hdHJp",
33 "eF9udW1fbm9uemVyb3MYBSABKAMSIQoZY29uc3RyYWludF9tYXRyaXhfYWJz",
34 "X21heBgGIAEoARIhChljb25zdHJhaW50X21hdHJpeF9hYnNfbWluGAcgASgB",
35 "EiEKGWNvbnN0cmFpbnRfbWF0cml4X2Fic19hdmcYCCABKAESIQoZY29uc3Ry",
36 "YWludF9tYXRyaXhfbDJfbm9ybRgZIAEoARIbChNjb21iaW5lZF9ib3VuZHNf",
37 "bWF4GAkgASgBEhsKE2NvbWJpbmVkX2JvdW5kc19taW4YCiABKAESGwoTY29t",
38 "YmluZWRfYm91bmRzX2F2ZxgLIAEoARIfChdjb21iaW5lZF9ib3VuZHNfbDJf",
39 "bm9ybRgYIAEoARIkChxjb21iaW5lZF92YXJpYWJsZV9ib3VuZHNfbWF4GBwg",
40 "ASgBEiQKHGNvbWJpbmVkX3ZhcmlhYmxlX2JvdW5kc19taW4YHSABKAESJAoc",
41 "Y29tYmluZWRfdmFyaWFibGVfYm91bmRzX2F2ZxgeIAEoARIoCiBjb21iaW5l",
42 "ZF92YXJpYWJsZV9ib3VuZHNfbDJfbm9ybRgfIAEoARImCh52YXJpYWJsZV9i",
43 "b3VuZF9nYXBzX251bV9maW5pdGUYDCABKAMSHwoXdmFyaWFibGVfYm91bmRf",
44 "Z2Fwc19tYXgYDSABKAESHwoXdmFyaWFibGVfYm91bmRfZ2Fwc19taW4YDiAB",
45 "KAESHwoXdmFyaWFibGVfYm91bmRfZ2Fwc19hdmcYDyABKAESIwobdmFyaWFi",
46 "bGVfYm91bmRfZ2Fwc19sMl9ub3JtGBogASgBEiAKGG9iamVjdGl2ZV92ZWN0",
47 "b3JfYWJzX21heBgQIAEoARIgChhvYmplY3RpdmVfdmVjdG9yX2Fic19taW4Y",
48 "ESABKAESIAoYb2JqZWN0aXZlX3ZlY3Rvcl9hYnNfYXZnGBIgASgBEiAKGG9i",
49 "amVjdGl2ZV92ZWN0b3JfbDJfbm9ybRgXIAEoARIlCh1vYmplY3RpdmVfbWF0",
50 "cml4X251bV9ub256ZXJvcxgTIAEoAxIgChhvYmplY3RpdmVfbWF0cml4X2Fi",
51 "c19tYXgYFCABKAESIAoYb2JqZWN0aXZlX21hdHJpeF9hYnNfbWluGBUgASgB",
52 "EiAKGG9iamVjdGl2ZV9tYXRyaXhfYWJzX2F2ZxgWIAEoARIgChhvYmplY3Rp",
53 "dmVfbWF0cml4X2wyX25vcm0YGyABKAEipwQKFkNvbnZlcmdlbmNlSW5mb3Jt",
54 "YXRpb24SOwoOY2FuZGlkYXRlX3R5cGUYASABKA4yIy5vcGVyYXRpb25zX3Jl",
55 "c2VhcmNoLnBkbHAuUG9pbnRUeXBlEhgKEHByaW1hbF9vYmplY3RpdmUYAiAB",
56 "KAESFgoOZHVhbF9vYmplY3RpdmUYAyABKAESIAoYY29ycmVjdGVkX2R1YWxf",
57 "b2JqZWN0aXZlGAQgASgBEh0KFWxfaW5mX3ByaW1hbF9yZXNpZHVhbBgFIAEo",
58 "ARIaChJsMl9wcmltYWxfcmVzaWR1YWwYBiABKAESKwojbF9pbmZfY29tcG9u",
59 "ZW50d2lzZV9wcmltYWxfcmVzaWR1YWwYGCABKAESGwoTbF9pbmZfZHVhbF9y",
60 "ZXNpZHVhbBgHIAEoARIYChBsMl9kdWFsX3Jlc2lkdWFsGAggASgBEikKIWxf",
61 "aW5mX2NvbXBvbmVudHdpc2VfZHVhbF9yZXNpZHVhbBgZIAEoARIdChVsX2lu",
62 "Zl9wcmltYWxfdmFyaWFibGUYDiABKAESGgoSbDJfcHJpbWFsX3ZhcmlhYmxl",
63 "GA8gASgBEhsKE2xfaW5mX2R1YWxfdmFyaWFibGUYECABKAESGAoQbDJfZHVh",
64 "bF92YXJpYWJsZRgRIAEoAUoECAkQCkoECAoQC0oECAsQDEoECAwQDUoECA0Q",
65 "DkoECBIQE0oECBMQFEoECBQQFUoECBUQFkoECBYQF0oECBcQGCKRAgoYSW5m",
66 "ZWFzaWJpbGl0eUluZm9ybWF0aW9uEiQKHG1heF9wcmltYWxfcmF5X2luZmVh",
67 "c2liaWxpdHkYASABKAESIwobcHJpbWFsX3JheV9saW5lYXJfb2JqZWN0aXZl",
68 "GAIgASgBEiEKGXByaW1hbF9yYXlfcXVhZHJhdGljX25vcm0YAyABKAESIgoa",
69 "bWF4X2R1YWxfcmF5X2luZmVhc2liaWxpdHkYBCABKAESGgoSZHVhbF9yYXlf",
70 "b2JqZWN0aXZlGAUgASgBEjsKDmNhbmRpZGF0ZV90eXBlGAYgASgOMiMub3Bl",
71 "cmF0aW9uc19yZXNlYXJjaC5wZGxwLlBvaW50VHlwZUoECAcQCEoECAgQCSKq",
72 "AgoNUG9pbnRNZXRhZGF0YRI3Cgpwb2ludF90eXBlGAEgASgOMiMub3BlcmF0",
73 "aW9uc19yZXNlYXJjaC5wZGxwLlBvaW50VHlwZRIlChlyYW5kb21fcHJpbWFs",
74 "X3Byb2plY3Rpb25zGAIgAygBQgIQARIjChdyYW5kb21fZHVhbF9wcm9qZWN0",
75 "aW9ucxgDIAMoAUICEAESJAocYWN0aXZlX3ByaW1hbF92YXJpYWJsZV9jb3Vu",
76 "dBgEIAEoAxIiChphY3RpdmVfZHVhbF92YXJpYWJsZV9jb3VudBgFIAEoAxIl",
77 "Ch1hY3RpdmVfcHJpbWFsX3ZhcmlhYmxlX2NoYW5nZRgGIAEoAxIjChthY3Rp",
78 "dmVfZHVhbF92YXJpYWJsZV9jaGFuZ2UYByABKAMi6gMKDkl0ZXJhdGlvblN0",
79 "YXRzEhgKEGl0ZXJhdGlvbl9udW1iZXIYASABKAUSUQoXY29udmVyZ2VuY2Vf",
80 "aW5mb3JtYXRpb24YAiADKAsyMC5vcGVyYXRpb25zX3Jlc2VhcmNoLnBkbHAu",
81 "Q29udmVyZ2VuY2VJbmZvcm1hdGlvbhJVChlpbmZlYXNpYmlsaXR5X2luZm9y",
82 "bWF0aW9uGAMgAygLMjIub3BlcmF0aW9uc19yZXNlYXJjaC5wZGxwLkluZmVh",
83 "c2liaWxpdHlJbmZvcm1hdGlvbhI/Cg5wb2ludF9tZXRhZGF0YRgLIAMoCzIn",
84 "Lm9wZXJhdGlvbnNfcmVzZWFyY2gucGRscC5Qb2ludE1ldGFkYXRhEiQKHGN1",
85 "bXVsYXRpdmVfa2t0X21hdHJpeF9wYXNzZXMYBCABKAESIQoZY3VtdWxhdGl2",
86 "ZV9yZWplY3RlZF9zdGVwcxgFIAEoBRIbChNjdW11bGF0aXZlX3RpbWVfc2Vj",
87 "GAYgASgBEj0KDHJlc3RhcnRfdXNlZBgHIAEoDjInLm9wZXJhdGlvbnNfcmVz",
88 "ZWFyY2gucGRscC5SZXN0YXJ0Q2hvaWNlEhEKCXN0ZXBfc2l6ZRgIIAEoARIV",
89 "Cg1wcmltYWxfd2VpZ2h0GAkgASgBSgQIChALIowEChtGZWFzaWJpbGl0eVBv",
90 "bGlzaGluZ0RldGFpbHMSSgoUcG9saXNoaW5nX3BoYXNlX3R5cGUYASABKA4y",
91 "LC5vcGVyYXRpb25zX3Jlc2VhcmNoLnBkbHAuUG9saXNoaW5nUGhhc2VUeXBl",
92 "EhwKFG1haW5faXRlcmF0aW9uX2NvdW50GAIgASgFEkgKBnBhcmFtcxgDIAEo",
93 "CzI4Lm9wZXJhdGlvbnNfcmVzZWFyY2gucGRscC5QcmltYWxEdWFsSHlicmlk",
94 "R3JhZGllbnRQYXJhbXMSRwoSdGVybWluYXRpb25fcmVhc29uGAQgASgOMisu",
95 "b3BlcmF0aW9uc19yZXNlYXJjaC5wZGxwLlRlcm1pbmF0aW9uUmVhc29uEhcK",
96 "D2l0ZXJhdGlvbl9jb3VudBgFIAEoBRIWCg5zb2x2ZV90aW1lX3NlYxgGIAEo",
97 "ARJACg5zb2x1dGlvbl9zdGF0cxgHIAEoCzIoLm9wZXJhdGlvbnNfcmVzZWFy",
98 "Y2gucGRscC5JdGVyYXRpb25TdGF0cxI6Cg1zb2x1dGlvbl90eXBlGAggASgO",
99 "MiMub3BlcmF0aW9uc19yZXNlYXJjaC5wZGxwLlBvaW50VHlwZRJBCg9pdGVy",
100 "YXRpb25fc3RhdHMYCSADKAsyKC5vcGVyYXRpb25zX3Jlc2VhcmNoLnBkbHAu",
101 "SXRlcmF0aW9uU3RhdHMi8gUKCFNvbHZlTG9nEhUKDWluc3RhbmNlX25hbWUY",
102 "ASABKAkSSAoGcGFyYW1zGA4gASgLMjgub3BlcmF0aW9uc19yZXNlYXJjaC5w",
103 "ZGxwLlByaW1hbER1YWxIeWJyaWRHcmFkaWVudFBhcmFtcxJHChJ0ZXJtaW5h",
104 "dGlvbl9yZWFzb24YAyABKA4yKy5vcGVyYXRpb25zX3Jlc2VhcmNoLnBkbHAu",
105 "VGVybWluYXRpb25SZWFzb24SGgoSdGVybWluYXRpb25fc3RyaW5nGAQgASgJ",
106 "EhcKD2l0ZXJhdGlvbl9jb3VudBgFIAEoBRIeChZwcmVwcm9jZXNzaW5nX3Rp",
107 "bWVfc2VjGA0gASgBEhYKDnNvbHZlX3RpbWVfc2VjGAYgASgBEkAKDnNvbHV0",
108 "aW9uX3N0YXRzGAggASgLMigub3BlcmF0aW9uc19yZXNlYXJjaC5wZGxwLkl0",
109 "ZXJhdGlvblN0YXRzEjoKDXNvbHV0aW9uX3R5cGUYCiABKA4yIy5vcGVyYXRp",
110 "b25zX3Jlc2VhcmNoLnBkbHAuUG9pbnRUeXBlEkEKD2l0ZXJhdGlvbl9zdGF0",
111 "cxgHIAMoCzIoLm9wZXJhdGlvbnNfcmVzZWFyY2gucGRscC5JdGVyYXRpb25T",
112 "dGF0cxJPChZvcmlnaW5hbF9wcm9ibGVtX3N0YXRzGAsgASgLMi8ub3BlcmF0",
113 "aW9uc19yZXNlYXJjaC5wZGxwLlF1YWRyYXRpY1Byb2dyYW1TdGF0cxJTChpw",
114 "cmVwcm9jZXNzZWRfcHJvYmxlbV9zdGF0cxgMIAEoCzIvLm9wZXJhdGlvbnNf",
115 "cmVzZWFyY2gucGRscC5RdWFkcmF0aWNQcm9ncmFtU3RhdHMSXAodZmVhc2li",
116 "aWxpdHlfcG9saXNoaW5nX2RldGFpbHMYDyADKAsyNS5vcGVyYXRpb25zX3Jl",
117 "c2VhcmNoLnBkbHAuRmVhc2liaWxpdHlQb2xpc2hpbmdEZXRhaWxzSgQIAhAD",
118 "SgQICRAKKqABCg1SZXN0YXJ0Q2hvaWNlEh4KGlJFU1RBUlRfQ0hPSUNFX1VO",
119 "U1BFQ0lGSUVEEAASHQoZUkVTVEFSVF9DSE9JQ0VfTk9fUkVTVEFSVBABEikK",
120 "JVJFU1RBUlRfQ0hPSUNFX1dFSUdIVEVEX0FWRVJBR0VfUkVTRVQQAhIlCiFS",
121 "RVNUQVJUX0NIT0lDRV9SRVNUQVJUX1RPX0FWRVJBR0UQAyrxAQoJUG9pbnRU",
122 "eXBlEhoKFlBPSU5UX1RZUEVfVU5TUEVDSUZJRUQQABIeChpQT0lOVF9UWVBF",
123 "X0NVUlJFTlRfSVRFUkFURRABEiEKHVBPSU5UX1RZUEVfSVRFUkFURV9ESUZG",
124 "RVJFTkNFEAISHgoaUE9JTlRfVFlQRV9BVkVSQUdFX0lURVJBVEUQAxITCg9Q",
125 "T0lOVF9UWVBFX05PTkUQBBIhCh1QT0lOVF9UWVBFX1BSRVNPTFZFUl9TT0xV",
126 "VElPThAFEi0KKVBPSU5UX1RZUEVfRkVBU0lCSUxJVFlfUE9MSVNISU5HX1NP",
127 "TFVUSU9OEAYqyQQKEVRlcm1pbmF0aW9uUmVhc29uEiIKHlRFUk1JTkFUSU9O",
128 "X1JFQVNPTl9VTlNQRUNJRklFRBAAEh4KGlRFUk1JTkFUSU9OX1JFQVNPTl9P",
129 "UFRJTUFMEAESKAokVEVSTUlOQVRJT05fUkVBU09OX1BSSU1BTF9JTkZFQVNJ",
130 "QkxFEAISJgoiVEVSTUlOQVRJT05fUkVBU09OX0RVQUxfSU5GRUFTSUJMRRAD",
131 "EiEKHVRFUk1JTkFUSU9OX1JFQVNPTl9USU1FX0xJTUlUEAQSJgoiVEVSTUlO",
132 "QVRJT05fUkVBU09OX0lURVJBVElPTl9MSU1JVBAFEiwKKFRFUk1JTkFUSU9O",
133 "X1JFQVNPTl9LS1RfTUFUUklYX1BBU1NfTElNSVQQCBIqCiZURVJNSU5BVElP",
134 "Tl9SRUFTT05fSU5URVJSVVBURURfQllfVVNFUhAMEiYKIlRFUk1JTkFUSU9O",
135 "X1JFQVNPTl9OVU1FUklDQUxfRVJST1IQBhImCiJURVJNSU5BVElPTl9SRUFT",
136 "T05fSU5WQUxJRF9QUk9CTEVNEAkSLworVEVSTUlOQVRJT05fUkVBU09OX0lO",
137 "VkFMSURfSU5JVElBTF9TT0xVVElPThANEigKJFRFUk1JTkFUSU9OX1JFQVNP",
138 "Tl9JTlZBTElEX1BBUkFNRVRFUhAKEhwKGFRFUk1JTkFUSU9OX1JFQVNPTl9P",
139 "VEhFUhAHEjAKLFRFUk1JTkFUSU9OX1JFQVNPTl9QUklNQUxfT1JfRFVBTF9J",
140 "TkZFQVNJQkxFEAsqkgEKElBvbGlzaGluZ1BoYXNlVHlwZRIkCiBQT0xJU0hJ",
141 "TkdfUEhBU0VfVFlQRV9VTlNQRUNJRklFRBAAEisKJ1BPTElTSElOR19QSEFT",
142 "RV9UWVBFX1BSSU1BTF9GRUFTSUJJTElUWRABEikKJVBPTElTSElOR19QSEFT",
143 "RV9UWVBFX0RVQUxfRkVBU0lCSUxJVFkQAkIxChdjb20uZ29vZ2xlLm9ydG9v",
144 "bHMucGRscFABqgITR29vZ2xlLk9yVG9vbHMuUERMUA=="));
145 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
146 new pbr::FileDescriptor[] { global::Google.OrTools.PDLP.SolversReflection.Descriptor, },
147 new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.OrTools.PDLP.RestartChoice), typeof(global::Google.OrTools.PDLP.PointType), typeof(global::Google.OrTools.PDLP.TerminationReason), typeof(global::Google.OrTools.PDLP.PolishingPhaseType), }, null, new pbr::GeneratedClrTypeInfo[] {
148 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.QuadraticProgramStats), global::Google.OrTools.PDLP.QuadraticProgramStats.Parser, new[]{ "NumVariables", "NumConstraints", "ConstraintMatrixColMinLInfNorm", "ConstraintMatrixRowMinLInfNorm", "ConstraintMatrixNumNonzeros", "ConstraintMatrixAbsMax", "ConstraintMatrixAbsMin", "ConstraintMatrixAbsAvg", "ConstraintMatrixL2Norm", "CombinedBoundsMax", "CombinedBoundsMin", "CombinedBoundsAvg", "CombinedBoundsL2Norm", "CombinedVariableBoundsMax", "CombinedVariableBoundsMin", "CombinedVariableBoundsAvg", "CombinedVariableBoundsL2Norm", "VariableBoundGapsNumFinite", "VariableBoundGapsMax", "VariableBoundGapsMin", "VariableBoundGapsAvg", "VariableBoundGapsL2Norm", "ObjectiveVectorAbsMax", "ObjectiveVectorAbsMin", "ObjectiveVectorAbsAvg", "ObjectiveVectorL2Norm", "ObjectiveMatrixNumNonzeros", "ObjectiveMatrixAbsMax", "ObjectiveMatrixAbsMin", "ObjectiveMatrixAbsAvg", "ObjectiveMatrixL2Norm" }, null, null, null, null),
149 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.ConvergenceInformation), global::Google.OrTools.PDLP.ConvergenceInformation.Parser, new[]{ "CandidateType", "PrimalObjective", "DualObjective", "CorrectedDualObjective", "LInfPrimalResidual", "L2PrimalResidual", "LInfComponentwisePrimalResidual", "LInfDualResidual", "L2DualResidual", "LInfComponentwiseDualResidual", "LInfPrimalVariable", "L2PrimalVariable", "LInfDualVariable", "L2DualVariable" }, null, null, null, null),
150 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.InfeasibilityInformation), global::Google.OrTools.PDLP.InfeasibilityInformation.Parser, new[]{ "MaxPrimalRayInfeasibility", "PrimalRayLinearObjective", "PrimalRayQuadraticNorm", "MaxDualRayInfeasibility", "DualRayObjective", "CandidateType" }, null, null, null, null),
151 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.PointMetadata), global::Google.OrTools.PDLP.PointMetadata.Parser, new[]{ "PointType", "RandomPrimalProjections", "RandomDualProjections", "ActivePrimalVariableCount", "ActiveDualVariableCount", "ActivePrimalVariableChange", "ActiveDualVariableChange" }, null, null, null, null),
152 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.IterationStats), global::Google.OrTools.PDLP.IterationStats.Parser, new[]{ "IterationNumber", "ConvergenceInformation", "InfeasibilityInformation", "PointMetadata", "CumulativeKktMatrixPasses", "CumulativeRejectedSteps", "CumulativeTimeSec", "RestartUsed", "StepSize", "PrimalWeight" }, null, null, null, null),
153 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.FeasibilityPolishingDetails), global::Google.OrTools.PDLP.FeasibilityPolishingDetails.Parser, new[]{ "PolishingPhaseType", "MainIterationCount", "Params", "TerminationReason", "IterationCount", "SolveTimeSec", "SolutionStats", "SolutionType", "IterationStats" }, null, null, null, null),
154 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.PDLP.SolveLog), global::Google.OrTools.PDLP.SolveLog.Parser, new[]{ "InstanceName", "Params", "TerminationReason", "TerminationString", "IterationCount", "PreprocessingTimeSec", "SolveTimeSec", "SolutionStats", "SolutionType", "IterationStats", "OriginalProblemStats", "PreprocessedProblemStats", "FeasibilityPolishingDetails" }, null, null, null, null)
155 }));
156 }
157 #endregion
158
159 }
160 #region Enums
164 public enum RestartChoice {
165 [pbr::OriginalName("RESTART_CHOICE_UNSPECIFIED")] Unspecified = 0,
169 [pbr::OriginalName("RESTART_CHOICE_NO_RESTART")] NoRestart = 1,
176 [pbr::OriginalName("RESTART_CHOICE_WEIGHTED_AVERAGE_RESET")] WeightedAverageReset = 2,
181 [pbr::OriginalName("RESTART_CHOICE_RESTART_TO_AVERAGE")] RestartToAverage = 3,
182 }
183
188 public enum PointType {
189 [pbr::OriginalName("POINT_TYPE_UNSPECIFIED")] Unspecified = 0,
193 [pbr::OriginalName("POINT_TYPE_CURRENT_ITERATE")] CurrentIterate = 1,
197 [pbr::OriginalName("POINT_TYPE_ITERATE_DIFFERENCE")] IterateDifference = 2,
201 [pbr::OriginalName("POINT_TYPE_AVERAGE_ITERATE")] AverageIterate = 3,
205 [pbr::OriginalName("POINT_TYPE_NONE")] None = 4,
209 [pbr::OriginalName("POINT_TYPE_PRESOLVER_SOLUTION")] PresolverSolution = 5,
213 [pbr::OriginalName("POINT_TYPE_FEASIBILITY_POLISHING_SOLUTION")] FeasibilityPolishingSolution = 6,
214 }
215
216 public enum TerminationReason {
217 [pbr::OriginalName("TERMINATION_REASON_UNSPECIFIED")] Unspecified = 0,
218 [pbr::OriginalName("TERMINATION_REASON_OPTIMAL")] Optimal = 1,
222 [pbr::OriginalName("TERMINATION_REASON_PRIMAL_INFEASIBLE")] PrimalInfeasible = 2,
226 [pbr::OriginalName("TERMINATION_REASON_DUAL_INFEASIBLE")] DualInfeasible = 3,
227 [pbr::OriginalName("TERMINATION_REASON_TIME_LIMIT")] TimeLimit = 4,
228 [pbr::OriginalName("TERMINATION_REASON_ITERATION_LIMIT")] IterationLimit = 5,
229 [pbr::OriginalName("TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT")] KktMatrixPassLimit = 8,
230 [pbr::OriginalName("TERMINATION_REASON_INTERRUPTED_BY_USER")] InterruptedByUser = 12,
231 [pbr::OriginalName("TERMINATION_REASON_NUMERICAL_ERROR")] NumericalError = 6,
236 [pbr::OriginalName("TERMINATION_REASON_INVALID_PROBLEM")] InvalidProblem = 9,
241 [pbr::OriginalName("TERMINATION_REASON_INVALID_INITIAL_SOLUTION")] InvalidInitialSolution = 13,
245 [pbr::OriginalName("TERMINATION_REASON_INVALID_PARAMETER")] InvalidParameter = 10,
246 [pbr::OriginalName("TERMINATION_REASON_OTHER")] Other = 7,
251 [pbr::OriginalName("TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE")] PrimalOrDualInfeasible = 11,
252 }
253
254 public enum PolishingPhaseType {
255 [pbr::OriginalName("POLISHING_PHASE_TYPE_UNSPECIFIED")] Unspecified = 0,
256 [pbr::OriginalName("POLISHING_PHASE_TYPE_PRIMAL_FEASIBILITY")] PrimalFeasibility = 1,
257 [pbr::OriginalName("POLISHING_PHASE_TYPE_DUAL_FEASIBILITY")] DualFeasibility = 2,
258 }
259
260 #endregion
261
262 #region Messages
266 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
267 public sealed partial class QuadraticProgramStats : pb::IMessage<QuadraticProgramStats>
268 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
269 , pb::IBufferMessage
270 #endif
271 {
272 private static readonly pb::MessageParser<QuadraticProgramStats> _parser = new pb::MessageParser<QuadraticProgramStats>(() => new QuadraticProgramStats());
273 private pb::UnknownFieldSet _unknownFields;
274 private int _hasBits0;
275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
276 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
277 public static pb::MessageParser<QuadraticProgramStats> Parser { get { return _parser; } }
278
279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
280 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
281 public static pbr::MessageDescriptor Descriptor {
282 get { return global::Google.OrTools.PDLP.SolveLogReflection.Descriptor.MessageTypes[0]; }
283 }
284
285 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
286 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
287 pbr::MessageDescriptor pb::IMessage.Descriptor {
288 get { return Descriptor; }
289 }
290
291 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
292 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
294 OnConstruction();
295 }
296
297 partial void OnConstruction();
298
299 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
300 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
302 _hasBits0 = other._hasBits0;
303 numVariables_ = other.numVariables_;
304 numConstraints_ = other.numConstraints_;
305 constraintMatrixColMinLInfNorm_ = other.constraintMatrixColMinLInfNorm_;
306 constraintMatrixRowMinLInfNorm_ = other.constraintMatrixRowMinLInfNorm_;
307 constraintMatrixNumNonzeros_ = other.constraintMatrixNumNonzeros_;
308 constraintMatrixAbsMax_ = other.constraintMatrixAbsMax_;
309 constraintMatrixAbsMin_ = other.constraintMatrixAbsMin_;
310 constraintMatrixAbsAvg_ = other.constraintMatrixAbsAvg_;
311 constraintMatrixL2Norm_ = other.constraintMatrixL2Norm_;
312 combinedBoundsMax_ = other.combinedBoundsMax_;
313 combinedBoundsMin_ = other.combinedBoundsMin_;
314 combinedBoundsAvg_ = other.combinedBoundsAvg_;
315 combinedBoundsL2Norm_ = other.combinedBoundsL2Norm_;
316 combinedVariableBoundsMax_ = other.combinedVariableBoundsMax_;
317 combinedVariableBoundsMin_ = other.combinedVariableBoundsMin_;
318 combinedVariableBoundsAvg_ = other.combinedVariableBoundsAvg_;
319 combinedVariableBoundsL2Norm_ = other.combinedVariableBoundsL2Norm_;
320 variableBoundGapsNumFinite_ = other.variableBoundGapsNumFinite_;
321 variableBoundGapsMax_ = other.variableBoundGapsMax_;
322 variableBoundGapsMin_ = other.variableBoundGapsMin_;
323 variableBoundGapsAvg_ = other.variableBoundGapsAvg_;
324 variableBoundGapsL2Norm_ = other.variableBoundGapsL2Norm_;
325 objectiveVectorAbsMax_ = other.objectiveVectorAbsMax_;
326 objectiveVectorAbsMin_ = other.objectiveVectorAbsMin_;
327 objectiveVectorAbsAvg_ = other.objectiveVectorAbsAvg_;
328 objectiveVectorL2Norm_ = other.objectiveVectorL2Norm_;
329 objectiveMatrixNumNonzeros_ = other.objectiveMatrixNumNonzeros_;
330 objectiveMatrixAbsMax_ = other.objectiveMatrixAbsMax_;
331 objectiveMatrixAbsMin_ = other.objectiveMatrixAbsMin_;
332 objectiveMatrixAbsAvg_ = other.objectiveMatrixAbsAvg_;
333 objectiveMatrixL2Norm_ = other.objectiveMatrixL2Norm_;
334 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
335 }
336
337 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
338 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
340 return new QuadraticProgramStats(this);
341 }
342
344 public const int NumVariablesFieldNumber = 1;
345 private readonly static long NumVariablesDefaultValue = 0L;
346
347 private long numVariables_;
348 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
349 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
350 public long NumVariables {
351 get { if ((_hasBits0 & 1) != 0) { return numVariables_; } else { return NumVariablesDefaultValue; } }
352 set {
353 _hasBits0 |= 1;
354 numVariables_ = value;
355 }
356 }
358 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
359 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
360 public bool HasNumVariables {
361 get { return (_hasBits0 & 1) != 0; }
362 }
364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
365 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
366 public void ClearNumVariables() {
367 _hasBits0 &= ~1;
368 }
369
371 public const int NumConstraintsFieldNumber = 2;
372 private readonly static long NumConstraintsDefaultValue = 0L;
373
374 private long numConstraints_;
375 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
376 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
377 public long NumConstraints {
378 get { if ((_hasBits0 & 2) != 0) { return numConstraints_; } else { return NumConstraintsDefaultValue; } }
379 set {
380 _hasBits0 |= 2;
381 numConstraints_ = value;
382 }
383 }
385 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
386 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
387 public bool HasNumConstraints {
388 get { return (_hasBits0 & 2) != 0; }
389 }
391 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
392 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
393 public void ClearNumConstraints() {
394 _hasBits0 &= ~2;
395 }
396
399 private readonly static double ConstraintMatrixColMinLInfNormDefaultValue = 0D;
400
401 private double constraintMatrixColMinLInfNorm_;
407 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
408 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
410 get { if ((_hasBits0 & 4) != 0) { return constraintMatrixColMinLInfNorm_; } else { return ConstraintMatrixColMinLInfNormDefaultValue; } }
411 set {
412 _hasBits0 |= 4;
413 constraintMatrixColMinLInfNorm_ = value;
414 }
415 }
417 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
418 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
420 get { return (_hasBits0 & 4) != 0; }
421 }
423 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
424 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
426 _hasBits0 &= ~4;
427 }
428
431 private readonly static double ConstraintMatrixRowMinLInfNormDefaultValue = 0D;
432
433 private double constraintMatrixRowMinLInfNorm_;
434 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
435 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
437 get { if ((_hasBits0 & 8) != 0) { return constraintMatrixRowMinLInfNorm_; } else { return ConstraintMatrixRowMinLInfNormDefaultValue; } }
438 set {
439 _hasBits0 |= 8;
440 constraintMatrixRowMinLInfNorm_ = value;
441 }
442 }
444 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
445 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
447 get { return (_hasBits0 & 8) != 0; }
448 }
450 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
451 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
453 _hasBits0 &= ~8;
454 }
455
458 private readonly static long ConstraintMatrixNumNonzerosDefaultValue = 0L;
459
460 private long constraintMatrixNumNonzeros_;
464 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
465 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
467 get { if ((_hasBits0 & 16) != 0) { return constraintMatrixNumNonzeros_; } else { return ConstraintMatrixNumNonzerosDefaultValue; } }
468 set {
469 _hasBits0 |= 16;
470 constraintMatrixNumNonzeros_ = value;
471 }
472 }
474 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
475 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
477 get { return (_hasBits0 & 16) != 0; }
478 }
480 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
481 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
483 _hasBits0 &= ~16;
484 }
485
488 private readonly static double ConstraintMatrixAbsMaxDefaultValue = 0D;
489
490 private double constraintMatrixAbsMax_;
499 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
500 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
502 get { if ((_hasBits0 & 32) != 0) { return constraintMatrixAbsMax_; } else { return ConstraintMatrixAbsMaxDefaultValue; } }
503 set {
504 _hasBits0 |= 32;
505 constraintMatrixAbsMax_ = value;
506 }
507 }
509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
510 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
512 get { return (_hasBits0 & 32) != 0; }
513 }
515 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
516 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
518 _hasBits0 &= ~32;
519 }
520
523 private readonly static double ConstraintMatrixAbsMinDefaultValue = 0D;
524
525 private double constraintMatrixAbsMin_;
526 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
527 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
529 get { if ((_hasBits0 & 64) != 0) { return constraintMatrixAbsMin_; } else { return ConstraintMatrixAbsMinDefaultValue; } }
530 set {
531 _hasBits0 |= 64;
532 constraintMatrixAbsMin_ = value;
533 }
534 }
536 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
537 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
539 get { return (_hasBits0 & 64) != 0; }
540 }
542 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
543 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
545 _hasBits0 &= ~64;
546 }
547
550 private readonly static double ConstraintMatrixAbsAvgDefaultValue = 0D;
551
552 private double constraintMatrixAbsAvg_;
553 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
554 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
556 get { if ((_hasBits0 & 128) != 0) { return constraintMatrixAbsAvg_; } else { return ConstraintMatrixAbsAvgDefaultValue; } }
557 set {
558 _hasBits0 |= 128;
559 constraintMatrixAbsAvg_ = value;
560 }
561 }
563 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
564 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
566 get { return (_hasBits0 & 128) != 0; }
567 }
569 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
570 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
572 _hasBits0 &= ~128;
573 }
574
577 private readonly static double ConstraintMatrixL2NormDefaultValue = 0D;
578
579 private double constraintMatrixL2Norm_;
580 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
581 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
583 get { if ((_hasBits0 & 16777216) != 0) { return constraintMatrixL2Norm_; } else { return ConstraintMatrixL2NormDefaultValue; } }
584 set {
585 _hasBits0 |= 16777216;
586 constraintMatrixL2Norm_ = value;
587 }
588 }
590 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
591 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
593 get { return (_hasBits0 & 16777216) != 0; }
594 }
596 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
597 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
599 _hasBits0 &= ~16777216;
600 }
601
603 public const int CombinedBoundsMaxFieldNumber = 9;
604 private readonly static double CombinedBoundsMaxDefaultValue = 0D;
605
606 private double combinedBoundsMax_;
616 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
617 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
618 public double CombinedBoundsMax {
619 get { if ((_hasBits0 & 256) != 0) { return combinedBoundsMax_; } else { return CombinedBoundsMaxDefaultValue; } }
620 set {
621 _hasBits0 |= 256;
622 combinedBoundsMax_ = value;
623 }
624 }
626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
627 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
629 get { return (_hasBits0 & 256) != 0; }
630 }
632 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
633 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
635 _hasBits0 &= ~256;
636 }
637
639 public const int CombinedBoundsMinFieldNumber = 10;
640 private readonly static double CombinedBoundsMinDefaultValue = 0D;
641
642 private double combinedBoundsMin_;
643 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
644 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
645 public double CombinedBoundsMin {
646 get { if ((_hasBits0 & 512) != 0) { return combinedBoundsMin_; } else { return CombinedBoundsMinDefaultValue; } }
647 set {
648 _hasBits0 |= 512;
649 combinedBoundsMin_ = value;
650 }
651 }
653 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
654 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
656 get { return (_hasBits0 & 512) != 0; }
657 }
659 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
660 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
662 _hasBits0 &= ~512;
663 }
664
666 public const int CombinedBoundsAvgFieldNumber = 11;
667 private readonly static double CombinedBoundsAvgDefaultValue = 0D;
668
669 private double combinedBoundsAvg_;
670 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
671 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
672 public double CombinedBoundsAvg {
673 get { if ((_hasBits0 & 1024) != 0) { return combinedBoundsAvg_; } else { return CombinedBoundsAvgDefaultValue; } }
674 set {
675 _hasBits0 |= 1024;
676 combinedBoundsAvg_ = value;
677 }
678 }
680 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
681 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
683 get { return (_hasBits0 & 1024) != 0; }
684 }
686 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
687 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
689 _hasBits0 &= ~1024;
690 }
691
693 public const int CombinedBoundsL2NormFieldNumber = 24;
694 private readonly static double CombinedBoundsL2NormDefaultValue = 0D;
695
696 private double combinedBoundsL2Norm_;
697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
698 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
699 public double CombinedBoundsL2Norm {
700 get { if ((_hasBits0 & 8388608) != 0) { return combinedBoundsL2Norm_; } else { return CombinedBoundsL2NormDefaultValue; } }
701 set {
702 _hasBits0 |= 8388608;
703 combinedBoundsL2Norm_ = value;
704 }
705 }
707 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
708 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
710 get { return (_hasBits0 & 8388608) != 0; }
711 }
713 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
714 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
716 _hasBits0 &= ~8388608;
717 }
718
721 private readonly static double CombinedVariableBoundsMaxDefaultValue = 0D;
722
723 private double combinedVariableBoundsMax_;
731 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
732 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
734 get { if ((_hasBits0 & 134217728) != 0) { return combinedVariableBoundsMax_; } else { return CombinedVariableBoundsMaxDefaultValue; } }
735 set {
736 _hasBits0 |= 134217728;
737 combinedVariableBoundsMax_ = value;
738 }
739 }
741 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
742 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
744 get { return (_hasBits0 & 134217728) != 0; }
745 }
747 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
748 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
750 _hasBits0 &= ~134217728;
751 }
752
755 private readonly static double CombinedVariableBoundsMinDefaultValue = 0D;
756
757 private double combinedVariableBoundsMin_;
758 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
759 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
761 get { if ((_hasBits0 & 268435456) != 0) { return combinedVariableBoundsMin_; } else { return CombinedVariableBoundsMinDefaultValue; } }
762 set {
763 _hasBits0 |= 268435456;
764 combinedVariableBoundsMin_ = value;
765 }
766 }
768 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
769 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
771 get { return (_hasBits0 & 268435456) != 0; }
772 }
774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
775 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
777 _hasBits0 &= ~268435456;
778 }
779
782 private readonly static double CombinedVariableBoundsAvgDefaultValue = 0D;
783
784 private double combinedVariableBoundsAvg_;
785 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
786 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
788 get { if ((_hasBits0 & 536870912) != 0) { return combinedVariableBoundsAvg_; } else { return CombinedVariableBoundsAvgDefaultValue; } }
789 set {
790 _hasBits0 |= 536870912;
791 combinedVariableBoundsAvg_ = value;
792 }
793 }
795 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
796 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
798 get { return (_hasBits0 & 536870912) != 0; }
799 }
801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
802 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
804 _hasBits0 &= ~536870912;
805 }
806
809 private readonly static double CombinedVariableBoundsL2NormDefaultValue = 0D;
810
811 private double combinedVariableBoundsL2Norm_;
812 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
813 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
815 get { if ((_hasBits0 & 1073741824) != 0) { return combinedVariableBoundsL2Norm_; } else { return CombinedVariableBoundsL2NormDefaultValue; } }
816 set {
817 _hasBits0 |= 1073741824;
818 combinedVariableBoundsL2Norm_ = value;
819 }
820 }
822 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
823 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
825 get { return (_hasBits0 & 1073741824) != 0; }
826 }
828 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
829 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
831 _hasBits0 &= ~1073741824;
832 }
833
836 private readonly static long VariableBoundGapsNumFiniteDefaultValue = 0L;
837
838 private long variableBoundGapsNumFinite_;
843 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
844 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
846 get { if ((_hasBits0 & 2048) != 0) { return variableBoundGapsNumFinite_; } else { return VariableBoundGapsNumFiniteDefaultValue; } }
847 set {
848 _hasBits0 |= 2048;
849 variableBoundGapsNumFinite_ = value;
850 }
851 }
853 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
854 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
856 get { return (_hasBits0 & 2048) != 0; }
857 }
859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
860 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
862 _hasBits0 &= ~2048;
863 }
864
866 public const int VariableBoundGapsMaxFieldNumber = 13;
867 private readonly static double VariableBoundGapsMaxDefaultValue = 0D;
868
869 private double variableBoundGapsMax_;
876 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
877 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
878 public double VariableBoundGapsMax {
879 get { if ((_hasBits0 & 4096) != 0) { return variableBoundGapsMax_; } else { return VariableBoundGapsMaxDefaultValue; } }
880 set {
881 _hasBits0 |= 4096;
882 variableBoundGapsMax_ = value;
883 }
884 }
886 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
887 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
889 get { return (_hasBits0 & 4096) != 0; }
890 }
892 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
893 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
895 _hasBits0 &= ~4096;
896 }
897
899 public const int VariableBoundGapsMinFieldNumber = 14;
900 private readonly static double VariableBoundGapsMinDefaultValue = 0D;
901
902 private double variableBoundGapsMin_;
903 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
904 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
905 public double VariableBoundGapsMin {
906 get { if ((_hasBits0 & 8192) != 0) { return variableBoundGapsMin_; } else { return VariableBoundGapsMinDefaultValue; } }
907 set {
908 _hasBits0 |= 8192;
909 variableBoundGapsMin_ = value;
910 }
911 }
913 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
914 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
916 get { return (_hasBits0 & 8192) != 0; }
917 }
919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
920 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
922 _hasBits0 &= ~8192;
923 }
924
926 public const int VariableBoundGapsAvgFieldNumber = 15;
927 private readonly static double VariableBoundGapsAvgDefaultValue = 0D;
928
929 private double variableBoundGapsAvg_;
930 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
931 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
932 public double VariableBoundGapsAvg {
933 get { if ((_hasBits0 & 16384) != 0) { return variableBoundGapsAvg_; } else { return VariableBoundGapsAvgDefaultValue; } }
934 set {
935 _hasBits0 |= 16384;
936 variableBoundGapsAvg_ = value;
937 }
938 }
940 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
941 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
943 get { return (_hasBits0 & 16384) != 0; }
944 }
946 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
947 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
949 _hasBits0 &= ~16384;
950 }
951
954 private readonly static double VariableBoundGapsL2NormDefaultValue = 0D;
955
956 private double variableBoundGapsL2Norm_;
957 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
958 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
960 get { if ((_hasBits0 & 33554432) != 0) { return variableBoundGapsL2Norm_; } else { return VariableBoundGapsL2NormDefaultValue; } }
961 set {
962 _hasBits0 |= 33554432;
963 variableBoundGapsL2Norm_ = value;
964 }
965 }
967 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
968 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
970 get { return (_hasBits0 & 33554432) != 0; }
971 }
973 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
974 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
976 _hasBits0 &= ~33554432;
977 }
978
980 public const int ObjectiveVectorAbsMaxFieldNumber = 16;
981 private readonly static double ObjectiveVectorAbsMaxDefaultValue = 0D;
982
983 private double objectiveVectorAbsMax_;
987 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
988 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
989 public double ObjectiveVectorAbsMax {
990 get { if ((_hasBits0 & 32768) != 0) { return objectiveVectorAbsMax_; } else { return ObjectiveVectorAbsMaxDefaultValue; } }
991 set {
992 _hasBits0 |= 32768;
993 objectiveVectorAbsMax_ = value;
994 }
995 }
997 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
998 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1000 get { return (_hasBits0 & 32768) != 0; }
1001 }
1003 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1004 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1006 _hasBits0 &= ~32768;
1007 }
1008
1011 private readonly static double ObjectiveVectorAbsMinDefaultValue = 0D;
1012
1013 private double objectiveVectorAbsMin_;
1014 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1015 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1017 get { if ((_hasBits0 & 65536) != 0) { return objectiveVectorAbsMin_; } else { return ObjectiveVectorAbsMinDefaultValue; } }
1018 set {
1019 _hasBits0 |= 65536;
1020 objectiveVectorAbsMin_ = value;
1021 }
1022 }
1024 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1025 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1027 get { return (_hasBits0 & 65536) != 0; }
1028 }
1030 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1031 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1033 _hasBits0 &= ~65536;
1034 }
1035
1038 private readonly static double ObjectiveVectorAbsAvgDefaultValue = 0D;
1039
1040 private double objectiveVectorAbsAvg_;
1041 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1042 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1044 get { if ((_hasBits0 & 131072) != 0) { return objectiveVectorAbsAvg_; } else { return ObjectiveVectorAbsAvgDefaultValue; } }
1045 set {
1046 _hasBits0 |= 131072;
1047 objectiveVectorAbsAvg_ = value;
1048 }
1049 }
1051 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1052 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1054 get { return (_hasBits0 & 131072) != 0; }
1055 }
1057 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1058 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1060 _hasBits0 &= ~131072;
1061 }
1062
1065 private readonly static double ObjectiveVectorL2NormDefaultValue = 0D;
1066
1067 private double objectiveVectorL2Norm_;
1068 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1069 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1071 get { if ((_hasBits0 & 4194304) != 0) { return objectiveVectorL2Norm_; } else { return ObjectiveVectorL2NormDefaultValue; } }
1072 set {
1073 _hasBits0 |= 4194304;
1074 objectiveVectorL2Norm_ = value;
1075 }
1076 }
1078 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1079 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1081 get { return (_hasBits0 & 4194304) != 0; }
1082 }
1084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1085 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1087 _hasBits0 &= ~4194304;
1088 }
1089
1092 private readonly static long ObjectiveMatrixNumNonzerosDefaultValue = 0L;
1093
1094 private long objectiveMatrixNumNonzeros_;
1095 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1096 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1098 get { if ((_hasBits0 & 262144) != 0) { return objectiveMatrixNumNonzeros_; } else { return ObjectiveMatrixNumNonzerosDefaultValue; } }
1099 set {
1100 _hasBits0 |= 262144;
1101 objectiveMatrixNumNonzeros_ = value;
1102 }
1103 }
1105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1106 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1108 get { return (_hasBits0 & 262144) != 0; }
1109 }
1111 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1112 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1114 _hasBits0 &= ~262144;
1115 }
1116
1119 private readonly static double ObjectiveMatrixAbsMaxDefaultValue = 0D;
1120
1121 private double objectiveMatrixAbsMax_;
1127 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1128 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1130 get { if ((_hasBits0 & 524288) != 0) { return objectiveMatrixAbsMax_; } else { return ObjectiveMatrixAbsMaxDefaultValue; } }
1131 set {
1132 _hasBits0 |= 524288;
1133 objectiveMatrixAbsMax_ = value;
1134 }
1135 }
1137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1138 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1140 get { return (_hasBits0 & 524288) != 0; }
1141 }
1143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1144 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1146 _hasBits0 &= ~524288;
1147 }
1148
1151 private readonly static double ObjectiveMatrixAbsMinDefaultValue = 0D;
1152
1153 private double objectiveMatrixAbsMin_;
1154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1155 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1157 get { if ((_hasBits0 & 1048576) != 0) { return objectiveMatrixAbsMin_; } else { return ObjectiveMatrixAbsMinDefaultValue; } }
1158 set {
1159 _hasBits0 |= 1048576;
1160 objectiveMatrixAbsMin_ = value;
1161 }
1162 }
1164 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1165 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1167 get { return (_hasBits0 & 1048576) != 0; }
1168 }
1170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1171 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1173 _hasBits0 &= ~1048576;
1174 }
1175
1178 private readonly static double ObjectiveMatrixAbsAvgDefaultValue = 0D;
1179
1180 private double objectiveMatrixAbsAvg_;
1181 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1182 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1184 get { if ((_hasBits0 & 2097152) != 0) { return objectiveMatrixAbsAvg_; } else { return ObjectiveMatrixAbsAvgDefaultValue; } }
1185 set {
1186 _hasBits0 |= 2097152;
1187 objectiveMatrixAbsAvg_ = value;
1188 }
1189 }
1191 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1192 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1194 get { return (_hasBits0 & 2097152) != 0; }
1195 }
1197 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1198 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1200 _hasBits0 &= ~2097152;
1201 }
1202
1205 private readonly static double ObjectiveMatrixL2NormDefaultValue = 0D;
1206
1207 private double objectiveMatrixL2Norm_;
1208 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1209 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1211 get { if ((_hasBits0 & 67108864) != 0) { return objectiveMatrixL2Norm_; } else { return ObjectiveMatrixL2NormDefaultValue; } }
1212 set {
1213 _hasBits0 |= 67108864;
1214 objectiveMatrixL2Norm_ = value;
1215 }
1216 }
1218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1219 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1221 get { return (_hasBits0 & 67108864) != 0; }
1222 }
1224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1225 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1227 _hasBits0 &= ~67108864;
1228 }
1229
1230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1231 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1232 public override bool Equals(object other) {
1233 return Equals(other as QuadraticProgramStats);
1234 }
1235
1236 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1237 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1238 public bool Equals(QuadraticProgramStats other) {
1239 if (ReferenceEquals(other, null)) {
1240 return false;
1241 }
1242 if (ReferenceEquals(other, this)) {
1243 return true;
1244 }
1245 if (NumVariables != other.NumVariables) return false;
1246 if (NumConstraints != other.NumConstraints) return false;
1247 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ConstraintMatrixColMinLInfNorm, other.ConstraintMatrixColMinLInfNorm)) return false;
1248 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ConstraintMatrixRowMinLInfNorm, other.ConstraintMatrixRowMinLInfNorm)) return false;
1250 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ConstraintMatrixAbsMax, other.ConstraintMatrixAbsMax)) return false;
1251 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ConstraintMatrixAbsMin, other.ConstraintMatrixAbsMin)) return false;
1252 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ConstraintMatrixAbsAvg, other.ConstraintMatrixAbsAvg)) return false;
1253 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ConstraintMatrixL2Norm, other.ConstraintMatrixL2Norm)) return false;
1254 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CombinedBoundsMax, other.CombinedBoundsMax)) return false;
1255 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CombinedBoundsMin, other.CombinedBoundsMin)) return false;
1256 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CombinedBoundsAvg, other.CombinedBoundsAvg)) return false;
1257 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CombinedBoundsL2Norm, other.CombinedBoundsL2Norm)) return false;
1258 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CombinedVariableBoundsMax, other.CombinedVariableBoundsMax)) return false;
1259 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CombinedVariableBoundsMin, other.CombinedVariableBoundsMin)) return false;
1260 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CombinedVariableBoundsAvg, other.CombinedVariableBoundsAvg)) return false;
1261 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CombinedVariableBoundsL2Norm, other.CombinedVariableBoundsL2Norm)) return false;
1262 if (VariableBoundGapsNumFinite != other.VariableBoundGapsNumFinite) return false;
1263 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(VariableBoundGapsMax, other.VariableBoundGapsMax)) return false;
1264 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(VariableBoundGapsMin, other.VariableBoundGapsMin)) return false;
1265 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(VariableBoundGapsAvg, other.VariableBoundGapsAvg)) return false;
1266 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(VariableBoundGapsL2Norm, other.VariableBoundGapsL2Norm)) return false;
1267 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveVectorAbsMax, other.ObjectiveVectorAbsMax)) return false;
1268 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveVectorAbsMin, other.ObjectiveVectorAbsMin)) return false;
1269 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveVectorAbsAvg, other.ObjectiveVectorAbsAvg)) return false;
1270 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveVectorL2Norm, other.ObjectiveVectorL2Norm)) return false;
1271 if (ObjectiveMatrixNumNonzeros != other.ObjectiveMatrixNumNonzeros) return false;
1272 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveMatrixAbsMax, other.ObjectiveMatrixAbsMax)) return false;
1273 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveMatrixAbsMin, other.ObjectiveMatrixAbsMin)) return false;
1274 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveMatrixAbsAvg, other.ObjectiveMatrixAbsAvg)) return false;
1275 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveMatrixL2Norm, other.ObjectiveMatrixL2Norm)) return false;
1276 return Equals(_unknownFields, other._unknownFields);
1277 }
1278
1279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1280 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1281 public override int GetHashCode() {
1282 int hash = 1;
1283 if (HasNumVariables) hash ^= NumVariables.GetHashCode();
1284 if (HasNumConstraints) hash ^= NumConstraints.GetHashCode();
1285 if (HasConstraintMatrixColMinLInfNorm) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ConstraintMatrixColMinLInfNorm);
1286 if (HasConstraintMatrixRowMinLInfNorm) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ConstraintMatrixRowMinLInfNorm);
1288 if (HasConstraintMatrixAbsMax) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ConstraintMatrixAbsMax);
1289 if (HasConstraintMatrixAbsMin) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ConstraintMatrixAbsMin);
1290 if (HasConstraintMatrixAbsAvg) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ConstraintMatrixAbsAvg);
1291 if (HasConstraintMatrixL2Norm) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ConstraintMatrixL2Norm);
1292 if (HasCombinedBoundsMax) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CombinedBoundsMax);
1293 if (HasCombinedBoundsMin) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CombinedBoundsMin);
1294 if (HasCombinedBoundsAvg) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CombinedBoundsAvg);
1295 if (HasCombinedBoundsL2Norm) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CombinedBoundsL2Norm);
1296 if (HasCombinedVariableBoundsMax) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CombinedVariableBoundsMax);
1297 if (HasCombinedVariableBoundsMin) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CombinedVariableBoundsMin);
1298 if (HasCombinedVariableBoundsAvg) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CombinedVariableBoundsAvg);
1299 if (HasCombinedVariableBoundsL2Norm) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CombinedVariableBoundsL2Norm);
1301 if (HasVariableBoundGapsMax) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(VariableBoundGapsMax);
1302 if (HasVariableBoundGapsMin) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(VariableBoundGapsMin);
1303 if (HasVariableBoundGapsAvg) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(VariableBoundGapsAvg);
1304 if (HasVariableBoundGapsL2Norm) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(VariableBoundGapsL2Norm);
1305 if (HasObjectiveVectorAbsMax) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ObjectiveVectorAbsMax);
1306 if (HasObjectiveVectorAbsMin) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ObjectiveVectorAbsMin);
1307 if (HasObjectiveVectorAbsAvg) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ObjectiveVectorAbsAvg);
1308 if (HasObjectiveVectorL2Norm) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ObjectiveVectorL2Norm);
1310 if (HasObjectiveMatrixAbsMax) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ObjectiveMatrixAbsMax);
1311 if (HasObjectiveMatrixAbsMin) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ObjectiveMatrixAbsMin);
1312 if (HasObjectiveMatrixAbsAvg) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ObjectiveMatrixAbsAvg);
1313 if (HasObjectiveMatrixL2Norm) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ObjectiveMatrixL2Norm);
1314 if (_unknownFields != null) {
1315 hash ^= _unknownFields.GetHashCode();
1316 }
1317 return hash;
1318 }
1319
1320 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1321 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1322 public override string ToString() {
1323 return pb::JsonFormatter.ToDiagnosticString(this);
1324 }
1325
1326 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1327 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1328 public void WriteTo(pb::CodedOutputStream output) {
1329 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1330 output.WriteRawMessage(this);
1331 #else
1332 if (HasNumVariables) {
1333 output.WriteRawTag(8);
1334 output.WriteInt64(NumVariables);
1335 }
1336 if (HasNumConstraints) {
1337 output.WriteRawTag(16);
1338 output.WriteInt64(NumConstraints);
1339 }
1341 output.WriteRawTag(25);
1342 output.WriteDouble(ConstraintMatrixColMinLInfNorm);
1343 }
1345 output.WriteRawTag(33);
1346 output.WriteDouble(ConstraintMatrixRowMinLInfNorm);
1347 }
1349 output.WriteRawTag(40);
1350 output.WriteInt64(ConstraintMatrixNumNonzeros);
1351 }
1353 output.WriteRawTag(49);
1354 output.WriteDouble(ConstraintMatrixAbsMax);
1355 }
1357 output.WriteRawTag(57);
1358 output.WriteDouble(ConstraintMatrixAbsMin);
1359 }
1361 output.WriteRawTag(65);
1362 output.WriteDouble(ConstraintMatrixAbsAvg);
1363 }
1365 output.WriteRawTag(73);
1366 output.WriteDouble(CombinedBoundsMax);
1367 }
1369 output.WriteRawTag(81);
1370 output.WriteDouble(CombinedBoundsMin);
1371 }
1373 output.WriteRawTag(89);
1374 output.WriteDouble(CombinedBoundsAvg);
1375 }
1377 output.WriteRawTag(96);
1378 output.WriteInt64(VariableBoundGapsNumFinite);
1379 }
1381 output.WriteRawTag(105);
1382 output.WriteDouble(VariableBoundGapsMax);
1383 }
1385 output.WriteRawTag(113);
1386 output.WriteDouble(VariableBoundGapsMin);
1387 }
1389 output.WriteRawTag(121);
1390 output.WriteDouble(VariableBoundGapsAvg);
1391 }
1393 output.WriteRawTag(129, 1);
1394 output.WriteDouble(ObjectiveVectorAbsMax);
1395 }
1397 output.WriteRawTag(137, 1);
1398 output.WriteDouble(ObjectiveVectorAbsMin);
1399 }
1401 output.WriteRawTag(145, 1);
1402 output.WriteDouble(ObjectiveVectorAbsAvg);
1403 }
1405 output.WriteRawTag(152, 1);
1406 output.WriteInt64(ObjectiveMatrixNumNonzeros);
1407 }
1409 output.WriteRawTag(161, 1);
1410 output.WriteDouble(ObjectiveMatrixAbsMax);
1411 }
1413 output.WriteRawTag(169, 1);
1414 output.WriteDouble(ObjectiveMatrixAbsMin);
1415 }
1417 output.WriteRawTag(177, 1);
1418 output.WriteDouble(ObjectiveMatrixAbsAvg);
1419 }
1421 output.WriteRawTag(185, 1);
1422 output.WriteDouble(ObjectiveVectorL2Norm);
1423 }
1425 output.WriteRawTag(193, 1);
1426 output.WriteDouble(CombinedBoundsL2Norm);
1427 }
1429 output.WriteRawTag(201, 1);
1430 output.WriteDouble(ConstraintMatrixL2Norm);
1431 }
1433 output.WriteRawTag(209, 1);
1434 output.WriteDouble(VariableBoundGapsL2Norm);
1435 }
1437 output.WriteRawTag(217, 1);
1438 output.WriteDouble(ObjectiveMatrixL2Norm);
1439 }
1441 output.WriteRawTag(225, 1);
1442 output.WriteDouble(CombinedVariableBoundsMax);
1443 }
1445 output.WriteRawTag(233, 1);
1446 output.WriteDouble(CombinedVariableBoundsMin);
1447 }
1449 output.WriteRawTag(241, 1);
1450 output.WriteDouble(CombinedVariableBoundsAvg);
1451 }
1453 output.WriteRawTag(249, 1);
1454 output.WriteDouble(CombinedVariableBoundsL2Norm);
1455 }
1456 if (_unknownFields != null) {
1457 _unknownFields.WriteTo(output);
1458 }
1459 #endif
1460 }
1461
1462 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1463 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1464 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1465 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1466 if (HasNumVariables) {
1467 output.WriteRawTag(8);
1468 output.WriteInt64(NumVariables);
1469 }
1470 if (HasNumConstraints) {
1471 output.WriteRawTag(16);
1472 output.WriteInt64(NumConstraints);
1473 }
1475 output.WriteRawTag(25);
1476 output.WriteDouble(ConstraintMatrixColMinLInfNorm);
1477 }
1479 output.WriteRawTag(33);
1480 output.WriteDouble(ConstraintMatrixRowMinLInfNorm);
1481 }
1483 output.WriteRawTag(40);
1484 output.WriteInt64(ConstraintMatrixNumNonzeros);
1485 }
1487 output.WriteRawTag(49);
1488 output.WriteDouble(ConstraintMatrixAbsMax);
1489 }
1491 output.WriteRawTag(57);
1492 output.WriteDouble(ConstraintMatrixAbsMin);
1493 }
1495 output.WriteRawTag(65);
1496 output.WriteDouble(ConstraintMatrixAbsAvg);
1497 }
1499 output.WriteRawTag(73);
1500 output.WriteDouble(CombinedBoundsMax);
1501 }
1503 output.WriteRawTag(81);
1504 output.WriteDouble(CombinedBoundsMin);
1505 }
1507 output.WriteRawTag(89);
1508 output.WriteDouble(CombinedBoundsAvg);
1509 }
1511 output.WriteRawTag(96);
1512 output.WriteInt64(VariableBoundGapsNumFinite);
1513 }
1515 output.WriteRawTag(105);
1516 output.WriteDouble(VariableBoundGapsMax);
1517 }
1519 output.WriteRawTag(113);
1520 output.WriteDouble(VariableBoundGapsMin);
1521 }
1523 output.WriteRawTag(121);
1524 output.WriteDouble(VariableBoundGapsAvg);
1525 }
1527 output.WriteRawTag(129, 1);
1528 output.WriteDouble(ObjectiveVectorAbsMax);
1529 }
1531 output.WriteRawTag(137, 1);
1532 output.WriteDouble(ObjectiveVectorAbsMin);
1533 }
1535 output.WriteRawTag(145, 1);
1536 output.WriteDouble(ObjectiveVectorAbsAvg);
1537 }
1539 output.WriteRawTag(152, 1);
1540 output.WriteInt64(ObjectiveMatrixNumNonzeros);
1541 }
1543 output.WriteRawTag(161, 1);
1544 output.WriteDouble(ObjectiveMatrixAbsMax);
1545 }
1547 output.WriteRawTag(169, 1);
1548 output.WriteDouble(ObjectiveMatrixAbsMin);
1549 }
1551 output.WriteRawTag(177, 1);
1552 output.WriteDouble(ObjectiveMatrixAbsAvg);
1553 }
1555 output.WriteRawTag(185, 1);
1556 output.WriteDouble(ObjectiveVectorL2Norm);
1557 }
1559 output.WriteRawTag(193, 1);
1560 output.WriteDouble(CombinedBoundsL2Norm);
1561 }
1563 output.WriteRawTag(201, 1);
1564 output.WriteDouble(ConstraintMatrixL2Norm);
1565 }
1567 output.WriteRawTag(209, 1);
1568 output.WriteDouble(VariableBoundGapsL2Norm);
1569 }
1571 output.WriteRawTag(217, 1);
1572 output.WriteDouble(ObjectiveMatrixL2Norm);
1573 }
1575 output.WriteRawTag(225, 1);
1576 output.WriteDouble(CombinedVariableBoundsMax);
1577 }
1579 output.WriteRawTag(233, 1);
1580 output.WriteDouble(CombinedVariableBoundsMin);
1581 }
1583 output.WriteRawTag(241, 1);
1584 output.WriteDouble(CombinedVariableBoundsAvg);
1585 }
1587 output.WriteRawTag(249, 1);
1588 output.WriteDouble(CombinedVariableBoundsL2Norm);
1589 }
1590 if (_unknownFields != null) {
1591 _unknownFields.WriteTo(ref output);
1592 }
1593 }
1594 #endif
1595
1596 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1597 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1598 public int CalculateSize() {
1599 int size = 0;
1600 if (HasNumVariables) {
1601 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumVariables);
1602 }
1603 if (HasNumConstraints) {
1604 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumConstraints);
1605 }
1607 size += 1 + 8;
1608 }
1610 size += 1 + 8;
1611 }
1613 size += 1 + pb::CodedOutputStream.ComputeInt64Size(ConstraintMatrixNumNonzeros);
1614 }
1616 size += 1 + 8;
1617 }
1619 size += 1 + 8;
1620 }
1622 size += 1 + 8;
1623 }
1625 size += 2 + 8;
1626 }
1628 size += 1 + 8;
1629 }
1631 size += 1 + 8;
1632 }
1634 size += 1 + 8;
1635 }
1637 size += 2 + 8;
1638 }
1640 size += 2 + 8;
1641 }
1643 size += 2 + 8;
1644 }
1646 size += 2 + 8;
1647 }
1649 size += 2 + 8;
1650 }
1652 size += 1 + pb::CodedOutputStream.ComputeInt64Size(VariableBoundGapsNumFinite);
1653 }
1655 size += 1 + 8;
1656 }
1658 size += 1 + 8;
1659 }
1661 size += 1 + 8;
1662 }
1664 size += 2 + 8;
1665 }
1667 size += 2 + 8;
1668 }
1670 size += 2 + 8;
1671 }
1673 size += 2 + 8;
1674 }
1676 size += 2 + 8;
1677 }
1679 size += 2 + pb::CodedOutputStream.ComputeInt64Size(ObjectiveMatrixNumNonzeros);
1680 }
1682 size += 2 + 8;
1683 }
1685 size += 2 + 8;
1686 }
1688 size += 2 + 8;
1689 }
1691 size += 2 + 8;
1692 }
1693 if (_unknownFields != null) {
1694 size += _unknownFields.CalculateSize();
1695 }
1696 return size;
1697 }
1698
1699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1700 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1702 if (other == null) {
1703 return;
1704 }
1705 if (other.HasNumVariables) {
1706 NumVariables = other.NumVariables;
1707 }
1708 if (other.HasNumConstraints) {
1710 }
1713 }
1716 }
1719 }
1720 if (other.HasConstraintMatrixAbsMax) {
1722 }
1723 if (other.HasConstraintMatrixAbsMin) {
1725 }
1726 if (other.HasConstraintMatrixAbsAvg) {
1728 }
1729 if (other.HasConstraintMatrixL2Norm) {
1731 }
1732 if (other.HasCombinedBoundsMax) {
1734 }
1735 if (other.HasCombinedBoundsMin) {
1737 }
1738 if (other.HasCombinedBoundsAvg) {
1740 }
1741 if (other.HasCombinedBoundsL2Norm) {
1743 }
1744 if (other.HasCombinedVariableBoundsMax) {
1746 }
1747 if (other.HasCombinedVariableBoundsMin) {
1749 }
1750 if (other.HasCombinedVariableBoundsAvg) {
1752 }
1755 }
1758 }
1759 if (other.HasVariableBoundGapsMax) {
1761 }
1762 if (other.HasVariableBoundGapsMin) {
1764 }
1765 if (other.HasVariableBoundGapsAvg) {
1767 }
1768 if (other.HasVariableBoundGapsL2Norm) {
1770 }
1771 if (other.HasObjectiveVectorAbsMax) {
1773 }
1774 if (other.HasObjectiveVectorAbsMin) {
1776 }
1777 if (other.HasObjectiveVectorAbsAvg) {
1779 }
1780 if (other.HasObjectiveVectorL2Norm) {
1782 }
1785 }
1786 if (other.HasObjectiveMatrixAbsMax) {
1788 }
1789 if (other.HasObjectiveMatrixAbsMin) {
1791 }
1792 if (other.HasObjectiveMatrixAbsAvg) {
1794 }
1795 if (other.HasObjectiveMatrixL2Norm) {
1797 }
1798 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1799 }
1800
1801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1802 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1803 public void MergeFrom(pb::CodedInputStream input) {
1804 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1805 input.ReadRawMessage(this);
1806 #else
1807 uint tag;
1808 while ((tag = input.ReadTag()) != 0) {
1809 switch(tag) {
1810 default:
1811 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1812 break;
1813 case 8: {
1814 NumVariables = input.ReadInt64();
1815 break;
1816 }
1817 case 16: {
1818 NumConstraints = input.ReadInt64();
1819 break;
1820 }
1821 case 25: {
1822 ConstraintMatrixColMinLInfNorm = input.ReadDouble();
1823 break;
1824 }
1825 case 33: {
1826 ConstraintMatrixRowMinLInfNorm = input.ReadDouble();
1827 break;
1828 }
1829 case 40: {
1830 ConstraintMatrixNumNonzeros = input.ReadInt64();
1831 break;
1832 }
1833 case 49: {
1834 ConstraintMatrixAbsMax = input.ReadDouble();
1835 break;
1836 }
1837 case 57: {
1838 ConstraintMatrixAbsMin = input.ReadDouble();
1839 break;
1840 }
1841 case 65: {
1842 ConstraintMatrixAbsAvg = input.ReadDouble();
1843 break;
1844 }
1845 case 73: {
1846 CombinedBoundsMax = input.ReadDouble();
1847 break;
1848 }
1849 case 81: {
1850 CombinedBoundsMin = input.ReadDouble();
1851 break;
1852 }
1853 case 89: {
1854 CombinedBoundsAvg = input.ReadDouble();
1855 break;
1856 }
1857 case 96: {
1858 VariableBoundGapsNumFinite = input.ReadInt64();
1859 break;
1860 }
1861 case 105: {
1862 VariableBoundGapsMax = input.ReadDouble();
1863 break;
1864 }
1865 case 113: {
1866 VariableBoundGapsMin = input.ReadDouble();
1867 break;
1868 }
1869 case 121: {
1870 VariableBoundGapsAvg = input.ReadDouble();
1871 break;
1872 }
1873 case 129: {
1874 ObjectiveVectorAbsMax = input.ReadDouble();
1875 break;
1876 }
1877 case 137: {
1878 ObjectiveVectorAbsMin = input.ReadDouble();
1879 break;
1880 }
1881 case 145: {
1882 ObjectiveVectorAbsAvg = input.ReadDouble();
1883 break;
1884 }
1885 case 152: {
1886 ObjectiveMatrixNumNonzeros = input.ReadInt64();
1887 break;
1888 }
1889 case 161: {
1890 ObjectiveMatrixAbsMax = input.ReadDouble();
1891 break;
1892 }
1893 case 169: {
1894 ObjectiveMatrixAbsMin = input.ReadDouble();
1895 break;
1896 }
1897 case 177: {
1898 ObjectiveMatrixAbsAvg = input.ReadDouble();
1899 break;
1900 }
1901 case 185: {
1902 ObjectiveVectorL2Norm = input.ReadDouble();
1903 break;
1904 }
1905 case 193: {
1906 CombinedBoundsL2Norm = input.ReadDouble();
1907 break;
1908 }
1909 case 201: {
1910 ConstraintMatrixL2Norm = input.ReadDouble();
1911 break;
1912 }
1913 case 209: {
1914 VariableBoundGapsL2Norm = input.ReadDouble();
1915 break;
1916 }
1917 case 217: {
1918 ObjectiveMatrixL2Norm = input.ReadDouble();
1919 break;
1920 }
1921 case 225: {
1922 CombinedVariableBoundsMax = input.ReadDouble();
1923 break;
1924 }
1925 case 233: {
1926 CombinedVariableBoundsMin = input.ReadDouble();
1927 break;
1928 }
1929 case 241: {
1930 CombinedVariableBoundsAvg = input.ReadDouble();
1931 break;
1932 }
1933 case 249: {
1934 CombinedVariableBoundsL2Norm = input.ReadDouble();
1935 break;
1936 }
1937 }
1938 }
1939 #endif
1940 }
1941
1942 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1943 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1944 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1945 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1946 uint tag;
1947 while ((tag = input.ReadTag()) != 0) {
1948 switch(tag) {
1949 default:
1950 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1951 break;
1952 case 8: {
1953 NumVariables = input.ReadInt64();
1954 break;
1955 }
1956 case 16: {
1957 NumConstraints = input.ReadInt64();
1958 break;
1959 }
1960 case 25: {
1961 ConstraintMatrixColMinLInfNorm = input.ReadDouble();
1962 break;
1963 }
1964 case 33: {
1965 ConstraintMatrixRowMinLInfNorm = input.ReadDouble();
1966 break;
1967 }
1968 case 40: {
1969 ConstraintMatrixNumNonzeros = input.ReadInt64();
1970 break;
1971 }
1972 case 49: {
1973 ConstraintMatrixAbsMax = input.ReadDouble();
1974 break;
1975 }
1976 case 57: {
1977 ConstraintMatrixAbsMin = input.ReadDouble();
1978 break;
1979 }
1980 case 65: {
1981 ConstraintMatrixAbsAvg = input.ReadDouble();
1982 break;
1983 }
1984 case 73: {
1985 CombinedBoundsMax = input.ReadDouble();
1986 break;
1987 }
1988 case 81: {
1989 CombinedBoundsMin = input.ReadDouble();
1990 break;
1991 }
1992 case 89: {
1993 CombinedBoundsAvg = input.ReadDouble();
1994 break;
1995 }
1996 case 96: {
1997 VariableBoundGapsNumFinite = input.ReadInt64();
1998 break;
1999 }
2000 case 105: {
2001 VariableBoundGapsMax = input.ReadDouble();
2002 break;
2003 }
2004 case 113: {
2005 VariableBoundGapsMin = input.ReadDouble();
2006 break;
2007 }
2008 case 121: {
2009 VariableBoundGapsAvg = input.ReadDouble();
2010 break;
2011 }
2012 case 129: {
2013 ObjectiveVectorAbsMax = input.ReadDouble();
2014 break;
2015 }
2016 case 137: {
2017 ObjectiveVectorAbsMin = input.ReadDouble();
2018 break;
2019 }
2020 case 145: {
2021 ObjectiveVectorAbsAvg = input.ReadDouble();
2022 break;
2023 }
2024 case 152: {
2025 ObjectiveMatrixNumNonzeros = input.ReadInt64();
2026 break;
2027 }
2028 case 161: {
2029 ObjectiveMatrixAbsMax = input.ReadDouble();
2030 break;
2031 }
2032 case 169: {
2033 ObjectiveMatrixAbsMin = input.ReadDouble();
2034 break;
2035 }
2036 case 177: {
2037 ObjectiveMatrixAbsAvg = input.ReadDouble();
2038 break;
2039 }
2040 case 185: {
2041 ObjectiveVectorL2Norm = input.ReadDouble();
2042 break;
2043 }
2044 case 193: {
2045 CombinedBoundsL2Norm = input.ReadDouble();
2046 break;
2047 }
2048 case 201: {
2049 ConstraintMatrixL2Norm = input.ReadDouble();
2050 break;
2051 }
2052 case 209: {
2053 VariableBoundGapsL2Norm = input.ReadDouble();
2054 break;
2055 }
2056 case 217: {
2057 ObjectiveMatrixL2Norm = input.ReadDouble();
2058 break;
2059 }
2060 case 225: {
2061 CombinedVariableBoundsMax = input.ReadDouble();
2062 break;
2063 }
2064 case 233: {
2065 CombinedVariableBoundsMin = input.ReadDouble();
2066 break;
2067 }
2068 case 241: {
2069 CombinedVariableBoundsAvg = input.ReadDouble();
2070 break;
2071 }
2072 case 249: {
2073 CombinedVariableBoundsL2Norm = input.ReadDouble();
2074 break;
2075 }
2076 }
2077 }
2078 }
2079 #endif
2080
2081 }
2082
2087 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
2088 public sealed partial class ConvergenceInformation : pb::IMessage<ConvergenceInformation>
2089 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2090 , pb::IBufferMessage
2091 #endif
2092 {
2093 private static readonly pb::MessageParser<ConvergenceInformation> _parser = new pb::MessageParser<ConvergenceInformation>(() => new ConvergenceInformation());
2094 private pb::UnknownFieldSet _unknownFields;
2095 private int _hasBits0;
2096 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2097 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2098 public static pb::MessageParser<ConvergenceInformation> Parser { get { return _parser; } }
2099
2100 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2101 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2102 public static pbr::MessageDescriptor Descriptor {
2103 get { return global::Google.OrTools.PDLP.SolveLogReflection.Descriptor.MessageTypes[1]; }
2104 }
2105
2106 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2107 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2108 pbr::MessageDescriptor pb::IMessage.Descriptor {
2109 get { return Descriptor; }
2110 }
2111
2112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2113 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2115 OnConstruction();
2116 }
2117
2118 partial void OnConstruction();
2119
2120 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2121 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2123 _hasBits0 = other._hasBits0;
2124 candidateType_ = other.candidateType_;
2125 primalObjective_ = other.primalObjective_;
2126 dualObjective_ = other.dualObjective_;
2127 correctedDualObjective_ = other.correctedDualObjective_;
2128 lInfPrimalResidual_ = other.lInfPrimalResidual_;
2129 l2PrimalResidual_ = other.l2PrimalResidual_;
2130 lInfComponentwisePrimalResidual_ = other.lInfComponentwisePrimalResidual_;
2131 lInfDualResidual_ = other.lInfDualResidual_;
2132 l2DualResidual_ = other.l2DualResidual_;
2133 lInfComponentwiseDualResidual_ = other.lInfComponentwiseDualResidual_;
2134 lInfPrimalVariable_ = other.lInfPrimalVariable_;
2135 l2PrimalVariable_ = other.l2PrimalVariable_;
2136 lInfDualVariable_ = other.lInfDualVariable_;
2137 l2DualVariable_ = other.l2DualVariable_;
2138 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2139 }
2140
2141 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2142 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2144 return new ConvergenceInformation(this);
2145 }
2146
2148 public const int CandidateTypeFieldNumber = 1;
2149 private readonly static global::Google.OrTools.PDLP.PointType CandidateTypeDefaultValue = global::Google.OrTools.PDLP.PointType.Unspecified;
2150
2151 private global::Google.OrTools.PDLP.PointType candidateType_;
2155 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2156 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2157 public global::Google.OrTools.PDLP.PointType CandidateType {
2158 get { if ((_hasBits0 & 1) != 0) { return candidateType_; } else { return CandidateTypeDefaultValue; } }
2159 set {
2160 _hasBits0 |= 1;
2161 candidateType_ = value;
2162 }
2163 }
2165 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2166 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2167 public bool HasCandidateType {
2168 get { return (_hasBits0 & 1) != 0; }
2169 }
2171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2172 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2173 public void ClearCandidateType() {
2174 _hasBits0 &= ~1;
2175 }
2176
2178 public const int PrimalObjectiveFieldNumber = 2;
2179 private readonly static double PrimalObjectiveDefaultValue = 0D;
2180
2181 private double primalObjective_;
2185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2186 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2187 public double PrimalObjective {
2188 get { if ((_hasBits0 & 2) != 0) { return primalObjective_; } else { return PrimalObjectiveDefaultValue; } }
2189 set {
2190 _hasBits0 |= 2;
2191 primalObjective_ = value;
2192 }
2193 }
2195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2196 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2197 public bool HasPrimalObjective {
2198 get { return (_hasBits0 & 2) != 0; }
2199 }
2201 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2202 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2203 public void ClearPrimalObjective() {
2204 _hasBits0 &= ~2;
2205 }
2206
2208 public const int DualObjectiveFieldNumber = 3;
2209 private readonly static double DualObjectiveDefaultValue = 0D;
2210
2211 private double dualObjective_;
2220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2221 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2222 public double DualObjective {
2223 get { if ((_hasBits0 & 4) != 0) { return dualObjective_; } else { return DualObjectiveDefaultValue; } }
2224 set {
2225 _hasBits0 |= 4;
2226 dualObjective_ = value;
2227 }
2228 }
2230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2231 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2232 public bool HasDualObjective {
2233 get { return (_hasBits0 & 4) != 0; }
2234 }
2236 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2237 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2238 public void ClearDualObjective() {
2239 _hasBits0 &= ~4;
2240 }
2241
2243 public const int CorrectedDualObjectiveFieldNumber = 4;
2244 private readonly static double CorrectedDualObjectiveDefaultValue = 0D;
2245
2246 private double correctedDualObjective_;
2252 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2253 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2254 public double CorrectedDualObjective {
2255 get { if ((_hasBits0 & 8) != 0) { return correctedDualObjective_; } else { return CorrectedDualObjectiveDefaultValue; } }
2256 set {
2257 _hasBits0 |= 8;
2258 correctedDualObjective_ = value;
2259 }
2260 }
2262 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2263 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2264 public bool HasCorrectedDualObjective {
2265 get { return (_hasBits0 & 8) != 0; }
2266 }
2268 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2269 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2271 _hasBits0 &= ~8;
2272 }
2273
2275 public const int LInfPrimalResidualFieldNumber = 5;
2276 private readonly static double LInfPrimalResidualDefaultValue = 0D;
2277
2278 private double lInfPrimalResidual_;
2283 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2284 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2285 public double LInfPrimalResidual {
2286 get { if ((_hasBits0 & 16) != 0) { return lInfPrimalResidual_; } else { return LInfPrimalResidualDefaultValue; } }
2287 set {
2288 _hasBits0 |= 16;
2289 lInfPrimalResidual_ = value;
2290 }
2291 }
2293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2294 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2295 public bool HasLInfPrimalResidual {
2296 get { return (_hasBits0 & 16) != 0; }
2297 }
2299 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2300 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2302 _hasBits0 &= ~16;
2303 }
2304
2306 public const int L2PrimalResidualFieldNumber = 6;
2307 private readonly static double L2PrimalResidualDefaultValue = 0D;
2308
2309 private double l2PrimalResidual_;
2313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2314 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2315 public double L2PrimalResidual {
2316 get { if ((_hasBits0 & 32) != 0) { return l2PrimalResidual_; } else { return L2PrimalResidualDefaultValue; } }
2317 set {
2318 _hasBits0 |= 32;
2319 l2PrimalResidual_ = value;
2320 }
2321 }
2323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2324 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2325 public bool HasL2PrimalResidual {
2326 get { return (_hasBits0 & 32) != 0; }
2327 }
2329 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2330 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2332 _hasBits0 &= ~32;
2333 }
2334
2336 public const int LInfComponentwisePrimalResidualFieldNumber = 24;
2337 private readonly static double LInfComponentwisePrimalResidualDefaultValue = 0D;
2338
2339 private double lInfComponentwisePrimalResidual_;
2347 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2348 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2349 public double LInfComponentwisePrimalResidual {
2350 get { if ((_hasBits0 & 4096) != 0) { return lInfComponentwisePrimalResidual_; } else { return LInfComponentwisePrimalResidualDefaultValue; } }
2351 set {
2352 _hasBits0 |= 4096;
2353 lInfComponentwisePrimalResidual_ = value;
2354 }
2355 }
2357 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2358 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2359 public bool HasLInfComponentwisePrimalResidual {
2360 get { return (_hasBits0 & 4096) != 0; }
2361 }
2363 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2364 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2366 _hasBits0 &= ~4096;
2367 }
2368
2370 public const int LInfDualResidualFieldNumber = 7;
2371 private readonly static double LInfDualResidualDefaultValue = 0D;
2372
2373 private double lInfDualResidual_;
2378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2379 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2380 public double LInfDualResidual {
2381 get { if ((_hasBits0 & 64) != 0) { return lInfDualResidual_; } else { return LInfDualResidualDefaultValue; } }
2382 set {
2383 _hasBits0 |= 64;
2384 lInfDualResidual_ = value;
2385 }
2386 }
2388 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2389 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2390 public bool HasLInfDualResidual {
2391 get { return (_hasBits0 & 64) != 0; }
2392 }
2394 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2395 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2397 _hasBits0 &= ~64;
2398 }
2399
2401 public const int L2DualResidualFieldNumber = 8;
2402 private readonly static double L2DualResidualDefaultValue = 0D;
2403
2404 private double l2DualResidual_;
2408 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2409 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2410 public double L2DualResidual {
2411 get { if ((_hasBits0 & 128) != 0) { return l2DualResidual_; } else { return L2DualResidualDefaultValue; } }
2412 set {
2413 _hasBits0 |= 128;
2414 l2DualResidual_ = value;
2415 }
2416 }
2418 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2419 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2420 public bool HasL2DualResidual {
2421 get { return (_hasBits0 & 128) != 0; }
2422 }
2424 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2425 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2426 public void ClearL2DualResidual() {
2427 _hasBits0 &= ~128;
2428 }
2429
2431 public const int LInfComponentwiseDualResidualFieldNumber = 25;
2432 private readonly static double LInfComponentwiseDualResidualDefaultValue = 0D;
2433
2434 private double lInfComponentwiseDualResidual_;
2441 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2442 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2443 public double LInfComponentwiseDualResidual {
2444 get { if ((_hasBits0 & 8192) != 0) { return lInfComponentwiseDualResidual_; } else { return LInfComponentwiseDualResidualDefaultValue; } }
2445 set {
2446 _hasBits0 |= 8192;
2447 lInfComponentwiseDualResidual_ = value;
2448 }
2449 }
2451 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2452 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2453 public bool HasLInfComponentwiseDualResidual {
2454 get { return (_hasBits0 & 8192) != 0; }
2455 }
2457 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2458 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2460 _hasBits0 &= ~8192;
2461 }
2462
2464 public const int LInfPrimalVariableFieldNumber = 14;
2465 private readonly static double LInfPrimalVariableDefaultValue = 0D;
2466
2467 private double lInfPrimalVariable_;
2474 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2475 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2476 public double LInfPrimalVariable {
2477 get { if ((_hasBits0 & 256) != 0) { return lInfPrimalVariable_; } else { return LInfPrimalVariableDefaultValue; } }
2478 set {
2479 _hasBits0 |= 256;
2480 lInfPrimalVariable_ = value;
2481 }
2482 }
2484 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2485 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2486 public bool HasLInfPrimalVariable {
2487 get { return (_hasBits0 & 256) != 0; }
2488 }
2490 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2491 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2493 _hasBits0 &= ~256;
2494 }
2495
2497 public const int L2PrimalVariableFieldNumber = 15;
2498 private readonly static double L2PrimalVariableDefaultValue = 0D;
2499
2500 private double l2PrimalVariable_;
2504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2505 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2506 public double L2PrimalVariable {
2507 get { if ((_hasBits0 & 512) != 0) { return l2PrimalVariable_; } else { return L2PrimalVariableDefaultValue; } }
2508 set {
2509 _hasBits0 |= 512;
2510 l2PrimalVariable_ = value;
2511 }
2512 }
2514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2515 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2516 public bool HasL2PrimalVariable {
2517 get { return (_hasBits0 & 512) != 0; }
2518 }
2520 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2521 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2523 _hasBits0 &= ~512;
2524 }
2525
2527 public const int LInfDualVariableFieldNumber = 16;
2528 private readonly static double LInfDualVariableDefaultValue = 0D;
2529
2530 private double lInfDualVariable_;
2537 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2538 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2539 public double LInfDualVariable {
2540 get { if ((_hasBits0 & 1024) != 0) { return lInfDualVariable_; } else { return LInfDualVariableDefaultValue; } }
2541 set {
2542 _hasBits0 |= 1024;
2543 lInfDualVariable_ = value;
2544 }
2545 }
2547 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2548 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2549 public bool HasLInfDualVariable {
2550 get { return (_hasBits0 & 1024) != 0; }
2551 }
2553 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2554 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2556 _hasBits0 &= ~1024;
2557 }
2558
2560 public const int L2DualVariableFieldNumber = 17;
2561 private readonly static double L2DualVariableDefaultValue = 0D;
2562
2563 private double l2DualVariable_;
2567 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2568 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2569 public double L2DualVariable {
2570 get { if ((_hasBits0 & 2048) != 0) { return l2DualVariable_; } else { return L2DualVariableDefaultValue; } }
2571 set {
2572 _hasBits0 |= 2048;
2573 l2DualVariable_ = value;
2574 }
2575 }
2577 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2578 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2579 public bool HasL2DualVariable {
2580 get { return (_hasBits0 & 2048) != 0; }
2581 }
2583 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2584 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2585 public void ClearL2DualVariable() {
2586 _hasBits0 &= ~2048;
2587 }
2588
2589 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2590 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2591 public override bool Equals(object other) {
2592 return Equals(other as ConvergenceInformation);
2593 }
2594
2595 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2596 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2597 public bool Equals(ConvergenceInformation other) {
2598 if (ReferenceEquals(other, null)) {
2599 return false;
2600 }
2601 if (ReferenceEquals(other, this)) {
2602 return true;
2603 }
2604 if (CandidateType != other.CandidateType) return false;
2605 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PrimalObjective, other.PrimalObjective)) return false;
2606 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DualObjective, other.DualObjective)) return false;
2607 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CorrectedDualObjective, other.CorrectedDualObjective)) return false;
2608 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LInfPrimalResidual, other.LInfPrimalResidual)) return false;
2609 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(L2PrimalResidual, other.L2PrimalResidual)) return false;
2610 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LInfComponentwisePrimalResidual, other.LInfComponentwisePrimalResidual)) return false;
2611 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LInfDualResidual, other.LInfDualResidual)) return false;
2612 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(L2DualResidual, other.L2DualResidual)) return false;
2613 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LInfComponentwiseDualResidual, other.LInfComponentwiseDualResidual)) return false;
2614 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LInfPrimalVariable, other.LInfPrimalVariable)) return false;
2615 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(L2PrimalVariable, other.L2PrimalVariable)) return false;
2616 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LInfDualVariable, other.LInfDualVariable)) return false;
2617 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(L2DualVariable, other.L2DualVariable)) return false;
2618 return Equals(_unknownFields, other._unknownFields);
2619 }
2620
2621 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2622 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2623 public override int GetHashCode() {
2624 int hash = 1;
2625 if (HasCandidateType) hash ^= CandidateType.GetHashCode();
2626 if (HasPrimalObjective) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PrimalObjective);
2627 if (HasDualObjective) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DualObjective);
2628 if (HasCorrectedDualObjective) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CorrectedDualObjective);
2629 if (HasLInfPrimalResidual) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(LInfPrimalResidual);
2630 if (HasL2PrimalResidual) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(L2PrimalResidual);
2631 if (HasLInfComponentwisePrimalResidual) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(LInfComponentwisePrimalResidual);
2632 if (HasLInfDualResidual) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(LInfDualResidual);
2633 if (HasL2DualResidual) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(L2DualResidual);
2634 if (HasLInfComponentwiseDualResidual) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(LInfComponentwiseDualResidual);
2635 if (HasLInfPrimalVariable) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(LInfPrimalVariable);
2636 if (HasL2PrimalVariable) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(L2PrimalVariable);
2637 if (HasLInfDualVariable) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(LInfDualVariable);
2638 if (HasL2DualVariable) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(L2DualVariable);
2639 if (_unknownFields != null) {
2640 hash ^= _unknownFields.GetHashCode();
2641 }
2642 return hash;
2643 }
2644
2645 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2646 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2647 public override string ToString() {
2648 return pb::JsonFormatter.ToDiagnosticString(this);
2649 }
2650
2651 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2652 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2653 public void WriteTo(pb::CodedOutputStream output) {
2654 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2655 output.WriteRawMessage(this);
2656 #else
2657 if (HasCandidateType) {
2658 output.WriteRawTag(8);
2659 output.WriteEnum((int) CandidateType);
2660 }
2661 if (HasPrimalObjective) {
2662 output.WriteRawTag(17);
2663 output.WriteDouble(PrimalObjective);
2664 }
2665 if (HasDualObjective) {
2666 output.WriteRawTag(25);
2667 output.WriteDouble(DualObjective);
2668 }
2669 if (HasCorrectedDualObjective) {
2670 output.WriteRawTag(33);
2671 output.WriteDouble(CorrectedDualObjective);
2672 }
2673 if (HasLInfPrimalResidual) {
2674 output.WriteRawTag(41);
2675 output.WriteDouble(LInfPrimalResidual);
2676 }
2677 if (HasL2PrimalResidual) {
2678 output.WriteRawTag(49);
2679 output.WriteDouble(L2PrimalResidual);
2680 }
2681 if (HasLInfDualResidual) {
2682 output.WriteRawTag(57);
2683 output.WriteDouble(LInfDualResidual);
2684 }
2685 if (HasL2DualResidual) {
2686 output.WriteRawTag(65);
2687 output.WriteDouble(L2DualResidual);
2688 }
2689 if (HasLInfPrimalVariable) {
2690 output.WriteRawTag(113);
2691 output.WriteDouble(LInfPrimalVariable);
2692 }
2693 if (HasL2PrimalVariable) {
2694 output.WriteRawTag(121);
2695 output.WriteDouble(L2PrimalVariable);
2696 }
2697 if (HasLInfDualVariable) {
2698 output.WriteRawTag(129, 1);
2699 output.WriteDouble(LInfDualVariable);
2700 }
2701 if (HasL2DualVariable) {
2702 output.WriteRawTag(137, 1);
2703 output.WriteDouble(L2DualVariable);
2704 }
2705 if (HasLInfComponentwisePrimalResidual) {
2706 output.WriteRawTag(193, 1);
2707 output.WriteDouble(LInfComponentwisePrimalResidual);
2708 }
2709 if (HasLInfComponentwiseDualResidual) {
2710 output.WriteRawTag(201, 1);
2711 output.WriteDouble(LInfComponentwiseDualResidual);
2712 }
2713 if (_unknownFields != null) {
2714 _unknownFields.WriteTo(output);
2715 }
2716 #endif
2717 }
2718
2719 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2720 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2721 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2722 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2723 if (HasCandidateType) {
2724 output.WriteRawTag(8);
2725 output.WriteEnum((int) CandidateType);
2726 }
2727 if (HasPrimalObjective) {
2728 output.WriteRawTag(17);
2729 output.WriteDouble(PrimalObjective);
2730 }
2731 if (HasDualObjective) {
2732 output.WriteRawTag(25);
2733 output.WriteDouble(DualObjective);
2734 }
2735 if (HasCorrectedDualObjective) {
2736 output.WriteRawTag(33);
2737 output.WriteDouble(CorrectedDualObjective);
2738 }
2739 if (HasLInfPrimalResidual) {
2740 output.WriteRawTag(41);
2741 output.WriteDouble(LInfPrimalResidual);
2742 }
2743 if (HasL2PrimalResidual) {
2744 output.WriteRawTag(49);
2745 output.WriteDouble(L2PrimalResidual);
2746 }
2747 if (HasLInfDualResidual) {
2748 output.WriteRawTag(57);
2749 output.WriteDouble(LInfDualResidual);
2750 }
2751 if (HasL2DualResidual) {
2752 output.WriteRawTag(65);
2753 output.WriteDouble(L2DualResidual);
2754 }
2755 if (HasLInfPrimalVariable) {
2756 output.WriteRawTag(113);
2757 output.WriteDouble(LInfPrimalVariable);
2758 }
2759 if (HasL2PrimalVariable) {
2760 output.WriteRawTag(121);
2761 output.WriteDouble(L2PrimalVariable);
2762 }
2763 if (HasLInfDualVariable) {
2764 output.WriteRawTag(129, 1);
2765 output.WriteDouble(LInfDualVariable);
2766 }
2767 if (HasL2DualVariable) {
2768 output.WriteRawTag(137, 1);
2769 output.WriteDouble(L2DualVariable);
2770 }
2771 if (HasLInfComponentwisePrimalResidual) {
2772 output.WriteRawTag(193, 1);
2773 output.WriteDouble(LInfComponentwisePrimalResidual);
2774 }
2775 if (HasLInfComponentwiseDualResidual) {
2776 output.WriteRawTag(201, 1);
2777 output.WriteDouble(LInfComponentwiseDualResidual);
2778 }
2779 if (_unknownFields != null) {
2780 _unknownFields.WriteTo(ref output);
2781 }
2782 }
2783 #endif
2784
2785 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2786 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2787 public int CalculateSize() {
2788 int size = 0;
2789 if (HasCandidateType) {
2790 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CandidateType);
2791 }
2792 if (HasPrimalObjective) {
2793 size += 1 + 8;
2794 }
2795 if (HasDualObjective) {
2796 size += 1 + 8;
2797 }
2798 if (HasCorrectedDualObjective) {
2799 size += 1 + 8;
2800 }
2801 if (HasLInfPrimalResidual) {
2802 size += 1 + 8;
2803 }
2804 if (HasL2PrimalResidual) {
2805 size += 1 + 8;
2806 }
2807 if (HasLInfComponentwisePrimalResidual) {
2808 size += 2 + 8;
2809 }
2810 if (HasLInfDualResidual) {
2811 size += 1 + 8;
2812 }
2813 if (HasL2DualResidual) {
2814 size += 1 + 8;
2815 }
2816 if (HasLInfComponentwiseDualResidual) {
2817 size += 2 + 8;
2818 }
2819 if (HasLInfPrimalVariable) {
2820 size += 1 + 8;
2821 }
2822 if (HasL2PrimalVariable) {
2823 size += 1 + 8;
2824 }
2825 if (HasLInfDualVariable) {
2826 size += 2 + 8;
2827 }
2828 if (HasL2DualVariable) {
2829 size += 2 + 8;
2830 }
2831 if (_unknownFields != null) {
2832 size += _unknownFields.CalculateSize();
2833 }
2834 return size;
2835 }
2836
2837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2838 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2840 if (other == null) {
2841 return;
2842 }
2843 if (other.HasCandidateType) {
2844 CandidateType = other.CandidateType;
2845 }
2846 if (other.HasPrimalObjective) {
2847 PrimalObjective = other.PrimalObjective;
2848 }
2849 if (other.HasDualObjective) {
2850 DualObjective = other.DualObjective;
2851 }
2852 if (other.HasCorrectedDualObjective) {
2853 CorrectedDualObjective = other.CorrectedDualObjective;
2854 }
2855 if (other.HasLInfPrimalResidual) {
2856 LInfPrimalResidual = other.LInfPrimalResidual;
2857 }
2858 if (other.HasL2PrimalResidual) {
2859 L2PrimalResidual = other.L2PrimalResidual;
2860 }
2862 LInfComponentwisePrimalResidual = other.LInfComponentwisePrimalResidual;
2863 }
2864 if (other.HasLInfDualResidual) {
2865 LInfDualResidual = other.LInfDualResidual;
2866 }
2867 if (other.HasL2DualResidual) {
2868 L2DualResidual = other.L2DualResidual;
2869 }
2871 LInfComponentwiseDualResidual = other.LInfComponentwiseDualResidual;
2872 }
2873 if (other.HasLInfPrimalVariable) {
2874 LInfPrimalVariable = other.LInfPrimalVariable;
2875 }
2876 if (other.HasL2PrimalVariable) {
2877 L2PrimalVariable = other.L2PrimalVariable;
2878 }
2879 if (other.HasLInfDualVariable) {
2880 LInfDualVariable = other.LInfDualVariable;
2881 }
2882 if (other.HasL2DualVariable) {
2883 L2DualVariable = other.L2DualVariable;
2884 }
2885 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2886 }
2887
2888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2889 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2890 public void MergeFrom(pb::CodedInputStream input) {
2891 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2892 input.ReadRawMessage(this);
2893 #else
2894 uint tag;
2895 while ((tag = input.ReadTag()) != 0) {
2896 switch(tag) {
2897 default:
2898 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2899 break;
2900 case 8: {
2901 CandidateType = (global::Google.OrTools.PDLP.PointType) input.ReadEnum();
2902 break;
2903 }
2904 case 17: {
2905 PrimalObjective = input.ReadDouble();
2906 break;
2907 }
2908 case 25: {
2909 DualObjective = input.ReadDouble();
2910 break;
2911 }
2912 case 33: {
2913 CorrectedDualObjective = input.ReadDouble();
2914 break;
2915 }
2916 case 41: {
2917 LInfPrimalResidual = input.ReadDouble();
2918 break;
2919 }
2920 case 49: {
2921 L2PrimalResidual = input.ReadDouble();
2922 break;
2923 }
2924 case 57: {
2925 LInfDualResidual = input.ReadDouble();
2926 break;
2927 }
2928 case 65: {
2929 L2DualResidual = input.ReadDouble();
2930 break;
2931 }
2932 case 113: {
2933 LInfPrimalVariable = input.ReadDouble();
2934 break;
2935 }
2936 case 121: {
2937 L2PrimalVariable = input.ReadDouble();
2938 break;
2939 }
2940 case 129: {
2941 LInfDualVariable = input.ReadDouble();
2942 break;
2943 }
2944 case 137: {
2945 L2DualVariable = input.ReadDouble();
2946 break;
2947 }
2948 case 193: {
2949 LInfComponentwisePrimalResidual = input.ReadDouble();
2950 break;
2951 }
2952 case 201: {
2953 LInfComponentwiseDualResidual = input.ReadDouble();
2954 break;
2955 }
2956 }
2957 }
2958 #endif
2959 }
2960
2961 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2962 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2963 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2964 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2965 uint tag;
2966 while ((tag = input.ReadTag()) != 0) {
2967 switch(tag) {
2968 default:
2969 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2970 break;
2971 case 8: {
2972 CandidateType = (global::Google.OrTools.PDLP.PointType) input.ReadEnum();
2973 break;
2974 }
2975 case 17: {
2976 PrimalObjective = input.ReadDouble();
2977 break;
2978 }
2979 case 25: {
2980 DualObjective = input.ReadDouble();
2981 break;
2982 }
2983 case 33: {
2984 CorrectedDualObjective = input.ReadDouble();
2985 break;
2986 }
2987 case 41: {
2988 LInfPrimalResidual = input.ReadDouble();
2989 break;
2990 }
2991 case 49: {
2992 L2PrimalResidual = input.ReadDouble();
2993 break;
2994 }
2995 case 57: {
2996 LInfDualResidual = input.ReadDouble();
2997 break;
2998 }
2999 case 65: {
3000 L2DualResidual = input.ReadDouble();
3001 break;
3002 }
3003 case 113: {
3004 LInfPrimalVariable = input.ReadDouble();
3005 break;
3006 }
3007 case 121: {
3008 L2PrimalVariable = input.ReadDouble();
3009 break;
3010 }
3011 case 129: {
3012 LInfDualVariable = input.ReadDouble();
3013 break;
3014 }
3015 case 137: {
3016 L2DualVariable = input.ReadDouble();
3017 break;
3018 }
3019 case 193: {
3020 LInfComponentwisePrimalResidual = input.ReadDouble();
3021 break;
3022 }
3023 case 201: {
3024 LInfComponentwiseDualResidual = input.ReadDouble();
3025 break;
3026 }
3027 }
3028 }
3029 }
3030 #endif
3031
3032 }
3033
3038 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
3039 public sealed partial class InfeasibilityInformation : pb::IMessage<InfeasibilityInformation>
3040 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3041 , pb::IBufferMessage
3042 #endif
3043 {
3044 private static readonly pb::MessageParser<InfeasibilityInformation> _parser = new pb::MessageParser<InfeasibilityInformation>(() => new InfeasibilityInformation());
3045 private pb::UnknownFieldSet _unknownFields;
3046 private int _hasBits0;
3047 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3048 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3049 public static pb::MessageParser<InfeasibilityInformation> Parser { get { return _parser; } }
3050
3051 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3052 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3053 public static pbr::MessageDescriptor Descriptor {
3054 get { return global::Google.OrTools.PDLP.SolveLogReflection.Descriptor.MessageTypes[2]; }
3055 }
3056
3057 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3058 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3059 pbr::MessageDescriptor pb::IMessage.Descriptor {
3060 get { return Descriptor; }
3061 }
3062
3063 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3064 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3066 OnConstruction();
3067 }
3068
3069 partial void OnConstruction();
3070
3071 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3072 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3074 _hasBits0 = other._hasBits0;
3075 maxPrimalRayInfeasibility_ = other.maxPrimalRayInfeasibility_;
3076 primalRayLinearObjective_ = other.primalRayLinearObjective_;
3077 primalRayQuadraticNorm_ = other.primalRayQuadraticNorm_;
3078 maxDualRayInfeasibility_ = other.maxDualRayInfeasibility_;
3079 dualRayObjective_ = other.dualRayObjective_;
3080 candidateType_ = other.candidateType_;
3081 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3082 }
3083
3084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3085 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3087 return new InfeasibilityInformation(this);
3088 }
3089
3091 public const int MaxPrimalRayInfeasibilityFieldNumber = 1;
3092 private readonly static double MaxPrimalRayInfeasibilityDefaultValue = 0D;
3093
3094 private double maxPrimalRayInfeasibility_;
3105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3106 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3107 public double MaxPrimalRayInfeasibility {
3108 get { if ((_hasBits0 & 1) != 0) { return maxPrimalRayInfeasibility_; } else { return MaxPrimalRayInfeasibilityDefaultValue; } }
3109 set {
3110 _hasBits0 |= 1;
3111 maxPrimalRayInfeasibility_ = value;
3112 }
3113 }
3115 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3116 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3117 public bool HasMaxPrimalRayInfeasibility {
3118 get { return (_hasBits0 & 1) != 0; }
3119 }
3121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3122 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3124 _hasBits0 &= ~1;
3125 }
3126
3128 public const int PrimalRayLinearObjectiveFieldNumber = 2;
3129 private readonly static double PrimalRayLinearObjectiveDefaultValue = 0D;
3130
3131 private double primalRayLinearObjective_;
3137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3138 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3139 public double PrimalRayLinearObjective {
3140 get { if ((_hasBits0 & 2) != 0) { return primalRayLinearObjective_; } else { return PrimalRayLinearObjectiveDefaultValue; } }
3141 set {
3142 _hasBits0 |= 2;
3143 primalRayLinearObjective_ = value;
3144 }
3145 }
3147 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3148 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3149 public bool HasPrimalRayLinearObjective {
3150 get { return (_hasBits0 & 2) != 0; }
3151 }
3153 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3154 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3156 _hasBits0 &= ~2;
3157 }
3158
3160 public const int PrimalRayQuadraticNormFieldNumber = 3;
3161 private readonly static double PrimalRayQuadraticNormDefaultValue = 0D;
3162
3163 private double primalRayQuadraticNorm_;
3169 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3170 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3171 public double PrimalRayQuadraticNorm {
3172 get { if ((_hasBits0 & 4) != 0) { return primalRayQuadraticNorm_; } else { return PrimalRayQuadraticNormDefaultValue; } }
3173 set {
3174 _hasBits0 |= 4;
3175 primalRayQuadraticNorm_ = value;
3176 }
3177 }
3179 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3180 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3181 public bool HasPrimalRayQuadraticNorm {
3182 get { return (_hasBits0 & 4) != 0; }
3183 }
3185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3186 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3188 _hasBits0 &= ~4;
3189 }
3190
3192 public const int MaxDualRayInfeasibilityFieldNumber = 4;
3193 private readonly static double MaxDualRayInfeasibilityDefaultValue = 0D;
3194
3195 private double maxDualRayInfeasibility_;
3208 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3209 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3210 public double MaxDualRayInfeasibility {
3211 get { if ((_hasBits0 & 8) != 0) { return maxDualRayInfeasibility_; } else { return MaxDualRayInfeasibilityDefaultValue; } }
3212 set {
3213 _hasBits0 |= 8;
3214 maxDualRayInfeasibility_ = value;
3215 }
3216 }
3218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3219 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3220 public bool HasMaxDualRayInfeasibility {
3221 get { return (_hasBits0 & 8) != 0; }
3222 }
3224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3225 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3227 _hasBits0 &= ~8;
3228 }
3229
3231 public const int DualRayObjectiveFieldNumber = 5;
3232 private readonly static double DualRayObjectiveDefaultValue = 0D;
3233
3234 private double dualRayObjective_;
3238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3239 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3240 public double DualRayObjective {
3241 get { if ((_hasBits0 & 16) != 0) { return dualRayObjective_; } else { return DualRayObjectiveDefaultValue; } }
3242 set {
3243 _hasBits0 |= 16;
3244 dualRayObjective_ = value;
3245 }
3246 }
3248 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3249 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3250 public bool HasDualRayObjective {
3251 get { return (_hasBits0 & 16) != 0; }
3252 }
3254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3255 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3257 _hasBits0 &= ~16;
3258 }
3259
3261 public const int CandidateTypeFieldNumber = 6;
3262 private readonly static global::Google.OrTools.PDLP.PointType CandidateTypeDefaultValue = global::Google.OrTools.PDLP.PointType.Unspecified;
3263
3264 private global::Google.OrTools.PDLP.PointType candidateType_;
3268 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3269 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3270 public global::Google.OrTools.PDLP.PointType CandidateType {
3271 get { if ((_hasBits0 & 32) != 0) { return candidateType_; } else { return CandidateTypeDefaultValue; } }
3272 set {
3273 _hasBits0 |= 32;
3274 candidateType_ = value;
3275 }
3276 }
3278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3279 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3280 public bool HasCandidateType {
3281 get { return (_hasBits0 & 32) != 0; }
3282 }
3284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3285 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3286 public void ClearCandidateType() {
3287 _hasBits0 &= ~32;
3288 }
3289
3290 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3291 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3292 public override bool Equals(object other) {
3293 return Equals(other as InfeasibilityInformation);
3294 }
3295
3296 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3297 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3299 if (ReferenceEquals(other, null)) {
3300 return false;
3301 }
3302 if (ReferenceEquals(other, this)) {
3303 return true;
3304 }
3305 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxPrimalRayInfeasibility, other.MaxPrimalRayInfeasibility)) return false;
3306 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PrimalRayLinearObjective, other.PrimalRayLinearObjective)) return false;
3307 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PrimalRayQuadraticNorm, other.PrimalRayQuadraticNorm)) return false;
3308 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(MaxDualRayInfeasibility, other.MaxDualRayInfeasibility)) return false;
3309 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DualRayObjective, other.DualRayObjective)) return false;
3310 if (CandidateType != other.CandidateType) return false;
3311 return Equals(_unknownFields, other._unknownFields);
3312 }
3313
3314 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3315 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3316 public override int GetHashCode() {
3317 int hash = 1;
3318 if (HasMaxPrimalRayInfeasibility) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxPrimalRayInfeasibility);
3319 if (HasPrimalRayLinearObjective) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PrimalRayLinearObjective);
3320 if (HasPrimalRayQuadraticNorm) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PrimalRayQuadraticNorm);
3321 if (HasMaxDualRayInfeasibility) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MaxDualRayInfeasibility);
3322 if (HasDualRayObjective) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DualRayObjective);
3323 if (HasCandidateType) hash ^= CandidateType.GetHashCode();
3324 if (_unknownFields != null) {
3325 hash ^= _unknownFields.GetHashCode();
3326 }
3327 return hash;
3328 }
3329
3330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3331 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3332 public override string ToString() {
3333 return pb::JsonFormatter.ToDiagnosticString(this);
3334 }
3335
3336 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3337 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3338 public void WriteTo(pb::CodedOutputStream output) {
3339 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3340 output.WriteRawMessage(this);
3341 #else
3342 if (HasMaxPrimalRayInfeasibility) {
3343 output.WriteRawTag(9);
3344 output.WriteDouble(MaxPrimalRayInfeasibility);
3345 }
3346 if (HasPrimalRayLinearObjective) {
3347 output.WriteRawTag(17);
3348 output.WriteDouble(PrimalRayLinearObjective);
3349 }
3350 if (HasPrimalRayQuadraticNorm) {
3351 output.WriteRawTag(25);
3352 output.WriteDouble(PrimalRayQuadraticNorm);
3353 }
3354 if (HasMaxDualRayInfeasibility) {
3355 output.WriteRawTag(33);
3356 output.WriteDouble(MaxDualRayInfeasibility);
3357 }
3358 if (HasDualRayObjective) {
3359 output.WriteRawTag(41);
3360 output.WriteDouble(DualRayObjective);
3361 }
3362 if (HasCandidateType) {
3363 output.WriteRawTag(48);
3364 output.WriteEnum((int) CandidateType);
3365 }
3366 if (_unknownFields != null) {
3367 _unknownFields.WriteTo(output);
3368 }
3369 #endif
3370 }
3371
3372 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3373 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3374 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3375 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3376 if (HasMaxPrimalRayInfeasibility) {
3377 output.WriteRawTag(9);
3378 output.WriteDouble(MaxPrimalRayInfeasibility);
3379 }
3380 if (HasPrimalRayLinearObjective) {
3381 output.WriteRawTag(17);
3382 output.WriteDouble(PrimalRayLinearObjective);
3383 }
3384 if (HasPrimalRayQuadraticNorm) {
3385 output.WriteRawTag(25);
3386 output.WriteDouble(PrimalRayQuadraticNorm);
3387 }
3388 if (HasMaxDualRayInfeasibility) {
3389 output.WriteRawTag(33);
3390 output.WriteDouble(MaxDualRayInfeasibility);
3391 }
3392 if (HasDualRayObjective) {
3393 output.WriteRawTag(41);
3394 output.WriteDouble(DualRayObjective);
3395 }
3396 if (HasCandidateType) {
3397 output.WriteRawTag(48);
3398 output.WriteEnum((int) CandidateType);
3399 }
3400 if (_unknownFields != null) {
3401 _unknownFields.WriteTo(ref output);
3402 }
3403 }
3404 #endif
3405
3406 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3407 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3408 public int CalculateSize() {
3409 int size = 0;
3410 if (HasMaxPrimalRayInfeasibility) {
3411 size += 1 + 8;
3412 }
3413 if (HasPrimalRayLinearObjective) {
3414 size += 1 + 8;
3415 }
3416 if (HasPrimalRayQuadraticNorm) {
3417 size += 1 + 8;
3418 }
3419 if (HasMaxDualRayInfeasibility) {
3420 size += 1 + 8;
3421 }
3422 if (HasDualRayObjective) {
3423 size += 1 + 8;
3424 }
3425 if (HasCandidateType) {
3426 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CandidateType);
3427 }
3428 if (_unknownFields != null) {
3429 size += _unknownFields.CalculateSize();
3430 }
3431 return size;
3432 }
3433
3434 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3435 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3437 if (other == null) {
3438 return;
3439 }
3440 if (other.HasMaxPrimalRayInfeasibility) {
3441 MaxPrimalRayInfeasibility = other.MaxPrimalRayInfeasibility;
3442 }
3443 if (other.HasPrimalRayLinearObjective) {
3444 PrimalRayLinearObjective = other.PrimalRayLinearObjective;
3445 }
3446 if (other.HasPrimalRayQuadraticNorm) {
3447 PrimalRayQuadraticNorm = other.PrimalRayQuadraticNorm;
3448 }
3449 if (other.HasMaxDualRayInfeasibility) {
3450 MaxDualRayInfeasibility = other.MaxDualRayInfeasibility;
3451 }
3452 if (other.HasDualRayObjective) {
3453 DualRayObjective = other.DualRayObjective;
3454 }
3455 if (other.HasCandidateType) {
3456 CandidateType = other.CandidateType;
3457 }
3458 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3459 }
3460
3461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3462 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3463 public void MergeFrom(pb::CodedInputStream input) {
3464 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3465 input.ReadRawMessage(this);
3466 #else
3467 uint tag;
3468 while ((tag = input.ReadTag()) != 0) {
3469 switch(tag) {
3470 default:
3471 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3472 break;
3473 case 9: {
3474 MaxPrimalRayInfeasibility = input.ReadDouble();
3475 break;
3476 }
3477 case 17: {
3478 PrimalRayLinearObjective = input.ReadDouble();
3479 break;
3480 }
3481 case 25: {
3482 PrimalRayQuadraticNorm = input.ReadDouble();
3483 break;
3484 }
3485 case 33: {
3486 MaxDualRayInfeasibility = input.ReadDouble();
3487 break;
3488 }
3489 case 41: {
3490 DualRayObjective = input.ReadDouble();
3491 break;
3492 }
3493 case 48: {
3494 CandidateType = (global::Google.OrTools.PDLP.PointType) input.ReadEnum();
3495 break;
3496 }
3497 }
3498 }
3499 #endif
3500 }
3501
3502 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3503 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3504 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3505 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3506 uint tag;
3507 while ((tag = input.ReadTag()) != 0) {
3508 switch(tag) {
3509 default:
3510 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3511 break;
3512 case 9: {
3513 MaxPrimalRayInfeasibility = input.ReadDouble();
3514 break;
3515 }
3516 case 17: {
3517 PrimalRayLinearObjective = input.ReadDouble();
3518 break;
3519 }
3520 case 25: {
3521 PrimalRayQuadraticNorm = input.ReadDouble();
3522 break;
3523 }
3524 case 33: {
3525 MaxDualRayInfeasibility = input.ReadDouble();
3526 break;
3527 }
3528 case 41: {
3529 DualRayObjective = input.ReadDouble();
3530 break;
3531 }
3532 case 48: {
3533 CandidateType = (global::Google.OrTools.PDLP.PointType) input.ReadEnum();
3534 break;
3535 }
3536 }
3537 }
3538 }
3539 #endif
3540
3541 }
3542
3543 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
3544 public sealed partial class PointMetadata : pb::IMessage<PointMetadata>
3545 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3546 , pb::IBufferMessage
3547 #endif
3548 {
3549 private static readonly pb::MessageParser<PointMetadata> _parser = new pb::MessageParser<PointMetadata>(() => new PointMetadata());
3550 private pb::UnknownFieldSet _unknownFields;
3551 private int _hasBits0;
3552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3553 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3554 public static pb::MessageParser<PointMetadata> Parser { get { return _parser; } }
3555
3556 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3557 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3558 public static pbr::MessageDescriptor Descriptor {
3559 get { return global::Google.OrTools.PDLP.SolveLogReflection.Descriptor.MessageTypes[3]; }
3560 }
3561
3562 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3563 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3564 pbr::MessageDescriptor pb::IMessage.Descriptor {
3565 get { return Descriptor; }
3566 }
3567
3568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3569 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3570 public PointMetadata() {
3571 OnConstruction();
3572 }
3573
3574 partial void OnConstruction();
3575
3576 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3577 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3578 public PointMetadata(PointMetadata other) : this() {
3579 _hasBits0 = other._hasBits0;
3580 pointType_ = other.pointType_;
3581 randomPrimalProjections_ = other.randomPrimalProjections_.Clone();
3582 randomDualProjections_ = other.randomDualProjections_.Clone();
3583 activePrimalVariableCount_ = other.activePrimalVariableCount_;
3584 activeDualVariableCount_ = other.activeDualVariableCount_;
3585 activePrimalVariableChange_ = other.activePrimalVariableChange_;
3586 activeDualVariableChange_ = other.activeDualVariableChange_;
3587 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3588 }
3589
3590 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3591 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3593 return new PointMetadata(this);
3594 }
3595
3597 public const int PointTypeFieldNumber = 1;
3598 private readonly static global::Google.OrTools.PDLP.PointType PointTypeDefaultValue = global::Google.OrTools.PDLP.PointType.Unspecified;
3599
3600 private global::Google.OrTools.PDLP.PointType pointType_;
3604 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3605 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3606 public global::Google.OrTools.PDLP.PointType PointType {
3607 get { if ((_hasBits0 & 1) != 0) { return pointType_; } else { return PointTypeDefaultValue; } }
3608 set {
3609 _hasBits0 |= 1;
3610 pointType_ = value;
3611 }
3612 }
3614 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3615 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3616 public bool HasPointType {
3617 get { return (_hasBits0 & 1) != 0; }
3618 }
3620 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3621 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3622 public void ClearPointType() {
3623 _hasBits0 &= ~1;
3624 }
3625
3627 public const int RandomPrimalProjectionsFieldNumber = 2;
3628 private static readonly pb::FieldCodec<double> _repeated_randomPrimalProjections_codec
3629 = pb::FieldCodec.ForDouble(18);
3630 private readonly pbc::RepeatedField<double> randomPrimalProjections_ = new pbc::RepeatedField<double>();
3634 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3635 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3636 public pbc::RepeatedField<double> RandomPrimalProjections {
3637 get { return randomPrimalProjections_; }
3638 }
3639
3641 public const int RandomDualProjectionsFieldNumber = 3;
3642 private static readonly pb::FieldCodec<double> _repeated_randomDualProjections_codec
3643 = pb::FieldCodec.ForDouble(26);
3644 private readonly pbc::RepeatedField<double> randomDualProjections_ = new pbc::RepeatedField<double>();
3648 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3649 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3650 public pbc::RepeatedField<double> RandomDualProjections {
3651 get { return randomDualProjections_; }
3652 }
3653
3655 public const int ActivePrimalVariableCountFieldNumber = 4;
3656 private readonly static long ActivePrimalVariableCountDefaultValue = 0L;
3657
3658 private long activePrimalVariableCount_;
3662 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3663 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3664 public long ActivePrimalVariableCount {
3665 get { if ((_hasBits0 & 2) != 0) { return activePrimalVariableCount_; } else { return ActivePrimalVariableCountDefaultValue; } }
3666 set {
3667 _hasBits0 |= 2;
3668 activePrimalVariableCount_ = value;
3669 }
3670 }
3672 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3673 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3674 public bool HasActivePrimalVariableCount {
3675 get { return (_hasBits0 & 2) != 0; }
3676 }
3678 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3679 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3681 _hasBits0 &= ~2;
3682 }
3683
3685 public const int ActiveDualVariableCountFieldNumber = 5;
3686 private readonly static long ActiveDualVariableCountDefaultValue = 0L;
3687
3688 private long activeDualVariableCount_;
3692 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3693 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3694 public long ActiveDualVariableCount {
3695 get { if ((_hasBits0 & 4) != 0) { return activeDualVariableCount_; } else { return ActiveDualVariableCountDefaultValue; } }
3696 set {
3697 _hasBits0 |= 4;
3698 activeDualVariableCount_ = value;
3699 }
3700 }
3702 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3703 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3704 public bool HasActiveDualVariableCount {
3705 get { return (_hasBits0 & 4) != 0; }
3706 }
3708 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3709 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3711 _hasBits0 &= ~4;
3712 }
3713
3715 public const int ActivePrimalVariableChangeFieldNumber = 6;
3716 private readonly static long ActivePrimalVariableChangeDefaultValue = 0L;
3717
3718 private long activePrimalVariableChange_;
3723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3724 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3725 public long ActivePrimalVariableChange {
3726 get { if ((_hasBits0 & 8) != 0) { return activePrimalVariableChange_; } else { return ActivePrimalVariableChangeDefaultValue; } }
3727 set {
3728 _hasBits0 |= 8;
3729 activePrimalVariableChange_ = value;
3730 }
3731 }
3733 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3734 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3735 public bool HasActivePrimalVariableChange {
3736 get { return (_hasBits0 & 8) != 0; }
3737 }
3739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3740 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3742 _hasBits0 &= ~8;
3743 }
3744
3746 public const int ActiveDualVariableChangeFieldNumber = 7;
3747 private readonly static long ActiveDualVariableChangeDefaultValue = 0L;
3748
3749 private long activeDualVariableChange_;
3754 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3755 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3756 public long ActiveDualVariableChange {
3757 get { if ((_hasBits0 & 16) != 0) { return activeDualVariableChange_; } else { return ActiveDualVariableChangeDefaultValue; } }
3758 set {
3759 _hasBits0 |= 16;
3760 activeDualVariableChange_ = value;
3761 }
3762 }
3764 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3765 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3766 public bool HasActiveDualVariableChange {
3767 get { return (_hasBits0 & 16) != 0; }
3768 }
3770 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3771 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3773 _hasBits0 &= ~16;
3774 }
3775
3776 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3777 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3778 public override bool Equals(object other) {
3779 return Equals(other as PointMetadata);
3780 }
3781
3782 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3783 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3784 public bool Equals(PointMetadata other) {
3785 if (ReferenceEquals(other, null)) {
3786 return false;
3787 }
3788 if (ReferenceEquals(other, this)) {
3789 return true;
3790 }
3791 if (PointType != other.PointType) return false;
3792 if(!randomPrimalProjections_.Equals(other.randomPrimalProjections_)) return false;
3793 if(!randomDualProjections_.Equals(other.randomDualProjections_)) return false;
3794 if (ActivePrimalVariableCount != other.ActivePrimalVariableCount) return false;
3795 if (ActiveDualVariableCount != other.ActiveDualVariableCount) return false;
3796 if (ActivePrimalVariableChange != other.ActivePrimalVariableChange) return false;
3797 if (ActiveDualVariableChange != other.ActiveDualVariableChange) return false;
3798 return Equals(_unknownFields, other._unknownFields);
3799 }
3800
3801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3802 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3803 public override int GetHashCode() {
3804 int hash = 1;
3805 if (HasPointType) hash ^= PointType.GetHashCode();
3806 hash ^= randomPrimalProjections_.GetHashCode();
3807 hash ^= randomDualProjections_.GetHashCode();
3808 if (HasActivePrimalVariableCount) hash ^= ActivePrimalVariableCount.GetHashCode();
3809 if (HasActiveDualVariableCount) hash ^= ActiveDualVariableCount.GetHashCode();
3810 if (HasActivePrimalVariableChange) hash ^= ActivePrimalVariableChange.GetHashCode();
3811 if (HasActiveDualVariableChange) hash ^= ActiveDualVariableChange.GetHashCode();
3812 if (_unknownFields != null) {
3813 hash ^= _unknownFields.GetHashCode();
3814 }
3815 return hash;
3816 }
3817
3818 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3819 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3820 public override string ToString() {
3821 return pb::JsonFormatter.ToDiagnosticString(this);
3822 }
3823
3824 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3825 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3826 public void WriteTo(pb::CodedOutputStream output) {
3827 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3828 output.WriteRawMessage(this);
3829 #else
3830 if (HasPointType) {
3831 output.WriteRawTag(8);
3832 output.WriteEnum((int) PointType);
3833 }
3834 randomPrimalProjections_.WriteTo(output, _repeated_randomPrimalProjections_codec);
3835 randomDualProjections_.WriteTo(output, _repeated_randomDualProjections_codec);
3836 if (HasActivePrimalVariableCount) {
3837 output.WriteRawTag(32);
3838 output.WriteInt64(ActivePrimalVariableCount);
3839 }
3840 if (HasActiveDualVariableCount) {
3841 output.WriteRawTag(40);
3842 output.WriteInt64(ActiveDualVariableCount);
3843 }
3844 if (HasActivePrimalVariableChange) {
3845 output.WriteRawTag(48);
3846 output.WriteInt64(ActivePrimalVariableChange);
3847 }
3848 if (HasActiveDualVariableChange) {
3849 output.WriteRawTag(56);
3850 output.WriteInt64(ActiveDualVariableChange);
3851 }
3852 if (_unknownFields != null) {
3853 _unknownFields.WriteTo(output);
3854 }
3855 #endif
3856 }
3857
3858 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3860 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3861 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3862 if (HasPointType) {
3863 output.WriteRawTag(8);
3864 output.WriteEnum((int) PointType);
3865 }
3866 randomPrimalProjections_.WriteTo(ref output, _repeated_randomPrimalProjections_codec);
3867 randomDualProjections_.WriteTo(ref output, _repeated_randomDualProjections_codec);
3868 if (HasActivePrimalVariableCount) {
3869 output.WriteRawTag(32);
3870 output.WriteInt64(ActivePrimalVariableCount);
3871 }
3872 if (HasActiveDualVariableCount) {
3873 output.WriteRawTag(40);
3874 output.WriteInt64(ActiveDualVariableCount);
3875 }
3876 if (HasActivePrimalVariableChange) {
3877 output.WriteRawTag(48);
3878 output.WriteInt64(ActivePrimalVariableChange);
3879 }
3880 if (HasActiveDualVariableChange) {
3881 output.WriteRawTag(56);
3882 output.WriteInt64(ActiveDualVariableChange);
3883 }
3884 if (_unknownFields != null) {
3885 _unknownFields.WriteTo(ref output);
3886 }
3887 }
3888 #endif
3889
3890 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3891 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3892 public int CalculateSize() {
3893 int size = 0;
3894 if (HasPointType) {
3895 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PointType);
3896 }
3897 size += randomPrimalProjections_.CalculateSize(_repeated_randomPrimalProjections_codec);
3898 size += randomDualProjections_.CalculateSize(_repeated_randomDualProjections_codec);
3899 if (HasActivePrimalVariableCount) {
3900 size += 1 + pb::CodedOutputStream.ComputeInt64Size(ActivePrimalVariableCount);
3901 }
3902 if (HasActiveDualVariableCount) {
3903 size += 1 + pb::CodedOutputStream.ComputeInt64Size(ActiveDualVariableCount);
3904 }
3905 if (HasActivePrimalVariableChange) {
3906 size += 1 + pb::CodedOutputStream.ComputeInt64Size(ActivePrimalVariableChange);
3907 }
3908 if (HasActiveDualVariableChange) {
3909 size += 1 + pb::CodedOutputStream.ComputeInt64Size(ActiveDualVariableChange);
3910 }
3911 if (_unknownFields != null) {
3912 size += _unknownFields.CalculateSize();
3913 }
3914 return size;
3915 }
3916
3917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3918 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3919 public void MergeFrom(PointMetadata other) {
3920 if (other == null) {
3921 return;
3922 }
3923 if (other.HasPointType) {
3924 PointType = other.PointType;
3925 }
3926 randomPrimalProjections_.Add(other.randomPrimalProjections_);
3927 randomDualProjections_.Add(other.randomDualProjections_);
3928 if (other.HasActivePrimalVariableCount) {
3929 ActivePrimalVariableCount = other.ActivePrimalVariableCount;
3930 }
3931 if (other.HasActiveDualVariableCount) {
3932 ActiveDualVariableCount = other.ActiveDualVariableCount;
3933 }
3935 ActivePrimalVariableChange = other.ActivePrimalVariableChange;
3936 }
3937 if (other.HasActiveDualVariableChange) {
3938 ActiveDualVariableChange = other.ActiveDualVariableChange;
3939 }
3940 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3941 }
3942
3943 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3944 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3945 public void MergeFrom(pb::CodedInputStream input) {
3946 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3947 input.ReadRawMessage(this);
3948 #else
3949 uint tag;
3950 while ((tag = input.ReadTag()) != 0) {
3951 switch(tag) {
3952 default:
3953 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3954 break;
3955 case 8: {
3956 PointType = (global::Google.OrTools.PDLP.PointType) input.ReadEnum();
3957 break;
3958 }
3959 case 18:
3960 case 17: {
3961 randomPrimalProjections_.AddEntriesFrom(input, _repeated_randomPrimalProjections_codec);
3962 break;
3963 }
3964 case 26:
3965 case 25: {
3966 randomDualProjections_.AddEntriesFrom(input, _repeated_randomDualProjections_codec);
3967 break;
3968 }
3969 case 32: {
3970 ActivePrimalVariableCount = input.ReadInt64();
3971 break;
3972 }
3973 case 40: {
3974 ActiveDualVariableCount = input.ReadInt64();
3975 break;
3976 }
3977 case 48: {
3978 ActivePrimalVariableChange = input.ReadInt64();
3979 break;
3980 }
3981 case 56: {
3982 ActiveDualVariableChange = input.ReadInt64();
3983 break;
3984 }
3985 }
3986 }
3987 #endif
3988 }
3989
3990 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3991 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3992 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3993 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3994 uint tag;
3995 while ((tag = input.ReadTag()) != 0) {
3996 switch(tag) {
3997 default:
3998 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3999 break;
4000 case 8: {
4001 PointType = (global::Google.OrTools.PDLP.PointType) input.ReadEnum();
4002 break;
4003 }
4004 case 18:
4005 case 17: {
4006 randomPrimalProjections_.AddEntriesFrom(ref input, _repeated_randomPrimalProjections_codec);
4007 break;
4008 }
4009 case 26:
4010 case 25: {
4011 randomDualProjections_.AddEntriesFrom(ref input, _repeated_randomDualProjections_codec);
4012 break;
4013 }
4014 case 32: {
4015 ActivePrimalVariableCount = input.ReadInt64();
4016 break;
4017 }
4018 case 40: {
4019 ActiveDualVariableCount = input.ReadInt64();
4020 break;
4021 }
4022 case 48: {
4023 ActivePrimalVariableChange = input.ReadInt64();
4024 break;
4025 }
4026 case 56: {
4027 ActiveDualVariableChange = input.ReadInt64();
4028 break;
4029 }
4030 }
4031 }
4032 }
4033 #endif
4034
4035 }
4036
4044 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
4045 public sealed partial class IterationStats : pb::IMessage<IterationStats>
4046 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4047 , pb::IBufferMessage
4048 #endif
4049 {
4050 private static readonly pb::MessageParser<IterationStats> _parser = new pb::MessageParser<IterationStats>(() => new IterationStats());
4051 private pb::UnknownFieldSet _unknownFields;
4052 private int _hasBits0;
4053 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4054 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4055 public static pb::MessageParser<IterationStats> Parser { get { return _parser; } }
4056
4057 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4058 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4059 public static pbr::MessageDescriptor Descriptor {
4060 get { return global::Google.OrTools.PDLP.SolveLogReflection.Descriptor.MessageTypes[4]; }
4061 }
4062
4063 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4064 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4065 pbr::MessageDescriptor pb::IMessage.Descriptor {
4066 get { return Descriptor; }
4067 }
4068
4069 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4070 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4072 OnConstruction();
4073 }
4074
4075 partial void OnConstruction();
4076
4077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4078 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4079 public IterationStats(IterationStats other) : this() {
4080 _hasBits0 = other._hasBits0;
4081 iterationNumber_ = other.iterationNumber_;
4082 convergenceInformation_ = other.convergenceInformation_.Clone();
4083 infeasibilityInformation_ = other.infeasibilityInformation_.Clone();
4084 pointMetadata_ = other.pointMetadata_.Clone();
4085 cumulativeKktMatrixPasses_ = other.cumulativeKktMatrixPasses_;
4086 cumulativeRejectedSteps_ = other.cumulativeRejectedSteps_;
4087 cumulativeTimeSec_ = other.cumulativeTimeSec_;
4088 restartUsed_ = other.restartUsed_;
4089 stepSize_ = other.stepSize_;
4090 primalWeight_ = other.primalWeight_;
4091 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4092 }
4093
4094 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4095 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4097 return new IterationStats(this);
4098 }
4099
4101 public const int IterationNumberFieldNumber = 1;
4102 private readonly static int IterationNumberDefaultValue = 0;
4103
4104 private int iterationNumber_;
4111 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4112 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4113 public int IterationNumber {
4114 get { if ((_hasBits0 & 1) != 0) { return iterationNumber_; } else { return IterationNumberDefaultValue; } }
4115 set {
4116 _hasBits0 |= 1;
4117 iterationNumber_ = value;
4118 }
4119 }
4121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4122 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4123 public bool HasIterationNumber {
4124 get { return (_hasBits0 & 1) != 0; }
4125 }
4127 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4128 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4129 public void ClearIterationNumber() {
4130 _hasBits0 &= ~1;
4131 }
4132
4134 public const int ConvergenceInformationFieldNumber = 2;
4135 private static readonly pb::FieldCodec<global::Google.OrTools.PDLP.ConvergenceInformation> _repeated_convergenceInformation_codec
4136 = pb::FieldCodec.ForMessage(18, global::Google.OrTools.PDLP.ConvergenceInformation.Parser);
4137 private readonly pbc::RepeatedField<global::Google.OrTools.PDLP.ConvergenceInformation> convergenceInformation_ = new pbc::RepeatedField<global::Google.OrTools.PDLP.ConvergenceInformation>();
4143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4144 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4145 public pbc::RepeatedField<global::Google.OrTools.PDLP.ConvergenceInformation> ConvergenceInformation {
4146 get { return convergenceInformation_; }
4147 }
4148
4150 public const int InfeasibilityInformationFieldNumber = 3;
4151 private static readonly pb::FieldCodec<global::Google.OrTools.PDLP.InfeasibilityInformation> _repeated_infeasibilityInformation_codec
4152 = pb::FieldCodec.ForMessage(26, global::Google.OrTools.PDLP.InfeasibilityInformation.Parser);
4153 private readonly pbc::RepeatedField<global::Google.OrTools.PDLP.InfeasibilityInformation> infeasibilityInformation_ = new pbc::RepeatedField<global::Google.OrTools.PDLP.InfeasibilityInformation>();
4159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4160 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4161 public pbc::RepeatedField<global::Google.OrTools.PDLP.InfeasibilityInformation> InfeasibilityInformation {
4162 get { return infeasibilityInformation_; }
4163 }
4164
4166 public const int PointMetadataFieldNumber = 11;
4167 private static readonly pb::FieldCodec<global::Google.OrTools.PDLP.PointMetadata> _repeated_pointMetadata_codec
4168 = pb::FieldCodec.ForMessage(90, global::Google.OrTools.PDLP.PointMetadata.Parser);
4169 private readonly pbc::RepeatedField<global::Google.OrTools.PDLP.PointMetadata> pointMetadata_ = new pbc::RepeatedField<global::Google.OrTools.PDLP.PointMetadata>();
4173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4174 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4175 public pbc::RepeatedField<global::Google.OrTools.PDLP.PointMetadata> PointMetadata {
4176 get { return pointMetadata_; }
4177 }
4178
4180 public const int CumulativeKktMatrixPassesFieldNumber = 4;
4181 private readonly static double CumulativeKktMatrixPassesDefaultValue = 0D;
4182
4183 private double cumulativeKktMatrixPasses_;
4195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4196 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4197 public double CumulativeKktMatrixPasses {
4198 get { if ((_hasBits0 & 2) != 0) { return cumulativeKktMatrixPasses_; } else { return CumulativeKktMatrixPassesDefaultValue; } }
4199 set {
4200 _hasBits0 |= 2;
4201 cumulativeKktMatrixPasses_ = value;
4202 }
4203 }
4205 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4206 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4207 public bool HasCumulativeKktMatrixPasses {
4208 get { return (_hasBits0 & 2) != 0; }
4209 }
4211 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4212 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4213 public void ClearCumulativeKktMatrixPasses() {
4214 _hasBits0 &= ~2;
4215 }
4216
4218 public const int CumulativeRejectedStepsFieldNumber = 5;
4219 private readonly static int CumulativeRejectedStepsDefaultValue = 0;
4220
4221 private int cumulativeRejectedSteps_;
4226 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4227 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4228 public int CumulativeRejectedSteps {
4229 get { if ((_hasBits0 & 4) != 0) { return cumulativeRejectedSteps_; } else { return CumulativeRejectedStepsDefaultValue; } }
4230 set {
4231 _hasBits0 |= 4;
4232 cumulativeRejectedSteps_ = value;
4233 }
4234 }
4236 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4237 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4238 public bool HasCumulativeRejectedSteps {
4239 get { return (_hasBits0 & 4) != 0; }
4240 }
4242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4243 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4244 public void ClearCumulativeRejectedSteps() {
4245 _hasBits0 &= ~4;
4246 }
4247
4249 public const int CumulativeTimeSecFieldNumber = 6;
4250 private readonly static double CumulativeTimeSecDefaultValue = 0D;
4251
4252 private double cumulativeTimeSec_;
4257 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4258 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4259 public double CumulativeTimeSec {
4260 get { if ((_hasBits0 & 8) != 0) { return cumulativeTimeSec_; } else { return CumulativeTimeSecDefaultValue; } }
4261 set {
4262 _hasBits0 |= 8;
4263 cumulativeTimeSec_ = value;
4264 }
4265 }
4267 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4268 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4269 public bool HasCumulativeTimeSec {
4270 get { return (_hasBits0 & 8) != 0; }
4271 }
4273 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4274 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4275 public void ClearCumulativeTimeSec() {
4276 _hasBits0 &= ~8;
4277 }
4278
4280 public const int RestartUsedFieldNumber = 7;
4281 private readonly static global::Google.OrTools.PDLP.RestartChoice RestartUsedDefaultValue = global::Google.OrTools.PDLP.RestartChoice.Unspecified;
4282
4283 private global::Google.OrTools.PDLP.RestartChoice restartUsed_;
4288 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4289 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4290 public global::Google.OrTools.PDLP.RestartChoice RestartUsed {
4291 get { if ((_hasBits0 & 16) != 0) { return restartUsed_; } else { return RestartUsedDefaultValue; } }
4292 set {
4293 _hasBits0 |= 16;
4294 restartUsed_ = value;
4295 }
4296 }
4298 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4299 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4300 public bool HasRestartUsed {
4301 get { return (_hasBits0 & 16) != 0; }
4302 }
4304 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4305 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4306 public void ClearRestartUsed() {
4307 _hasBits0 &= ~16;
4308 }
4309
4311 public const int StepSizeFieldNumber = 8;
4312 private readonly static double StepSizeDefaultValue = 0D;
4313
4314 private double stepSize_;
4320 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4321 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4322 public double StepSize {
4323 get { if ((_hasBits0 & 32) != 0) { return stepSize_; } else { return StepSizeDefaultValue; } }
4324 set {
4325 _hasBits0 |= 32;
4326 stepSize_ = value;
4327 }
4328 }
4330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4331 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4332 public bool HasStepSize {
4333 get { return (_hasBits0 & 32) != 0; }
4334 }
4336 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4337 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4338 public void ClearStepSize() {
4339 _hasBits0 &= ~32;
4340 }
4341
4343 public const int PrimalWeightFieldNumber = 9;
4344 private readonly static double PrimalWeightDefaultValue = 0D;
4345
4346 private double primalWeight_;
4351 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4352 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4353 public double PrimalWeight {
4354 get { if ((_hasBits0 & 64) != 0) { return primalWeight_; } else { return PrimalWeightDefaultValue; } }
4355 set {
4356 _hasBits0 |= 64;
4357 primalWeight_ = value;
4358 }
4359 }
4361 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4362 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4363 public bool HasPrimalWeight {
4364 get { return (_hasBits0 & 64) != 0; }
4365 }
4367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4368 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4369 public void ClearPrimalWeight() {
4370 _hasBits0 &= ~64;
4371 }
4372
4373 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4374 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4375 public override bool Equals(object other) {
4376 return Equals(other as IterationStats);
4377 }
4378
4379 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4380 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4381 public bool Equals(IterationStats other) {
4382 if (ReferenceEquals(other, null)) {
4383 return false;
4384 }
4385 if (ReferenceEquals(other, this)) {
4386 return true;
4387 }
4388 if (IterationNumber != other.IterationNumber) return false;
4389 if(!convergenceInformation_.Equals(other.convergenceInformation_)) return false;
4390 if(!infeasibilityInformation_.Equals(other.infeasibilityInformation_)) return false;
4391 if(!pointMetadata_.Equals(other.pointMetadata_)) return false;
4392 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CumulativeKktMatrixPasses, other.CumulativeKktMatrixPasses)) return false;
4393 if (CumulativeRejectedSteps != other.CumulativeRejectedSteps) return false;
4394 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(CumulativeTimeSec, other.CumulativeTimeSec)) return false;
4395 if (RestartUsed != other.RestartUsed) return false;
4396 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(StepSize, other.StepSize)) return false;
4397 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PrimalWeight, other.PrimalWeight)) return false;
4398 return Equals(_unknownFields, other._unknownFields);
4399 }
4400
4401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4402 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4403 public override int GetHashCode() {
4404 int hash = 1;
4405 if (HasIterationNumber) hash ^= IterationNumber.GetHashCode();
4406 hash ^= convergenceInformation_.GetHashCode();
4407 hash ^= infeasibilityInformation_.GetHashCode();
4408 hash ^= pointMetadata_.GetHashCode();
4409 if (HasCumulativeKktMatrixPasses) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CumulativeKktMatrixPasses);
4410 if (HasCumulativeRejectedSteps) hash ^= CumulativeRejectedSteps.GetHashCode();
4411 if (HasCumulativeTimeSec) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CumulativeTimeSec);
4412 if (HasRestartUsed) hash ^= RestartUsed.GetHashCode();
4413 if (HasStepSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(StepSize);
4414 if (HasPrimalWeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PrimalWeight);
4415 if (_unknownFields != null) {
4416 hash ^= _unknownFields.GetHashCode();
4417 }
4418 return hash;
4419 }
4420
4421 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4422 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4423 public override string ToString() {
4424 return pb::JsonFormatter.ToDiagnosticString(this);
4425 }
4426
4427 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4428 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4429 public void WriteTo(pb::CodedOutputStream output) {
4430 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4431 output.WriteRawMessage(this);
4432 #else
4433 if (HasIterationNumber) {
4434 output.WriteRawTag(8);
4435 output.WriteInt32(IterationNumber);
4436 }
4437 convergenceInformation_.WriteTo(output, _repeated_convergenceInformation_codec);
4438 infeasibilityInformation_.WriteTo(output, _repeated_infeasibilityInformation_codec);
4439 if (HasCumulativeKktMatrixPasses) {
4440 output.WriteRawTag(33);
4441 output.WriteDouble(CumulativeKktMatrixPasses);
4442 }
4443 if (HasCumulativeRejectedSteps) {
4444 output.WriteRawTag(40);
4445 output.WriteInt32(CumulativeRejectedSteps);
4446 }
4447 if (HasCumulativeTimeSec) {
4448 output.WriteRawTag(49);
4449 output.WriteDouble(CumulativeTimeSec);
4450 }
4451 if (HasRestartUsed) {
4452 output.WriteRawTag(56);
4453 output.WriteEnum((int) RestartUsed);
4454 }
4455 if (HasStepSize) {
4456 output.WriteRawTag(65);
4457 output.WriteDouble(StepSize);
4458 }
4459 if (HasPrimalWeight) {
4460 output.WriteRawTag(73);
4461 output.WriteDouble(PrimalWeight);
4462 }
4463 pointMetadata_.WriteTo(output, _repeated_pointMetadata_codec);
4464 if (_unknownFields != null) {
4465 _unknownFields.WriteTo(output);
4466 }
4467 #endif
4468 }
4469
4470 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4471 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4472 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4473 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4474 if (HasIterationNumber) {
4475 output.WriteRawTag(8);
4476 output.WriteInt32(IterationNumber);
4477 }
4478 convergenceInformation_.WriteTo(ref output, _repeated_convergenceInformation_codec);
4479 infeasibilityInformation_.WriteTo(ref output, _repeated_infeasibilityInformation_codec);
4480 if (HasCumulativeKktMatrixPasses) {
4481 output.WriteRawTag(33);
4482 output.WriteDouble(CumulativeKktMatrixPasses);
4483 }
4484 if (HasCumulativeRejectedSteps) {
4485 output.WriteRawTag(40);
4486 output.WriteInt32(CumulativeRejectedSteps);
4487 }
4488 if (HasCumulativeTimeSec) {
4489 output.WriteRawTag(49);
4490 output.WriteDouble(CumulativeTimeSec);
4491 }
4492 if (HasRestartUsed) {
4493 output.WriteRawTag(56);
4494 output.WriteEnum((int) RestartUsed);
4495 }
4496 if (HasStepSize) {
4497 output.WriteRawTag(65);
4498 output.WriteDouble(StepSize);
4499 }
4500 if (HasPrimalWeight) {
4501 output.WriteRawTag(73);
4502 output.WriteDouble(PrimalWeight);
4503 }
4504 pointMetadata_.WriteTo(ref output, _repeated_pointMetadata_codec);
4505 if (_unknownFields != null) {
4506 _unknownFields.WriteTo(ref output);
4507 }
4508 }
4509 #endif
4510
4511 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4512 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4513 public int CalculateSize() {
4514 int size = 0;
4515 if (HasIterationNumber) {
4516 size += 1 + pb::CodedOutputStream.ComputeInt32Size(IterationNumber);
4517 }
4518 size += convergenceInformation_.CalculateSize(_repeated_convergenceInformation_codec);
4519 size += infeasibilityInformation_.CalculateSize(_repeated_infeasibilityInformation_codec);
4520 size += pointMetadata_.CalculateSize(_repeated_pointMetadata_codec);
4521 if (HasCumulativeKktMatrixPasses) {
4522 size += 1 + 8;
4523 }
4524 if (HasCumulativeRejectedSteps) {
4525 size += 1 + pb::CodedOutputStream.ComputeInt32Size(CumulativeRejectedSteps);
4526 }
4527 if (HasCumulativeTimeSec) {
4528 size += 1 + 8;
4529 }
4530 if (HasRestartUsed) {
4531 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RestartUsed);
4532 }
4533 if (HasStepSize) {
4534 size += 1 + 8;
4535 }
4536 if (HasPrimalWeight) {
4537 size += 1 + 8;
4538 }
4539 if (_unknownFields != null) {
4540 size += _unknownFields.CalculateSize();
4541 }
4542 return size;
4543 }
4544
4545 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4546 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4547 public void MergeFrom(IterationStats other) {
4548 if (other == null) {
4549 return;
4550 }
4551 if (other.HasIterationNumber) {
4552 IterationNumber = other.IterationNumber;
4553 }
4554 convergenceInformation_.Add(other.convergenceInformation_);
4555 infeasibilityInformation_.Add(other.infeasibilityInformation_);
4556 pointMetadata_.Add(other.pointMetadata_);
4557 if (other.HasCumulativeKktMatrixPasses) {
4558 CumulativeKktMatrixPasses = other.CumulativeKktMatrixPasses;
4559 }
4560 if (other.HasCumulativeRejectedSteps) {
4561 CumulativeRejectedSteps = other.CumulativeRejectedSteps;
4562 }
4563 if (other.HasCumulativeTimeSec) {
4564 CumulativeTimeSec = other.CumulativeTimeSec;
4565 }
4566 if (other.HasRestartUsed) {
4567 RestartUsed = other.RestartUsed;
4568 }
4569 if (other.HasStepSize) {
4570 StepSize = other.StepSize;
4571 }
4572 if (other.HasPrimalWeight) {
4573 PrimalWeight = other.PrimalWeight;
4574 }
4575 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4576 }
4577
4578 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4579 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4580 public void MergeFrom(pb::CodedInputStream input) {
4581 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4582 input.ReadRawMessage(this);
4583 #else
4584 uint tag;
4585 while ((tag = input.ReadTag()) != 0) {
4586 switch(tag) {
4587 default:
4588 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4589 break;
4590 case 8: {
4591 IterationNumber = input.ReadInt32();
4592 break;
4593 }
4594 case 18: {
4595 convergenceInformation_.AddEntriesFrom(input, _repeated_convergenceInformation_codec);
4596 break;
4597 }
4598 case 26: {
4599 infeasibilityInformation_.AddEntriesFrom(input, _repeated_infeasibilityInformation_codec);
4600 break;
4601 }
4602 case 33: {
4603 CumulativeKktMatrixPasses = input.ReadDouble();
4604 break;
4605 }
4606 case 40: {
4607 CumulativeRejectedSteps = input.ReadInt32();
4608 break;
4609 }
4610 case 49: {
4611 CumulativeTimeSec = input.ReadDouble();
4612 break;
4613 }
4614 case 56: {
4615 RestartUsed = (global::Google.OrTools.PDLP.RestartChoice) input.ReadEnum();
4616 break;
4617 }
4618 case 65: {
4619 StepSize = input.ReadDouble();
4620 break;
4621 }
4622 case 73: {
4623 PrimalWeight = input.ReadDouble();
4624 break;
4625 }
4626 case 90: {
4627 pointMetadata_.AddEntriesFrom(input, _repeated_pointMetadata_codec);
4628 break;
4629 }
4630 }
4631 }
4632 #endif
4633 }
4634
4635 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4636 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4637 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4638 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4639 uint tag;
4640 while ((tag = input.ReadTag()) != 0) {
4641 switch(tag) {
4642 default:
4643 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4644 break;
4645 case 8: {
4646 IterationNumber = input.ReadInt32();
4647 break;
4648 }
4649 case 18: {
4650 convergenceInformation_.AddEntriesFrom(ref input, _repeated_convergenceInformation_codec);
4651 break;
4652 }
4653 case 26: {
4654 infeasibilityInformation_.AddEntriesFrom(ref input, _repeated_infeasibilityInformation_codec);
4655 break;
4656 }
4657 case 33: {
4658 CumulativeKktMatrixPasses = input.ReadDouble();
4659 break;
4660 }
4661 case 40: {
4662 CumulativeRejectedSteps = input.ReadInt32();
4663 break;
4664 }
4665 case 49: {
4666 CumulativeTimeSec = input.ReadDouble();
4667 break;
4668 }
4669 case 56: {
4670 RestartUsed = (global::Google.OrTools.PDLP.RestartChoice) input.ReadEnum();
4671 break;
4672 }
4673 case 65: {
4674 StepSize = input.ReadDouble();
4675 break;
4676 }
4677 case 73: {
4678 PrimalWeight = input.ReadDouble();
4679 break;
4680 }
4681 case 90: {
4682 pointMetadata_.AddEntriesFrom(ref input, _repeated_pointMetadata_codec);
4683 break;
4684 }
4685 }
4686 }
4687 }
4688 #endif
4689
4690 }
4691
4697 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
4698 public sealed partial class FeasibilityPolishingDetails : pb::IMessage<FeasibilityPolishingDetails>
4699 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4700 , pb::IBufferMessage
4701 #endif
4702 {
4703 private static readonly pb::MessageParser<FeasibilityPolishingDetails> _parser = new pb::MessageParser<FeasibilityPolishingDetails>(() => new FeasibilityPolishingDetails());
4704 private pb::UnknownFieldSet _unknownFields;
4705 private int _hasBits0;
4706 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4707 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4708 public static pb::MessageParser<FeasibilityPolishingDetails> Parser { get { return _parser; } }
4710 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4711 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4712 public static pbr::MessageDescriptor Descriptor {
4713 get { return global::Google.OrTools.PDLP.SolveLogReflection.Descriptor.MessageTypes[5]; }
4714 }
4715
4716 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4717 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4718 pbr::MessageDescriptor pb::IMessage.Descriptor {
4719 get { return Descriptor; }
4720 }
4721
4722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4723 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4724 public FeasibilityPolishingDetails() {
4725 OnConstruction();
4726 }
4727
4728 partial void OnConstruction();
4729
4730 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4731 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4733 _hasBits0 = other._hasBits0;
4734 polishingPhaseType_ = other.polishingPhaseType_;
4735 mainIterationCount_ = other.mainIterationCount_;
4736 params_ = other.params_ != null ? other.params_.Clone() : null;
4737 terminationReason_ = other.terminationReason_;
4738 iterationCount_ = other.iterationCount_;
4739 solveTimeSec_ = other.solveTimeSec_;
4740 solutionStats_ = other.solutionStats_ != null ? other.solutionStats_.Clone() : null;
4741 solutionType_ = other.solutionType_;
4742 iterationStats_ = other.iterationStats_.Clone();
4743 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4744 }
4745
4746 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4747 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4748 public FeasibilityPolishingDetails Clone() {
4750 }
4751
4753 public const int PolishingPhaseTypeFieldNumber = 1;
4754 private readonly static global::Google.OrTools.PDLP.PolishingPhaseType PolishingPhaseTypeDefaultValue = global::Google.OrTools.PDLP.PolishingPhaseType.Unspecified;
4755
4756 private global::Google.OrTools.PDLP.PolishingPhaseType polishingPhaseType_;
4757 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4758 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4759 public global::Google.OrTools.PDLP.PolishingPhaseType PolishingPhaseType {
4760 get { if ((_hasBits0 & 1) != 0) { return polishingPhaseType_; } else { return PolishingPhaseTypeDefaultValue; } }
4761 set {
4762 _hasBits0 |= 1;
4763 polishingPhaseType_ = value;
4764 }
4765 }
4767 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4768 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4769 public bool HasPolishingPhaseType {
4770 get { return (_hasBits0 & 1) != 0; }
4771 }
4773 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4774 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4775 public void ClearPolishingPhaseType() {
4776 _hasBits0 &= ~1;
4777 }
4778
4780 public const int MainIterationCountFieldNumber = 2;
4781 private readonly static int MainIterationCountDefaultValue = 0;
4782
4783 private int mainIterationCount_;
4788 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4789 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4790 public int MainIterationCount {
4791 get { if ((_hasBits0 & 2) != 0) { return mainIterationCount_; } else { return MainIterationCountDefaultValue; } }
4792 set {
4793 _hasBits0 |= 2;
4794 mainIterationCount_ = value;
4795 }
4796 }
4798 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4799 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4800 public bool HasMainIterationCount {
4801 get { return (_hasBits0 & 2) != 0; }
4802 }
4804 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4805 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4806 public void ClearMainIterationCount() {
4807 _hasBits0 &= ~2;
4808 }
4809
4811 public const int ParamsFieldNumber = 3;
4812 private global::Google.OrTools.PDLP.PrimalDualHybridGradientParams params_;
4813 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4814 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4815 public global::Google.OrTools.PDLP.PrimalDualHybridGradientParams Params {
4816 get { return params_; }
4817 set {
4818 params_ = value;
4819 }
4820 }
4821
4823 public const int TerminationReasonFieldNumber = 4;
4824 private readonly static global::Google.OrTools.PDLP.TerminationReason TerminationReasonDefaultValue = global::Google.OrTools.PDLP.TerminationReason.Unspecified;
4825
4826 private global::Google.OrTools.PDLP.TerminationReason terminationReason_;
4827 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4828 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4829 public global::Google.OrTools.PDLP.TerminationReason TerminationReason {
4830 get { if ((_hasBits0 & 4) != 0) { return terminationReason_; } else { return TerminationReasonDefaultValue; } }
4831 set {
4832 _hasBits0 |= 4;
4833 terminationReason_ = value;
4834 }
4835 }
4837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4838 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4839 public bool HasTerminationReason {
4840 get { return (_hasBits0 & 4) != 0; }
4841 }
4843 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4844 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4845 public void ClearTerminationReason() {
4846 _hasBits0 &= ~4;
4847 }
4848
4850 public const int IterationCountFieldNumber = 5;
4851 private readonly static int IterationCountDefaultValue = 0;
4852
4853 private int iterationCount_;
4854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4855 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4856 public int IterationCount {
4857 get { if ((_hasBits0 & 8) != 0) { return iterationCount_; } else { return IterationCountDefaultValue; } }
4858 set {
4859 _hasBits0 |= 8;
4860 iterationCount_ = value;
4861 }
4862 }
4864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4865 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4866 public bool HasIterationCount {
4867 get { return (_hasBits0 & 8) != 0; }
4868 }
4870 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4871 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4872 public void ClearIterationCount() {
4873 _hasBits0 &= ~8;
4874 }
4875
4877 public const int SolveTimeSecFieldNumber = 6;
4878 private readonly static double SolveTimeSecDefaultValue = 0D;
4879
4880 private double solveTimeSec_;
4881 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4882 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4883 public double SolveTimeSec {
4884 get { if ((_hasBits0 & 16) != 0) { return solveTimeSec_; } else { return SolveTimeSecDefaultValue; } }
4885 set {
4886 _hasBits0 |= 16;
4887 solveTimeSec_ = value;
4888 }
4889 }
4891 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4892 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4893 public bool HasSolveTimeSec {
4894 get { return (_hasBits0 & 16) != 0; }
4895 }
4897 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4898 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4899 public void ClearSolveTimeSec() {
4900 _hasBits0 &= ~16;
4901 }
4902
4904 public const int SolutionStatsFieldNumber = 7;
4905 private global::Google.OrTools.PDLP.IterationStats solutionStats_;
4906 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4907 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4908 public global::Google.OrTools.PDLP.IterationStats SolutionStats {
4909 get { return solutionStats_; }
4910 set {
4911 solutionStats_ = value;
4912 }
4913 }
4914
4916 public const int SolutionTypeFieldNumber = 8;
4917 private readonly static global::Google.OrTools.PDLP.PointType SolutionTypeDefaultValue = global::Google.OrTools.PDLP.PointType.Unspecified;
4918
4919 private global::Google.OrTools.PDLP.PointType solutionType_;
4920 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4921 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4922 public global::Google.OrTools.PDLP.PointType SolutionType {
4923 get { if ((_hasBits0 & 32) != 0) { return solutionType_; } else { return SolutionTypeDefaultValue; } }
4924 set {
4925 _hasBits0 |= 32;
4926 solutionType_ = value;
4927 }
4928 }
4930 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4931 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4932 public bool HasSolutionType {
4933 get { return (_hasBits0 & 32) != 0; }
4934 }
4936 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4937 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4938 public void ClearSolutionType() {
4939 _hasBits0 &= ~32;
4940 }
4941
4943 public const int IterationStatsFieldNumber = 9;
4944 private static readonly pb::FieldCodec<global::Google.OrTools.PDLP.IterationStats> _repeated_iterationStats_codec
4945 = pb::FieldCodec.ForMessage(74, global::Google.OrTools.PDLP.IterationStats.Parser);
4946 private readonly pbc::RepeatedField<global::Google.OrTools.PDLP.IterationStats> iterationStats_ = new pbc::RepeatedField<global::Google.OrTools.PDLP.IterationStats>();
4947 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4948 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4949 public pbc::RepeatedField<global::Google.OrTools.PDLP.IterationStats> IterationStats {
4950 get { return iterationStats_; }
4951 }
4952
4953 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4954 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4955 public override bool Equals(object other) {
4957 }
4958
4959 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4960 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4961 public bool Equals(FeasibilityPolishingDetails other) {
4962 if (ReferenceEquals(other, null)) {
4963 return false;
4964 }
4965 if (ReferenceEquals(other, this)) {
4966 return true;
4967 }
4968 if (PolishingPhaseType != other.PolishingPhaseType) return false;
4969 if (MainIterationCount != other.MainIterationCount) return false;
4970 if (!object.Equals(Params, other.Params)) return false;
4971 if (TerminationReason != other.TerminationReason) return false;
4972 if (IterationCount != other.IterationCount) return false;
4973 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SolveTimeSec, other.SolveTimeSec)) return false;
4974 if (!object.Equals(SolutionStats, other.SolutionStats)) return false;
4975 if (SolutionType != other.SolutionType) return false;
4976 if(!iterationStats_.Equals(other.iterationStats_)) return false;
4977 return Equals(_unknownFields, other._unknownFields);
4978 }
4979
4980 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4981 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4982 public override int GetHashCode() {
4983 int hash = 1;
4984 if (HasPolishingPhaseType) hash ^= PolishingPhaseType.GetHashCode();
4985 if (HasMainIterationCount) hash ^= MainIterationCount.GetHashCode();
4986 if (params_ != null) hash ^= Params.GetHashCode();
4987 if (HasTerminationReason) hash ^= TerminationReason.GetHashCode();
4988 if (HasIterationCount) hash ^= IterationCount.GetHashCode();
4989 if (HasSolveTimeSec) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SolveTimeSec);
4990 if (solutionStats_ != null) hash ^= SolutionStats.GetHashCode();
4991 if (HasSolutionType) hash ^= SolutionType.GetHashCode();
4992 hash ^= iterationStats_.GetHashCode();
4993 if (_unknownFields != null) {
4994 hash ^= _unknownFields.GetHashCode();
4995 }
4996 return hash;
4997 }
4998
4999 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5000 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5001 public override string ToString() {
5002 return pb::JsonFormatter.ToDiagnosticString(this);
5003 }
5004
5005 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5006 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5007 public void WriteTo(pb::CodedOutputStream output) {
5008 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5009 output.WriteRawMessage(this);
5010 #else
5011 if (HasPolishingPhaseType) {
5012 output.WriteRawTag(8);
5013 output.WriteEnum((int) PolishingPhaseType);
5014 }
5015 if (HasMainIterationCount) {
5016 output.WriteRawTag(16);
5017 output.WriteInt32(MainIterationCount);
5018 }
5019 if (params_ != null) {
5020 output.WriteRawTag(26);
5021 output.WriteMessage(Params);
5022 }
5023 if (HasTerminationReason) {
5024 output.WriteRawTag(32);
5025 output.WriteEnum((int) TerminationReason);
5026 }
5027 if (HasIterationCount) {
5028 output.WriteRawTag(40);
5029 output.WriteInt32(IterationCount);
5030 }
5031 if (HasSolveTimeSec) {
5032 output.WriteRawTag(49);
5033 output.WriteDouble(SolveTimeSec);
5034 }
5035 if (solutionStats_ != null) {
5036 output.WriteRawTag(58);
5037 output.WriteMessage(SolutionStats);
5038 }
5039 if (HasSolutionType) {
5040 output.WriteRawTag(64);
5041 output.WriteEnum((int) SolutionType);
5042 }
5043 iterationStats_.WriteTo(output, _repeated_iterationStats_codec);
5044 if (_unknownFields != null) {
5045 _unknownFields.WriteTo(output);
5046 }
5047 #endif
5048 }
5049
5050 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5051 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5052 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5053 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5054 if (HasPolishingPhaseType) {
5055 output.WriteRawTag(8);
5056 output.WriteEnum((int) PolishingPhaseType);
5057 }
5058 if (HasMainIterationCount) {
5059 output.WriteRawTag(16);
5060 output.WriteInt32(MainIterationCount);
5061 }
5062 if (params_ != null) {
5063 output.WriteRawTag(26);
5064 output.WriteMessage(Params);
5065 }
5066 if (HasTerminationReason) {
5067 output.WriteRawTag(32);
5068 output.WriteEnum((int) TerminationReason);
5069 }
5070 if (HasIterationCount) {
5071 output.WriteRawTag(40);
5072 output.WriteInt32(IterationCount);
5073 }
5074 if (HasSolveTimeSec) {
5075 output.WriteRawTag(49);
5076 output.WriteDouble(SolveTimeSec);
5077 }
5078 if (solutionStats_ != null) {
5079 output.WriteRawTag(58);
5080 output.WriteMessage(SolutionStats);
5081 }
5082 if (HasSolutionType) {
5083 output.WriteRawTag(64);
5084 output.WriteEnum((int) SolutionType);
5085 }
5086 iterationStats_.WriteTo(ref output, _repeated_iterationStats_codec);
5087 if (_unknownFields != null) {
5088 _unknownFields.WriteTo(ref output);
5089 }
5090 }
5091 #endif
5092
5093 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5094 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5095 public int CalculateSize() {
5096 int size = 0;
5097 if (HasPolishingPhaseType) {
5098 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PolishingPhaseType);
5099 }
5100 if (HasMainIterationCount) {
5101 size += 1 + pb::CodedOutputStream.ComputeInt32Size(MainIterationCount);
5102 }
5103 if (params_ != null) {
5104 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Params);
5105 }
5106 if (HasTerminationReason) {
5107 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TerminationReason);
5108 }
5109 if (HasIterationCount) {
5110 size += 1 + pb::CodedOutputStream.ComputeInt32Size(IterationCount);
5111 }
5112 if (HasSolveTimeSec) {
5113 size += 1 + 8;
5114 }
5115 if (solutionStats_ != null) {
5116 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SolutionStats);
5117 }
5118 if (HasSolutionType) {
5119 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SolutionType);
5120 }
5121 size += iterationStats_.CalculateSize(_repeated_iterationStats_codec);
5122 if (_unknownFields != null) {
5123 size += _unknownFields.CalculateSize();
5124 }
5125 return size;
5126 }
5127
5128 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5129 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5130 public void MergeFrom(FeasibilityPolishingDetails other) {
5131 if (other == null) {
5132 return;
5133 }
5134 if (other.HasPolishingPhaseType) {
5135 PolishingPhaseType = other.PolishingPhaseType;
5136 }
5137 if (other.HasMainIterationCount) {
5138 MainIterationCount = other.MainIterationCount;
5139 }
5140 if (other.params_ != null) {
5141 if (params_ == null) {
5142 Params = new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams();
5143 }
5144 Params.MergeFrom(other.Params);
5145 }
5146 if (other.HasTerminationReason) {
5147 TerminationReason = other.TerminationReason;
5148 }
5149 if (other.HasIterationCount) {
5150 IterationCount = other.IterationCount;
5151 }
5152 if (other.HasSolveTimeSec) {
5153 SolveTimeSec = other.SolveTimeSec;
5154 }
5155 if (other.solutionStats_ != null) {
5156 if (solutionStats_ == null) {
5157 SolutionStats = new global::Google.OrTools.PDLP.IterationStats();
5158 }
5159 SolutionStats.MergeFrom(other.SolutionStats);
5160 }
5161 if (other.HasSolutionType) {
5162 SolutionType = other.SolutionType;
5163 }
5164 iterationStats_.Add(other.iterationStats_);
5165 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5166 }
5167
5168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5169 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5170 public void MergeFrom(pb::CodedInputStream input) {
5171 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5172 input.ReadRawMessage(this);
5173 #else
5174 uint tag;
5175 while ((tag = input.ReadTag()) != 0) {
5176 switch(tag) {
5177 default:
5178 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5179 break;
5180 case 8: {
5181 PolishingPhaseType = (global::Google.OrTools.PDLP.PolishingPhaseType) input.ReadEnum();
5182 break;
5183 }
5184 case 16: {
5185 MainIterationCount = input.ReadInt32();
5186 break;
5187 }
5188 case 26: {
5189 if (params_ == null) {
5190 Params = new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams();
5191 }
5192 input.ReadMessage(Params);
5193 break;
5194 }
5195 case 32: {
5196 TerminationReason = (global::Google.OrTools.PDLP.TerminationReason) input.ReadEnum();
5197 break;
5198 }
5199 case 40: {
5200 IterationCount = input.ReadInt32();
5201 break;
5202 }
5203 case 49: {
5204 SolveTimeSec = input.ReadDouble();
5205 break;
5206 }
5207 case 58: {
5208 if (solutionStats_ == null) {
5209 SolutionStats = new global::Google.OrTools.PDLP.IterationStats();
5210 }
5211 input.ReadMessage(SolutionStats);
5212 break;
5213 }
5214 case 64: {
5215 SolutionType = (global::Google.OrTools.PDLP.PointType) input.ReadEnum();
5216 break;
5217 }
5218 case 74: {
5219 iterationStats_.AddEntriesFrom(input, _repeated_iterationStats_codec);
5220 break;
5221 }
5222 }
5223 }
5224 #endif
5225 }
5226
5227 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5229 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5230 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5231 uint tag;
5232 while ((tag = input.ReadTag()) != 0) {
5233 switch(tag) {
5234 default:
5235 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5236 break;
5237 case 8: {
5238 PolishingPhaseType = (global::Google.OrTools.PDLP.PolishingPhaseType) input.ReadEnum();
5239 break;
5240 }
5241 case 16: {
5242 MainIterationCount = input.ReadInt32();
5243 break;
5244 }
5245 case 26: {
5246 if (params_ == null) {
5247 Params = new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams();
5248 }
5249 input.ReadMessage(Params);
5250 break;
5251 }
5252 case 32: {
5253 TerminationReason = (global::Google.OrTools.PDLP.TerminationReason) input.ReadEnum();
5254 break;
5255 }
5256 case 40: {
5257 IterationCount = input.ReadInt32();
5258 break;
5259 }
5260 case 49: {
5261 SolveTimeSec = input.ReadDouble();
5262 break;
5263 }
5264 case 58: {
5265 if (solutionStats_ == null) {
5266 SolutionStats = new global::Google.OrTools.PDLP.IterationStats();
5267 }
5268 input.ReadMessage(SolutionStats);
5269 break;
5270 }
5271 case 64: {
5272 SolutionType = (global::Google.OrTools.PDLP.PointType) input.ReadEnum();
5273 break;
5274 }
5275 case 74: {
5276 iterationStats_.AddEntriesFrom(ref input, _repeated_iterationStats_codec);
5277 break;
5278 }
5279 }
5280 }
5281 }
5282 #endif
5283
5284 }
5285
5286 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
5287 public sealed partial class SolveLog : pb::IMessage<SolveLog>
5288 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5289 , pb::IBufferMessage
5290 #endif
5291 {
5292 private static readonly pb::MessageParser<SolveLog> _parser = new pb::MessageParser<SolveLog>(() => new SolveLog());
5293 private pb::UnknownFieldSet _unknownFields;
5294 private int _hasBits0;
5295 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5296 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5297 public static pb::MessageParser<SolveLog> Parser { get { return _parser; } }
5299 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5300 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5301 public static pbr::MessageDescriptor Descriptor {
5302 get { return global::Google.OrTools.PDLP.SolveLogReflection.Descriptor.MessageTypes[6]; }
5303 }
5304
5305 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5306 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5307 pbr::MessageDescriptor pb::IMessage.Descriptor {
5308 get { return Descriptor; }
5309 }
5310
5311 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5312 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5313 public SolveLog() {
5314 OnConstruction();
5315 }
5316
5317 partial void OnConstruction();
5318
5319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5320 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5321 public SolveLog(SolveLog other) : this() {
5322 _hasBits0 = other._hasBits0;
5323 instanceName_ = other.instanceName_;
5324 params_ = other.params_ != null ? other.params_.Clone() : null;
5325 terminationReason_ = other.terminationReason_;
5326 terminationString_ = other.terminationString_;
5327 iterationCount_ = other.iterationCount_;
5328 preprocessingTimeSec_ = other.preprocessingTimeSec_;
5329 solveTimeSec_ = other.solveTimeSec_;
5330 solutionStats_ = other.solutionStats_ != null ? other.solutionStats_.Clone() : null;
5331 solutionType_ = other.solutionType_;
5332 iterationStats_ = other.iterationStats_.Clone();
5333 originalProblemStats_ = other.originalProblemStats_ != null ? other.originalProblemStats_.Clone() : null;
5334 preprocessedProblemStats_ = other.preprocessedProblemStats_ != null ? other.preprocessedProblemStats_.Clone() : null;
5335 feasibilityPolishingDetails_ = other.feasibilityPolishingDetails_.Clone();
5336 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5337 }
5338
5339 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5340 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5341 public SolveLog Clone() {
5342 return new SolveLog(this);
5343 }
5344
5346 public const int InstanceNameFieldNumber = 1;
5347 private readonly static string InstanceNameDefaultValue = "";
5348
5349 private string instanceName_;
5353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5354 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5355 public string InstanceName {
5356 get { return instanceName_ ?? InstanceNameDefaultValue; }
5357 set {
5358 instanceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5359 }
5360 }
5362 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5363 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5364 public bool HasInstanceName {
5365 get { return instanceName_ != null; }
5366 }
5368 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5369 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5370 public void ClearInstanceName() {
5371 instanceName_ = null;
5372 }
5373
5375 public const int ParamsFieldNumber = 14;
5376 private global::Google.OrTools.PDLP.PrimalDualHybridGradientParams params_;
5380 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5381 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5382 public global::Google.OrTools.PDLP.PrimalDualHybridGradientParams Params {
5383 get { return params_; }
5384 set {
5385 params_ = value;
5386 }
5387 }
5388
5390 public const int TerminationReasonFieldNumber = 3;
5391 private readonly static global::Google.OrTools.PDLP.TerminationReason TerminationReasonDefaultValue = global::Google.OrTools.PDLP.TerminationReason.Unspecified;
5392
5393 private global::Google.OrTools.PDLP.TerminationReason terminationReason_;
5397 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5398 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5399 public global::Google.OrTools.PDLP.TerminationReason TerminationReason {
5400 get { if ((_hasBits0 & 1) != 0) { return terminationReason_; } else { return TerminationReasonDefaultValue; } }
5401 set {
5402 _hasBits0 |= 1;
5403 terminationReason_ = value;
5404 }
5405 }
5407 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5408 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5409 public bool HasTerminationReason {
5410 get { return (_hasBits0 & 1) != 0; }
5411 }
5413 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5414 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5415 public void ClearTerminationReason() {
5416 _hasBits0 &= ~1;
5417 }
5418
5420 public const int TerminationStringFieldNumber = 4;
5421 private readonly static string TerminationStringDefaultValue = "";
5422
5423 private string terminationString_;
5427 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5428 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5429 public string TerminationString {
5430 get { return terminationString_ ?? TerminationStringDefaultValue; }
5431 set {
5432 terminationString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5433 }
5434 }
5436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5437 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5438 public bool HasTerminationString {
5439 get { return terminationString_ != null; }
5440 }
5442 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5443 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5444 public void ClearTerminationString() {
5445 terminationString_ = null;
5446 }
5447
5449 public const int IterationCountFieldNumber = 5;
5450 private readonly static int IterationCountDefaultValue = 0;
5451
5452 private int iterationCount_;
5458 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5459 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5460 public int IterationCount {
5461 get { if ((_hasBits0 & 2) != 0) { return iterationCount_; } else { return IterationCountDefaultValue; } }
5462 set {
5463 _hasBits0 |= 2;
5464 iterationCount_ = value;
5465 }
5466 }
5468 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5469 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5470 public bool HasIterationCount {
5471 get { return (_hasBits0 & 2) != 0; }
5472 }
5474 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5475 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5476 public void ClearIterationCount() {
5477 _hasBits0 &= ~2;
5478 }
5479
5481 public const int PreprocessingTimeSecFieldNumber = 13;
5482 private readonly static double PreprocessingTimeSecDefaultValue = 0D;
5483
5484 private double preprocessingTimeSec_;
5489 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5490 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5491 public double PreprocessingTimeSec {
5492 get { if ((_hasBits0 & 16) != 0) { return preprocessingTimeSec_; } else { return PreprocessingTimeSecDefaultValue; } }
5493 set {
5494 _hasBits0 |= 16;
5495 preprocessingTimeSec_ = value;
5496 }
5497 }
5499 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5500 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5501 public bool HasPreprocessingTimeSec {
5502 get { return (_hasBits0 & 16) != 0; }
5503 }
5505 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5506 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5507 public void ClearPreprocessingTimeSec() {
5508 _hasBits0 &= ~16;
5509 }
5510
5512 public const int SolveTimeSecFieldNumber = 6;
5513 private readonly static double SolveTimeSecDefaultValue = 0D;
5514
5515 private double solveTimeSec_;
5522 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5523 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5524 public double SolveTimeSec {
5525 get { if ((_hasBits0 & 4) != 0) { return solveTimeSec_; } else { return SolveTimeSecDefaultValue; } }
5526 set {
5527 _hasBits0 |= 4;
5528 solveTimeSec_ = value;
5529 }
5530 }
5532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5533 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5534 public bool HasSolveTimeSec {
5535 get { return (_hasBits0 & 4) != 0; }
5536 }
5538 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5539 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5540 public void ClearSolveTimeSec() {
5541 _hasBits0 &= ~4;
5542 }
5543
5545 public const int SolutionStatsFieldNumber = 8;
5546 private global::Google.OrTools.PDLP.IterationStats solutionStats_;
5556 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5557 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5558 public global::Google.OrTools.PDLP.IterationStats SolutionStats {
5559 get { return solutionStats_; }
5560 set {
5561 solutionStats_ = value;
5562 }
5563 }
5564
5566 public const int SolutionTypeFieldNumber = 10;
5567 private readonly static global::Google.OrTools.PDLP.PointType SolutionTypeDefaultValue = global::Google.OrTools.PDLP.PointType.Unspecified;
5568
5569 private global::Google.OrTools.PDLP.PointType solutionType_;
5586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5587 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5588 public global::Google.OrTools.PDLP.PointType SolutionType {
5589 get { if ((_hasBits0 & 8) != 0) { return solutionType_; } else { return SolutionTypeDefaultValue; } }
5590 set {
5591 _hasBits0 |= 8;
5592 solutionType_ = value;
5593 }
5594 }
5596 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5597 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5598 public bool HasSolutionType {
5599 get { return (_hasBits0 & 8) != 0; }
5600 }
5602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5603 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5604 public void ClearSolutionType() {
5605 _hasBits0 &= ~8;
5606 }
5607
5609 public const int IterationStatsFieldNumber = 7;
5610 private static readonly pb::FieldCodec<global::Google.OrTools.PDLP.IterationStats> _repeated_iterationStats_codec
5611 = pb::FieldCodec.ForMessage(58, global::Google.OrTools.PDLP.IterationStats.Parser);
5612 private readonly pbc::RepeatedField<global::Google.OrTools.PDLP.IterationStats> iterationStats_ = new pbc::RepeatedField<global::Google.OrTools.PDLP.IterationStats>();
5623 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5624 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5625 public pbc::RepeatedField<global::Google.OrTools.PDLP.IterationStats> IterationStats {
5626 get { return iterationStats_; }
5627 }
5628
5630 public const int OriginalProblemStatsFieldNumber = 11;
5631 private global::Google.OrTools.PDLP.QuadraticProgramStats originalProblemStats_;
5635 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5636 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5637 public global::Google.OrTools.PDLP.QuadraticProgramStats OriginalProblemStats {
5638 get { return originalProblemStats_; }
5639 set {
5640 originalProblemStats_ = value;
5641 }
5642 }
5643
5645 public const int PreprocessedProblemStatsFieldNumber = 12;
5646 private global::Google.OrTools.PDLP.QuadraticProgramStats preprocessedProblemStats_;
5650 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5651 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5652 public global::Google.OrTools.PDLP.QuadraticProgramStats PreprocessedProblemStats {
5653 get { return preprocessedProblemStats_; }
5654 set {
5655 preprocessedProblemStats_ = value;
5656 }
5657 }
5658
5660 public const int FeasibilityPolishingDetailsFieldNumber = 15;
5661 private static readonly pb::FieldCodec<global::Google.OrTools.PDLP.FeasibilityPolishingDetails> _repeated_feasibilityPolishingDetails_codec
5662 = pb::FieldCodec.ForMessage(122, global::Google.OrTools.PDLP.FeasibilityPolishingDetails.Parser);
5663 private readonly pbc::RepeatedField<global::Google.OrTools.PDLP.FeasibilityPolishingDetails> feasibilityPolishingDetails_ = new pbc::RepeatedField<global::Google.OrTools.PDLP.FeasibilityPolishingDetails>();
5668 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5669 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5670 public pbc::RepeatedField<global::Google.OrTools.PDLP.FeasibilityPolishingDetails> FeasibilityPolishingDetails {
5671 get { return feasibilityPolishingDetails_; }
5672 }
5673
5674 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5675 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5676 public override bool Equals(object other) {
5677 return Equals(other as SolveLog);
5678 }
5679
5680 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5681 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5682 public bool Equals(SolveLog other) {
5683 if (ReferenceEquals(other, null)) {
5684 return false;
5685 }
5686 if (ReferenceEquals(other, this)) {
5687 return true;
5688 }
5689 if (InstanceName != other.InstanceName) return false;
5690 if (!object.Equals(Params, other.Params)) return false;
5691 if (TerminationReason != other.TerminationReason) return false;
5692 if (TerminationString != other.TerminationString) return false;
5693 if (IterationCount != other.IterationCount) return false;
5694 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(PreprocessingTimeSec, other.PreprocessingTimeSec)) return false;
5695 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SolveTimeSec, other.SolveTimeSec)) return false;
5696 if (!object.Equals(SolutionStats, other.SolutionStats)) return false;
5697 if (SolutionType != other.SolutionType) return false;
5698 if(!iterationStats_.Equals(other.iterationStats_)) return false;
5699 if (!object.Equals(OriginalProblemStats, other.OriginalProblemStats)) return false;
5700 if (!object.Equals(PreprocessedProblemStats, other.PreprocessedProblemStats)) return false;
5701 if(!feasibilityPolishingDetails_.Equals(other.feasibilityPolishingDetails_)) return false;
5702 return Equals(_unknownFields, other._unknownFields);
5703 }
5704
5705 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5706 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5707 public override int GetHashCode() {
5708 int hash = 1;
5709 if (HasInstanceName) hash ^= InstanceName.GetHashCode();
5710 if (params_ != null) hash ^= Params.GetHashCode();
5711 if (HasTerminationReason) hash ^= TerminationReason.GetHashCode();
5712 if (HasTerminationString) hash ^= TerminationString.GetHashCode();
5713 if (HasIterationCount) hash ^= IterationCount.GetHashCode();
5714 if (HasPreprocessingTimeSec) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PreprocessingTimeSec);
5715 if (HasSolveTimeSec) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SolveTimeSec);
5716 if (solutionStats_ != null) hash ^= SolutionStats.GetHashCode();
5717 if (HasSolutionType) hash ^= SolutionType.GetHashCode();
5718 hash ^= iterationStats_.GetHashCode();
5719 if (originalProblemStats_ != null) hash ^= OriginalProblemStats.GetHashCode();
5720 if (preprocessedProblemStats_ != null) hash ^= PreprocessedProblemStats.GetHashCode();
5721 hash ^= feasibilityPolishingDetails_.GetHashCode();
5722 if (_unknownFields != null) {
5723 hash ^= _unknownFields.GetHashCode();
5724 }
5725 return hash;
5726 }
5727
5728 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5729 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5730 public override string ToString() {
5731 return pb::JsonFormatter.ToDiagnosticString(this);
5732 }
5733
5734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5735 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5736 public void WriteTo(pb::CodedOutputStream output) {
5737 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5738 output.WriteRawMessage(this);
5739 #else
5740 if (HasInstanceName) {
5741 output.WriteRawTag(10);
5742 output.WriteString(InstanceName);
5743 }
5744 if (HasTerminationReason) {
5745 output.WriteRawTag(24);
5746 output.WriteEnum((int) TerminationReason);
5747 }
5748 if (HasTerminationString) {
5749 output.WriteRawTag(34);
5750 output.WriteString(TerminationString);
5751 }
5752 if (HasIterationCount) {
5753 output.WriteRawTag(40);
5754 output.WriteInt32(IterationCount);
5755 }
5756 if (HasSolveTimeSec) {
5757 output.WriteRawTag(49);
5758 output.WriteDouble(SolveTimeSec);
5759 }
5760 iterationStats_.WriteTo(output, _repeated_iterationStats_codec);
5761 if (solutionStats_ != null) {
5762 output.WriteRawTag(66);
5763 output.WriteMessage(SolutionStats);
5764 }
5765 if (HasSolutionType) {
5766 output.WriteRawTag(80);
5767 output.WriteEnum((int) SolutionType);
5768 }
5769 if (originalProblemStats_ != null) {
5770 output.WriteRawTag(90);
5771 output.WriteMessage(OriginalProblemStats);
5772 }
5773 if (preprocessedProblemStats_ != null) {
5774 output.WriteRawTag(98);
5775 output.WriteMessage(PreprocessedProblemStats);
5776 }
5777 if (HasPreprocessingTimeSec) {
5778 output.WriteRawTag(105);
5779 output.WriteDouble(PreprocessingTimeSec);
5780 }
5781 if (params_ != null) {
5782 output.WriteRawTag(114);
5783 output.WriteMessage(Params);
5784 }
5785 feasibilityPolishingDetails_.WriteTo(output, _repeated_feasibilityPolishingDetails_codec);
5786 if (_unknownFields != null) {
5787 _unknownFields.WriteTo(output);
5788 }
5789 #endif
5790 }
5791
5792 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5793 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5794 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5795 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5796 if (HasInstanceName) {
5797 output.WriteRawTag(10);
5798 output.WriteString(InstanceName);
5799 }
5800 if (HasTerminationReason) {
5801 output.WriteRawTag(24);
5802 output.WriteEnum((int) TerminationReason);
5803 }
5804 if (HasTerminationString) {
5805 output.WriteRawTag(34);
5806 output.WriteString(TerminationString);
5807 }
5808 if (HasIterationCount) {
5809 output.WriteRawTag(40);
5810 output.WriteInt32(IterationCount);
5811 }
5812 if (HasSolveTimeSec) {
5813 output.WriteRawTag(49);
5814 output.WriteDouble(SolveTimeSec);
5815 }
5816 iterationStats_.WriteTo(ref output, _repeated_iterationStats_codec);
5817 if (solutionStats_ != null) {
5818 output.WriteRawTag(66);
5819 output.WriteMessage(SolutionStats);
5820 }
5821 if (HasSolutionType) {
5822 output.WriteRawTag(80);
5823 output.WriteEnum((int) SolutionType);
5824 }
5825 if (originalProblemStats_ != null) {
5826 output.WriteRawTag(90);
5827 output.WriteMessage(OriginalProblemStats);
5828 }
5829 if (preprocessedProblemStats_ != null) {
5830 output.WriteRawTag(98);
5831 output.WriteMessage(PreprocessedProblemStats);
5832 }
5833 if (HasPreprocessingTimeSec) {
5834 output.WriteRawTag(105);
5835 output.WriteDouble(PreprocessingTimeSec);
5836 }
5837 if (params_ != null) {
5838 output.WriteRawTag(114);
5839 output.WriteMessage(Params);
5840 }
5841 feasibilityPolishingDetails_.WriteTo(ref output, _repeated_feasibilityPolishingDetails_codec);
5842 if (_unknownFields != null) {
5843 _unknownFields.WriteTo(ref output);
5844 }
5845 }
5846 #endif
5847
5848 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5849 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5850 public int CalculateSize() {
5851 int size = 0;
5852 if (HasInstanceName) {
5853 size += 1 + pb::CodedOutputStream.ComputeStringSize(InstanceName);
5854 }
5855 if (params_ != null) {
5856 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Params);
5857 }
5858 if (HasTerminationReason) {
5859 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TerminationReason);
5860 }
5861 if (HasTerminationString) {
5862 size += 1 + pb::CodedOutputStream.ComputeStringSize(TerminationString);
5863 }
5864 if (HasIterationCount) {
5865 size += 1 + pb::CodedOutputStream.ComputeInt32Size(IterationCount);
5866 }
5867 if (HasPreprocessingTimeSec) {
5868 size += 1 + 8;
5869 }
5870 if (HasSolveTimeSec) {
5871 size += 1 + 8;
5872 }
5873 if (solutionStats_ != null) {
5874 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SolutionStats);
5875 }
5876 if (HasSolutionType) {
5877 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SolutionType);
5878 }
5879 size += iterationStats_.CalculateSize(_repeated_iterationStats_codec);
5880 if (originalProblemStats_ != null) {
5881 size += 1 + pb::CodedOutputStream.ComputeMessageSize(OriginalProblemStats);
5882 }
5883 if (preprocessedProblemStats_ != null) {
5884 size += 1 + pb::CodedOutputStream.ComputeMessageSize(PreprocessedProblemStats);
5885 }
5886 size += feasibilityPolishingDetails_.CalculateSize(_repeated_feasibilityPolishingDetails_codec);
5887 if (_unknownFields != null) {
5888 size += _unknownFields.CalculateSize();
5889 }
5890 return size;
5891 }
5892
5893 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5894 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5895 public void MergeFrom(SolveLog other) {
5896 if (other == null) {
5897 return;
5898 }
5899 if (other.HasInstanceName) {
5900 InstanceName = other.InstanceName;
5901 }
5902 if (other.params_ != null) {
5903 if (params_ == null) {
5904 Params = new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams();
5905 }
5906 Params.MergeFrom(other.Params);
5907 }
5908 if (other.HasTerminationReason) {
5909 TerminationReason = other.TerminationReason;
5910 }
5911 if (other.HasTerminationString) {
5912 TerminationString = other.TerminationString;
5913 }
5914 if (other.HasIterationCount) {
5915 IterationCount = other.IterationCount;
5916 }
5917 if (other.HasPreprocessingTimeSec) {
5918 PreprocessingTimeSec = other.PreprocessingTimeSec;
5919 }
5920 if (other.HasSolveTimeSec) {
5921 SolveTimeSec = other.SolveTimeSec;
5922 }
5923 if (other.solutionStats_ != null) {
5924 if (solutionStats_ == null) {
5925 SolutionStats = new global::Google.OrTools.PDLP.IterationStats();
5926 }
5927 SolutionStats.MergeFrom(other.SolutionStats);
5928 }
5929 if (other.HasSolutionType) {
5930 SolutionType = other.SolutionType;
5931 }
5932 iterationStats_.Add(other.iterationStats_);
5933 if (other.originalProblemStats_ != null) {
5934 if (originalProblemStats_ == null) {
5935 OriginalProblemStats = new global::Google.OrTools.PDLP.QuadraticProgramStats();
5936 }
5937 OriginalProblemStats.MergeFrom(other.OriginalProblemStats);
5938 }
5939 if (other.preprocessedProblemStats_ != null) {
5940 if (preprocessedProblemStats_ == null) {
5941 PreprocessedProblemStats = new global::Google.OrTools.PDLP.QuadraticProgramStats();
5942 }
5943 PreprocessedProblemStats.MergeFrom(other.PreprocessedProblemStats);
5944 }
5945 feasibilityPolishingDetails_.Add(other.feasibilityPolishingDetails_);
5946 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5947 }
5948
5949 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5950 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5951 public void MergeFrom(pb::CodedInputStream input) {
5952 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5953 input.ReadRawMessage(this);
5954 #else
5955 uint tag;
5956 while ((tag = input.ReadTag()) != 0) {
5957 switch(tag) {
5958 default:
5959 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5960 break;
5961 case 10: {
5962 InstanceName = input.ReadString();
5963 break;
5964 }
5965 case 24: {
5966 TerminationReason = (global::Google.OrTools.PDLP.TerminationReason) input.ReadEnum();
5967 break;
5968 }
5969 case 34: {
5970 TerminationString = input.ReadString();
5971 break;
5972 }
5973 case 40: {
5974 IterationCount = input.ReadInt32();
5975 break;
5976 }
5977 case 49: {
5978 SolveTimeSec = input.ReadDouble();
5979 break;
5980 }
5981 case 58: {
5982 iterationStats_.AddEntriesFrom(input, _repeated_iterationStats_codec);
5983 break;
5984 }
5985 case 66: {
5986 if (solutionStats_ == null) {
5987 SolutionStats = new global::Google.OrTools.PDLP.IterationStats();
5988 }
5989 input.ReadMessage(SolutionStats);
5990 break;
5991 }
5992 case 80: {
5993 SolutionType = (global::Google.OrTools.PDLP.PointType) input.ReadEnum();
5994 break;
5995 }
5996 case 90: {
5997 if (originalProblemStats_ == null) {
5998 OriginalProblemStats = new global::Google.OrTools.PDLP.QuadraticProgramStats();
5999 }
6000 input.ReadMessage(OriginalProblemStats);
6001 break;
6002 }
6003 case 98: {
6004 if (preprocessedProblemStats_ == null) {
6005 PreprocessedProblemStats = new global::Google.OrTools.PDLP.QuadraticProgramStats();
6006 }
6007 input.ReadMessage(PreprocessedProblemStats);
6008 break;
6009 }
6010 case 105: {
6011 PreprocessingTimeSec = input.ReadDouble();
6012 break;
6013 }
6014 case 114: {
6015 if (params_ == null) {
6016 Params = new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams();
6017 }
6018 input.ReadMessage(Params);
6019 break;
6020 }
6021 case 122: {
6022 feasibilityPolishingDetails_.AddEntriesFrom(input, _repeated_feasibilityPolishingDetails_codec);
6023 break;
6024 }
6025 }
6026 }
6027 #endif
6028 }
6029
6030 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6031 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6032 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6033 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6034 uint tag;
6035 while ((tag = input.ReadTag()) != 0) {
6036 switch(tag) {
6037 default:
6038 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6039 break;
6040 case 10: {
6041 InstanceName = input.ReadString();
6042 break;
6043 }
6044 case 24: {
6045 TerminationReason = (global::Google.OrTools.PDLP.TerminationReason) input.ReadEnum();
6046 break;
6047 }
6048 case 34: {
6049 TerminationString = input.ReadString();
6050 break;
6051 }
6052 case 40: {
6053 IterationCount = input.ReadInt32();
6054 break;
6055 }
6056 case 49: {
6057 SolveTimeSec = input.ReadDouble();
6058 break;
6059 }
6060 case 58: {
6061 iterationStats_.AddEntriesFrom(ref input, _repeated_iterationStats_codec);
6062 break;
6063 }
6064 case 66: {
6065 if (solutionStats_ == null) {
6066 SolutionStats = new global::Google.OrTools.PDLP.IterationStats();
6067 }
6068 input.ReadMessage(SolutionStats);
6069 break;
6070 }
6071 case 80: {
6072 SolutionType = (global::Google.OrTools.PDLP.PointType) input.ReadEnum();
6073 break;
6074 }
6075 case 90: {
6076 if (originalProblemStats_ == null) {
6077 OriginalProblemStats = new global::Google.OrTools.PDLP.QuadraticProgramStats();
6078 }
6079 input.ReadMessage(OriginalProblemStats);
6080 break;
6081 }
6082 case 98: {
6083 if (preprocessedProblemStats_ == null) {
6084 PreprocessedProblemStats = new global::Google.OrTools.PDLP.QuadraticProgramStats();
6085 }
6086 input.ReadMessage(PreprocessedProblemStats);
6087 break;
6088 }
6089 case 105: {
6090 PreprocessingTimeSec = input.ReadDouble();
6091 break;
6092 }
6093 case 114: {
6094 if (params_ == null) {
6095 Params = new global::Google.OrTools.PDLP.PrimalDualHybridGradientParams();
6096 }
6097 input.ReadMessage(Params);
6098 break;
6099 }
6100 case 122: {
6101 feasibilityPolishingDetails_.AddEntriesFrom(ref input, _repeated_feasibilityPolishingDetails_codec);
6102 break;
6103 }
6104 }
6105 }
6106 }
6107 #endif
6108
6109 }
6110
6111 #endregion
6112
6113}
6114
6115#endregion Designer generated code
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc
Definition SetCover.pb.cs:9
global::Google.Protobuf pb
Definition SetCover.pb.cs:8
Information measuring how close a candidate is to establishing feasibility and optimality; see also T...
bool HasLInfComponentwiseDualResidual
Gets whether the "l_inf_componentwise_dual_residual" field is set.
void ClearLInfComponentwiseDualResidual()
Clears the value of the "l_inf_componentwise_dual_residual" field.
ConvergenceInformation(ConvergenceInformation other)
void WriteTo(pb::CodedOutputStream output)
bool HasCorrectedDualObjective
Gets whether the "corrected_dual_objective" field is set.
void ClearLInfComponentwisePrimalResidual()
Clears the value of the "l_inf_componentwise_primal_residual" field.
bool HasLInfPrimalResidual
Gets whether the "l_inf_primal_residual" field is set.
global::Google.OrTools.PDLP.PointType CandidateType
Type of the candidate point described by this ConvergenceInformation.
double CorrectedDualObjective
If possible (e.g., when all primal variables have lower and upper bounds), a correct dual bound....
bool HasLInfPrimalVariable
Gets whether the "l_inf_primal_variable" field is set.
void ClearL2DualVariable()
Clears the value of the "l2_dual_variable" field.
bool HasL2PrimalVariable
Gets whether the "l2_primal_variable" field is set.
double LInfPrimalResidual
The maximum violation of any primal constraint, i.e., the l_∞ norm of the violations.
double L2PrimalResidual
The l_2 norm of the violations of primal constraints.
bool HasLInfDualVariable
Gets whether the "l_inf_dual_variable" field is set.
bool HasLInfComponentwisePrimalResidual
Gets whether the "l_inf_componentwise_primal_residual" field is set.
double LInfComponentwisePrimalResidual
The maximum relative violation of any primal constraint, with an absolute offset, i....
double L2DualResidual
The l_2 norm of the violations of dual constraints.
bool Equals(ConvergenceInformation other)
double LInfDualResidual
The maximum violation of any dual constraint, i.e., the l_∞ norm of the violations.
double PrimalObjective
The primal objective. The primal need not be feasible.
double L2DualVariable
The l_2 norm of the dual variables.
void ClearL2PrimalVariable()
Clears the value of the "l2_primal_variable" field.
void ClearCorrectedDualObjective()
Clears the value of the "corrected_dual_objective" field.
void ClearLInfDualVariable()
Clears the value of the "l_inf_dual_variable" field.
double L2PrimalVariable
The l_2 norm of the primal variables.
void ClearL2PrimalResidual()
Clears the value of the "l2_primal_residual" field.
void ClearLInfPrimalVariable()
Clears the value of the "l_inf_primal_variable" field.
bool HasPrimalObjective
Gets whether the "primal_objective" field is set.
bool HasL2DualResidual
Gets whether the "l2_dual_residual" field is set.
void ClearCandidateType()
Clears the value of the "candidate_type" field.
bool HasCandidateType
Gets whether the "candidate_type" field is set.
void ClearL2DualResidual()
Clears the value of the "l2_dual_residual" field.
void ClearLInfPrimalResidual()
Clears the value of the "l_inf_primal_residual" field.
double LInfPrimalVariable
The maximum absolute value of the primal variables, i.e., the l_∞ norm. This is useful to detect when...
void ClearDualObjective()
Clears the value of the "dual_objective" field.
void MergeFrom(pb::CodedInputStream input)
double LInfDualVariable
The maximum absolute value of the dual variables, i.e., the l_∞ norm. This is useful to detect when t...
void ClearLInfDualResidual()
Clears the value of the "l_inf_dual_residual" field.
bool HasL2DualVariable
Gets whether the "l2_dual_variable" field is set.
bool HasL2PrimalResidual
Gets whether the "l2_primal_residual" field is set.
double LInfComponentwiseDualResidual
The maximum relative violation of any dual constraint, with an absolute offset, i....
bool HasLInfDualResidual
Gets whether the "l_inf_dual_residual" field is set.
bool HasDualObjective
Gets whether the "dual_objective" field is set.
void ClearPrimalObjective()
Clears the value of the "primal_objective" field.
double DualObjective
The dual objective. The dual need not be feasible. The dual objective includes the contributions from...
void MergeFrom(ConvergenceInformation other)
Details about one primal feasibility or dual feasibility polishing phase within a solve with use_feas...
global::Google.OrTools.PDLP.PrimalDualHybridGradientParams Params
global::Google.OrTools.PDLP.TerminationReason TerminationReason
global::Google.OrTools.PDLP.PointType SolutionType
int MainIterationCount
The iteration count for the main iteration when this feasibility polishing phase was triggered.
global::Google.OrTools.PDLP.IterationStats SolutionStats
global::Google.OrTools.PDLP.PolishingPhaseType PolishingPhaseType
Information measuring how close a point is to establishing primal or dual infeasibility (i....
bool Equals(InfeasibilityInformation other)
double MaxDualRayInfeasibility
Let (y_ray, r_ray) be the algorithm's estimate of the dual and reduced cost extreme ray where (y_ray,...
void ClearMaxPrimalRayInfeasibility()
Clears the value of the "max_primal_ray_infeasibility" field.
void ClearPrimalRayLinearObjective()
Clears the value of the "primal_ray_linear_objective" field.
void MergeFrom(InfeasibilityInformation other)
bool HasMaxDualRayInfeasibility
Gets whether the "max_dual_ray_infeasibility" field is set.
void ClearCandidateType()
Clears the value of the "candidate_type" field.
void ClearMaxDualRayInfeasibility()
Clears the value of the "max_dual_ray_infeasibility" field.
bool HasMaxPrimalRayInfeasibility
Gets whether the "max_primal_ray_infeasibility" field is set.
double PrimalRayLinearObjective
The value of the linear part of the primal objective (ignoring additive constants) evaluated at x_ray...
double DualRayObjective
The objective of the linear program labeled (1) in the previous paragraph.
double MaxPrimalRayInfeasibility
Let x_ray be the algorithm's estimate of the primal extreme ray where x_ray is a vector that satisfie...
bool HasPrimalRayLinearObjective
Gets whether the "primal_ray_linear_objective" field is set.
void MergeFrom(pb::CodedInputStream input)
void ClearPrimalRayQuadraticNorm()
Clears the value of the "primal_ray_quadratic_norm" field.
double PrimalRayQuadraticNorm
The l_∞ norm of the vector resulting from taking the quadratic matrix from primal objective and multi...
bool HasCandidateType
Gets whether the "candidate_type" field is set.
void WriteTo(pb::CodedOutputStream output)
bool HasPrimalRayQuadraticNorm
Gets whether the "primal_ray_quadratic_norm" field is set.
bool HasDualRayObjective
Gets whether the "dual_ray_objective" field is set.
global::Google.OrTools.PDLP.PointType CandidateType
Type of the point used to compute the InfeasibilityInformation.
InfeasibilityInformation(InfeasibilityInformation other)
void ClearDualRayObjective()
Clears the value of the "dual_ray_objective" field.
All values in IterationStats assume that the primal quadratic program is a minimization problem and t...
double StepSize
Step size used at this iteration. Note that the step size used for the primal update is step_size / p...
global::Google.OrTools.PDLP.RestartChoice RestartUsed
The kind of restart that occurred at this iteration, or NO_RESTART if a restart did not occur.
IterationStats(IterationStats other)
int CumulativeRejectedSteps
The total number of rejected steps (e.g., within a line search procedure) since the start of the solv...
int IterationNumber
The iteration number at which these stats were recorded. By convention, iteration counts start at 1,...
double PrimalWeight
Primal weight controlling the relation between primal and dual step sizes. See field 'step_size' for ...
double CumulativeTimeSec
The amount of time passed since we started solving the problem (see solver log solve_time_sec which r...
void ClearIterationNumber()
Clears the value of the "iteration_number" field.
double CumulativeKktMatrixPasses
The cumulative number of passes through the KKT matrix since the start of the solve....
override bool Equals(object other)
void WriteTo(pb::CodedOutputStream output)
long ActivePrimalVariableChange
The number of primal variables that have a different bound status than they did at the last restart.
bool HasPointType
Gets whether the "point_type" field is set.
void ClearActiveDualVariableChange()
Clears the value of the "active_dual_variable_change" field.
override bool Equals(object other)
long ActivePrimalVariableCount
The number of primal variables that are not at their bounds.
void ClearPointType()
Clears the value of the "point_type" field.
bool HasActivePrimalVariableCount
Gets whether the "active_primal_variable_count" field is set.
bool HasActivePrimalVariableChange
Gets whether the "active_primal_variable_change" field is set.
bool HasActiveDualVariableChange
Gets whether the "active_dual_variable_change" field is set.
void MergeFrom(pb::CodedInputStream input)
global::Google.OrTools.PDLP.PointType PointType
Type of the point that this metadata corresponds to.
long ActiveDualVariableChange
The number of dual variables that have a different bound status than they did at the last restart.
PointMetadata(PointMetadata other)
bool HasActiveDualVariableCount
Gets whether the "active_dual_variable_count" field is set.
void ClearActivePrimalVariableCount()
Clears the value of the "active_primal_variable_count" field.
void ClearActivePrimalVariableChange()
Clears the value of the "active_primal_variable_change" field.
void MergeFrom(PointMetadata other)
bool Equals(PointMetadata other)
void ClearActiveDualVariableCount()
Clears the value of the "active_dual_variable_count" field.
long ActiveDualVariableCount
The number of dual variables that are not at their bounds.
Easy-to-compute statistics for the quadratic program.
double CombinedBoundsMax
Statistics of the combined vector of the constraint lower and upper bounds. Given parallel lower and ...
bool HasConstraintMatrixAbsAvg
Gets whether the "constraint_matrix_abs_avg" field is set.
bool HasObjectiveVectorAbsMax
Gets whether the "objective_vector_abs_max" field is set.
void ClearConstraintMatrixAbsMax()
Clears the value of the "constraint_matrix_abs_max" field.
bool Equals(QuadraticProgramStats other)
bool HasObjectiveMatrixL2Norm
Gets whether the "objective_matrix_l2_norm" field is set.
const int VariableBoundGapsMinFieldNumber
Field number for the "variable_bound_gaps_min" field.
void ClearVariableBoundGapsMax()
Clears the value of the "variable_bound_gaps_max" field.
const int NumConstraintsFieldNumber
Field number for the "num_constraints" field.
const int CombinedBoundsMaxFieldNumber
Field number for the "combined_bounds_max" field.
const int CombinedVariableBoundsMaxFieldNumber
Field number for the "combined_variable_bounds_max" field.
long VariableBoundGapsNumFinite
Number of finite variable bound gaps, which are the elementwise difference between the upper and lowe...
static pb::MessageParser< QuadraticProgramStats > Parser
bool HasNumConstraints
Gets whether the "num_constraints" field is set.
void ClearVariableBoundGapsNumFinite()
Clears the value of the "variable_bound_gaps_num_finite" field.
bool HasVariableBoundGapsL2Norm
Gets whether the "variable_bound_gaps_l2_norm" field is set.
void ClearConstraintMatrixAbsMin()
Clears the value of the "constraint_matrix_abs_min" field.
void ClearVariableBoundGapsAvg()
Clears the value of the "variable_bound_gaps_avg" field.
bool HasObjectiveVectorL2Norm
Gets whether the "objective_vector_l2_norm" field is set.
bool HasConstraintMatrixRowMinLInfNorm
Gets whether the "constraint_matrix_row_min_l_inf_norm" field is set.
bool HasConstraintMatrixNumNonzeros
Gets whether the "constraint_matrix_num_nonzeros" field is set.
double ObjectiveMatrixAbsMax
Max/min/mean/l2_norm of absolute values of elements of the objective matrix. The min is over nonzero ...
const int ObjectiveVectorL2NormFieldNumber
Field number for the "objective_vector_l2_norm" field.
const int ConstraintMatrixNumNonzerosFieldNumber
Field number for the "constraint_matrix_num_nonzeros" field.
bool HasConstraintMatrixColMinLInfNorm
Gets whether the "constraint_matrix_col_min_l_inf_norm" field is set.
void ClearConstraintMatrixColMinLInfNorm()
Clears the value of the "constraint_matrix_col_min_l_inf_norm" field.
const int ObjectiveMatrixAbsAvgFieldNumber
Field number for the "objective_matrix_abs_avg" field.
const int VariableBoundGapsAvgFieldNumber
Field number for the "variable_bound_gaps_avg" field.
const int CombinedVariableBoundsAvgFieldNumber
Field number for the "combined_variable_bounds_avg" field.
bool HasVariableBoundGapsAvg
Gets whether the "variable_bound_gaps_avg" field is set.
bool HasObjectiveMatrixAbsMin
Gets whether the "objective_matrix_abs_min" field is set.
void ClearObjectiveVectorAbsMax()
Clears the value of the "objective_vector_abs_max" field.
void ClearCombinedVariableBoundsMax()
Clears the value of the "combined_variable_bounds_max" field.
double ConstraintMatrixColMinLInfNorm
Minimum row and column infinity norms of the constraint matrix. All-zero rows and columns are exclude...
void ClearCombinedVariableBoundsL2Norm()
Clears the value of the "combined_variable_bounds_l2_norm" field.
const int ObjectiveVectorAbsMaxFieldNumber
Field number for the "objective_vector_abs_max" field.
const int ConstraintMatrixAbsMinFieldNumber
Field number for the "constraint_matrix_abs_min" field.
bool HasCombinedVariableBoundsMax
Gets whether the "combined_variable_bounds_max" field is set.
const int ConstraintMatrixRowMinLInfNormFieldNumber
Field number for the "constraint_matrix_row_min_l_inf_norm" field.
void ClearObjectiveMatrixAbsAvg()
Clears the value of the "objective_matrix_abs_avg" field.
const int VariableBoundGapsL2NormFieldNumber
Field number for the "variable_bound_gaps_l2_norm" field.
void ClearVariableBoundGapsL2Norm()
Clears the value of the "variable_bound_gaps_l2_norm" field.
const int CombinedVariableBoundsL2NormFieldNumber
Field number for the "combined_variable_bounds_l2_norm" field.
void ClearNumConstraints()
Clears the value of the "num_constraints" field.
const int ConstraintMatrixL2NormFieldNumber
Field number for the "constraint_matrix_l2_norm" field.
const int CombinedBoundsL2NormFieldNumber
Field number for the "combined_bounds_l2_norm" field.
void ClearObjectiveMatrixAbsMin()
Clears the value of the "objective_matrix_abs_min" field.
double CombinedVariableBoundsMax
Statistics of the combined vector of the variable lower and upper bounds. See the comment before comb...
double ConstraintMatrixAbsMax
Max/min/mean/l2_norm of absolute values of (finite) elements in constraint matrix....
const int VariableBoundGapsMaxFieldNumber
Field number for the "variable_bound_gaps_max" field.
static pbr::MessageDescriptor Descriptor
void ClearCombinedBoundsMin()
Clears the value of the "combined_bounds_min" field.
const int ConstraintMatrixAbsMaxFieldNumber
Field number for the "constraint_matrix_abs_max" field.
bool HasCombinedBoundsMin
Gets whether the "combined_bounds_min" field is set.
bool HasVariableBoundGapsMin
Gets whether the "variable_bound_gaps_min" field is set.
bool HasConstraintMatrixL2Norm
Gets whether the "constraint_matrix_l2_norm" field is set.
const int ConstraintMatrixColMinLInfNormFieldNumber
Field number for the "constraint_matrix_col_min_l_inf_norm" field.
QuadraticProgramStats(QuadraticProgramStats other)
bool HasObjectiveVectorAbsMin
Gets whether the "objective_vector_abs_min" field is set.
bool HasVariableBoundGapsMax
Gets whether the "variable_bound_gaps_max" field is set.
bool HasCombinedBoundsAvg
Gets whether the "combined_bounds_avg" field is set.
bool HasObjectiveVectorAbsAvg
Gets whether the "objective_vector_abs_avg" field is set.
void ClearObjectiveMatrixAbsMax()
Clears the value of the "objective_matrix_abs_max" field.
bool HasObjectiveMatrixAbsMax
Gets whether the "objective_matrix_abs_max" field is set.
bool HasCombinedBoundsL2Norm
Gets whether the "combined_bounds_l2_norm" field is set.
void ClearObjectiveVectorAbsAvg()
Clears the value of the "objective_vector_abs_avg" field.
const int ObjectiveMatrixAbsMinFieldNumber
Field number for the "objective_matrix_abs_min" field.
bool HasCombinedVariableBoundsMin
Gets whether the "combined_variable_bounds_min" field is set.
const int CombinedBoundsAvgFieldNumber
Field number for the "combined_bounds_avg" field.
const int NumVariablesFieldNumber
Field number for the "num_variables" field.
const int VariableBoundGapsNumFiniteFieldNumber
Field number for the "variable_bound_gaps_num_finite" field.
const int ObjectiveMatrixNumNonzerosFieldNumber
Field number for the "objective_matrix_num_nonzeros" field.
bool HasNumVariables
Gets whether the "num_variables" field is set.
void WriteTo(pb::CodedOutputStream output)
const int CombinedVariableBoundsMinFieldNumber
Field number for the "combined_variable_bounds_min" field.
const int ObjectiveMatrixAbsMaxFieldNumber
Field number for the "objective_matrix_abs_max" field.
void ClearConstraintMatrixNumNonzeros()
Clears the value of the "constraint_matrix_num_nonzeros" field.
const int ObjectiveMatrixL2NormFieldNumber
Field number for the "objective_matrix_l2_norm" field.
void ClearNumVariables()
Clears the value of the "num_variables" field.
void ClearVariableBoundGapsMin()
Clears the value of the "variable_bound_gaps_min" field.
bool HasVariableBoundGapsNumFinite
Gets whether the "variable_bound_gaps_num_finite" field is set.
bool HasCombinedVariableBoundsL2Norm
Gets whether the "combined_variable_bounds_l2_norm" field is set.
bool HasCombinedVariableBoundsAvg
Gets whether the "combined_variable_bounds_avg" field is set.
void ClearConstraintMatrixL2Norm()
Clears the value of the "constraint_matrix_l2_norm" field.
void ClearCombinedVariableBoundsAvg()
Clears the value of the "combined_variable_bounds_avg" field.
bool HasObjectiveMatrixNumNonzeros
Gets whether the "objective_matrix_num_nonzeros" field is set.
void ClearCombinedVariableBoundsMin()
Clears the value of the "combined_variable_bounds_min" field.
bool HasCombinedBoundsMax
Gets whether the "combined_bounds_max" field is set.
void ClearObjectiveMatrixL2Norm()
Clears the value of the "objective_matrix_l2_norm" field.
void ClearCombinedBoundsL2Norm()
Clears the value of the "combined_bounds_l2_norm" field.
double VariableBoundGapsMax
Max/min/mean/l2_norm over all finite variable bound gaps. The min excludes zero bound gaps (i....
bool HasConstraintMatrixAbsMax
Gets whether the "constraint_matrix_abs_max" field is set.
const int CombinedBoundsMinFieldNumber
Field number for the "combined_bounds_min" field.
double ObjectiveVectorAbsMax
Statistics of the objective vector. The min is over the nonzero terms.
void ClearObjectiveVectorL2Norm()
Clears the value of the "objective_vector_l2_norm" field.
long ConstraintMatrixNumNonzeros
The number of (finite) nonzero entries in the constraint matrix.
bool HasConstraintMatrixAbsMin
Gets whether the "constraint_matrix_abs_min" field is set.
void ClearConstraintMatrixAbsAvg()
Clears the value of the "constraint_matrix_abs_avg" field.
bool HasObjectiveMatrixAbsAvg
Gets whether the "objective_matrix_abs_avg" field is set.
override bool Equals(object other)
void MergeFrom(pb::CodedInputStream input)
void MergeFrom(QuadraticProgramStats other)
const int ConstraintMatrixAbsAvgFieldNumber
Field number for the "constraint_matrix_abs_avg" field.
void ClearCombinedBoundsAvg()
Clears the value of the "combined_bounds_avg" field.
void ClearObjectiveVectorAbsMin()
Clears the value of the "objective_vector_abs_min" field.
const int ObjectiveVectorAbsAvgFieldNumber
Field number for the "objective_vector_abs_avg" field.
void ClearConstraintMatrixRowMinLInfNorm()
Clears the value of the "constraint_matrix_row_min_l_inf_norm" field.
const int ObjectiveVectorAbsMinFieldNumber
Field number for the "objective_vector_abs_min" field.
void ClearObjectiveMatrixNumNonzeros()
Clears the value of the "objective_matrix_num_nonzeros" field.
void ClearCombinedBoundsMax()
Clears the value of the "combined_bounds_max" field.
Holder for reflection information generated from ortools/pdlp/solve_log.proto.
static pbr::FileDescriptor Descriptor
File descriptor for ortools/pdlp/solve_log.proto.
global::Google.OrTools.PDLP.QuadraticProgramStats OriginalProblemStats
Statistics of the original problem.
string TerminationString
Optional extra information about the termination reason.
global::Google.OrTools.PDLP.QuadraticProgramStats PreprocessedProblemStats
Statistics of the problem after preprocessing.
override bool Equals(object other)
string InstanceName
The name of the optimization problem.
double SolveTimeSec
The runtime of the solve. Note: This should not be used for comparing methods unless care is taken to...
global::Google.OrTools.PDLP.IterationStats SolutionStats
The IterationStats for the final iteration of the solver. For a solve with use_feasibility_polishing,...
double PreprocessingTimeSec
Time for preprocessing (everything before iteration 0). This is also included in solve_time_sec.
global::Google.OrTools.PDLP.TerminationReason TerminationReason
The reason that the solve terminated.
global::Google.OrTools.PDLP.PointType SolutionType
The type of the output point that the solver returned. The quality of the point is reported in the co...
global::Google.OrTools.PDLP.PrimalDualHybridGradientParams Params
If solved with PDLP, the parameters for this solve.
int IterationCount
The total number of iterations during the solve. For a solve with use_feasibility_polishing this coun...
PointType
Identifies the type of point used to compute the fields in a given proto; see ConvergenceInformation ...
@ FeasibilityPolishingSolution
Combined solution from primal and dual feasibility polishing.
@ None
There is no corresponding point.
@ CurrentIterate
Current iterate (x_k, y_k).
@ IterateDifference
Difference of iterates (x_{k+1} - x_k, y_{k+1} - y_k).
@ PresolverSolution
Output of presolver.
@ AverageIterate
Average of iterates since the last restart.
@ PrimalInfeasible
Note in this situation the dual could be either unbounded or infeasible.
@ InvalidInitialSolution
Indicates that the solver detected that the initial solution that was provided was invalid,...
@ InvalidParameter
Indicates that an invalid value for the parameters was detected.
@ InvalidProblem
Indicates that the solver detected invalid problem data, e.g., inconsistent bounds.
@ PrimalOrDualInfeasible
Primal or dual infeasibility was detected (e.g. by presolve) but no certificate is available.
@ DualInfeasible
Note in this situation the primal could be either unbounded or infeasible.
RestartChoice
Specifies whether a restart was performed on a given iteration.
@ RestartToAverage
The algorithm is restarted at the average of iterates since the last restart.
@ WeightedAverageReset
The weighted average of iterates is cleared and reset to the current point.
@ NoRestart
No restart on this iteration.