5#pragma warning disable 1591, 0612, 3021, 8981
6#region Designer generated code
8using pb = global::Google.Protobuf;
9using pbc = global::Google.Protobuf.Collections;
10using pbr = global::Google.Protobuf.Reflection;
11using scg = global::System.Collections.Generic;
15 public static partial class CpModelReflection {
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
27 "ChpvcnRvb2xzL3NhdC9jcF9tb2RlbC5wcm90bxIXb3BlcmF0aW9uc19yZXNl",
28 "YXJjaC5zYXQiNAoUSW50ZWdlclZhcmlhYmxlUHJvdG8SDAoEbmFtZRgBIAEo",
29 "CRIOCgZkb21haW4YAiADKAMiJQoRQm9vbEFyZ3VtZW50UHJvdG8SEAoIbGl0",
30 "ZXJhbHMYASADKAUiRQoVTGluZWFyRXhwcmVzc2lvblByb3RvEgwKBHZhcnMY",
31 "ASADKAUSDgoGY29lZmZzGAIgAygDEg4KBm9mZnNldBgDIAEoAyKUAQoTTGlu",
32 "ZWFyQXJndW1lbnRQcm90bxI+CgZ0YXJnZXQYASABKAsyLi5vcGVyYXRpb25z",
33 "X3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNzaW9uUHJvdG8SPQoFZXhwcnMY",
34 "AiADKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNz",
35 "aW9uUHJvdG8iXAobQWxsRGlmZmVyZW50Q29uc3RyYWludFByb3RvEj0KBWV4",
36 "cHJzGAEgAygLMi4ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyRXhw",
37 "cmVzc2lvblByb3RvIkUKFUxpbmVhckNvbnN0cmFpbnRQcm90bxIMCgR2YXJz",
38 "GAEgAygFEg4KBmNvZWZmcxgCIAMoAxIOCgZkb21haW4YAyADKAMikQIKFkVs",
39 "ZW1lbnRDb25zdHJhaW50UHJvdG8SDQoFaW5kZXgYASABKAUSDgoGdGFyZ2V0",
40 "GAIgASgFEgwKBHZhcnMYAyADKAUSRAoMbGluZWFyX2luZGV4GAQgASgLMi4u",
41 "b3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyRXhwcmVzc2lvblByb3Rv",
42 "EkUKDWxpbmVhcl90YXJnZXQYBSABKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNo",
43 "LnNhdC5MaW5lYXJFeHByZXNzaW9uUHJvdG8SPQoFZXhwcnMYBiADKAsyLi5v",
44 "cGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNzaW9uUHJvdG8i",
45 "0wEKF0ludGVydmFsQ29uc3RyYWludFByb3RvEj0KBXN0YXJ0GAQgASgLMi4u",
46 "b3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyRXhwcmVzc2lvblByb3Rv",
47 "EjsKA2VuZBgFIAEoCzIuLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVh",
48 "ckV4cHJlc3Npb25Qcm90bxI8CgRzaXplGAYgASgLMi4ub3BlcmF0aW9uc19y",
49 "ZXNlYXJjaC5zYXQuTGluZWFyRXhwcmVzc2lvblByb3RvIi0KGE5vT3Zlcmxh",
50 "cENvbnN0cmFpbnRQcm90bxIRCglpbnRlcnZhbHMYASADKAUiRgoaTm9PdmVy",
51 "bGFwMkRDb25zdHJhaW50UHJvdG8SEwoLeF9pbnRlcnZhbHMYASADKAUSEwoL",
52 "eV9pbnRlcnZhbHMYAiADKAUisQEKGUN1bXVsYXRpdmVDb25zdHJhaW50UHJv",
53 "dG8SQAoIY2FwYWNpdHkYASABKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNh",
54 "dC5MaW5lYXJFeHByZXNzaW9uUHJvdG8SEQoJaW50ZXJ2YWxzGAIgAygFEj8K",
55 "B2RlbWFuZHMYAyADKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5l",
56 "YXJFeHByZXNzaW9uUHJvdG8i6gEKGFJlc2Vydm9pckNvbnN0cmFpbnRQcm90",
57 "bxIRCgltaW5fbGV2ZWwYASABKAMSEQoJbWF4X2xldmVsGAIgASgDEkIKCnRp",
58 "bWVfZXhwcnMYAyADKAsyLi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5MaW5l",
59 "YXJFeHByZXNzaW9uUHJvdG8SRQoNbGV2ZWxfY2hhbmdlcxgGIAMoCzIuLm9w",
60 "ZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVhckV4cHJlc3Npb25Qcm90bxIX",
61 "Cg9hY3RpdmVfbGl0ZXJhbHMYBSADKAVKBAgEEAUiSAoWQ2lyY3VpdENvbnN0",
62 "cmFpbnRQcm90bxINCgV0YWlscxgDIAMoBRINCgVoZWFkcxgEIAMoBRIQCghs",
63 "aXRlcmFscxgFIAMoBSKQAgoVUm91dGVzQ29uc3RyYWludFByb3RvEg0KBXRh",
64 "aWxzGAEgAygFEg0KBWhlYWRzGAIgAygFEhAKCGxpdGVyYWxzGAMgAygFEg8K",
65 "B2RlbWFuZHMYBCADKAUSEAoIY2FwYWNpdHkYBSABKAMSUgoKZGltZW5zaW9u",
66 "cxgGIAMoCzI+Lm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LlJvdXRlc0NvbnN0",
67 "cmFpbnRQcm90by5Ob2RlRXhwcmVzc2lvbnMaUAoPTm9kZUV4cHJlc3Npb25z",
68 "Ej0KBWV4cHJzGAEgAygLMi4ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGlu",
69 "ZWFyRXhwcmVzc2lvblByb3RvIoQBChRUYWJsZUNvbnN0cmFpbnRQcm90bxIM",
70 "CgR2YXJzGAEgAygFEg4KBnZhbHVlcxgCIAMoAxI9CgVleHBycxgEIAMoCzIu",
71 "Lm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVhckV4cHJlc3Npb25Qcm90",
72 "bxIPCgduZWdhdGVkGAMgASgIIj0KFkludmVyc2VDb25zdHJhaW50UHJvdG8S",
73 "EAoIZl9kaXJlY3QYASADKAUSEQoJZl9pbnZlcnNlGAIgAygFIuEBChhBdXRv",
74 "bWF0b25Db25zdHJhaW50UHJvdG8SFgoOc3RhcnRpbmdfc3RhdGUYAiABKAMS",
75 "FAoMZmluYWxfc3RhdGVzGAMgAygDEhcKD3RyYW5zaXRpb25fdGFpbBgEIAMo",
76 "AxIXCg90cmFuc2l0aW9uX2hlYWQYBSADKAMSGAoQdHJhbnNpdGlvbl9sYWJl",
77 "bBgGIAMoAxIMCgR2YXJzGAcgAygFEj0KBWV4cHJzGAggAygLMi4ub3BlcmF0",
78 "aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyRXhwcmVzc2lvblByb3RvIiQKFExp",
79 "c3RPZlZhcmlhYmxlc1Byb3RvEgwKBHZhcnMYASADKAUi8AwKD0NvbnN0cmFp",
80 "bnRQcm90bxIMCgRuYW1lGAEgASgJEhsKE2VuZm9yY2VtZW50X2xpdGVyYWwY",
81 "AiADKAUSPQoHYm9vbF9vchgDIAEoCzIqLm9wZXJhdGlvbnNfcmVzZWFyY2gu",
82 "c2F0LkJvb2xBcmd1bWVudFByb3RvSAASPgoIYm9vbF9hbmQYBCABKAsyKi5v",
83 "cGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5Cb29sQXJndW1lbnRQcm90b0gAEkEK",
84 "C2F0X21vc3Rfb25lGBogASgLMioub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQu",
85 "Qm9vbEFyZ3VtZW50UHJvdG9IABJBCgtleGFjdGx5X29uZRgdIAEoCzIqLm9w",
86 "ZXJhdGlvbnNfcmVzZWFyY2guc2F0LkJvb2xBcmd1bWVudFByb3RvSAASPgoI",
87 "Ym9vbF94b3IYBSABKAsyKi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5Cb29s",
88 "QXJndW1lbnRQcm90b0gAEj8KB2ludF9kaXYYByABKAsyLC5vcGVyYXRpb25z",
89 "X3Jlc2VhcmNoLnNhdC5MaW5lYXJBcmd1bWVudFByb3RvSAASPwoHaW50X21v",
90 "ZBgIIAEoCzIsLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkxpbmVhckFyZ3Vt",
91 "ZW50UHJvdG9IABJACghpbnRfcHJvZBgLIAEoCzIsLm9wZXJhdGlvbnNfcmVz",
92 "ZWFyY2guc2F0LkxpbmVhckFyZ3VtZW50UHJvdG9IABI/CgdsaW5fbWF4GBsg",
93 "ASgLMiwub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGluZWFyQXJndW1lbnRQ",
94 "cm90b0gAEkAKBmxpbmVhchgMIAEoCzIuLm9wZXJhdGlvbnNfcmVzZWFyY2gu",
95 "c2F0LkxpbmVhckNvbnN0cmFpbnRQcm90b0gAEkgKCGFsbF9kaWZmGA0gASgL",
96 "MjQub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuQWxsRGlmZmVyZW50Q29uc3Ry",
97 "YWludFByb3RvSAASQgoHZWxlbWVudBgOIAEoCzIvLm9wZXJhdGlvbnNfcmVz",
98 "ZWFyY2guc2F0LkVsZW1lbnRDb25zdHJhaW50UHJvdG9IABJCCgdjaXJjdWl0",
99 "GA8gASgLMi8ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuQ2lyY3VpdENvbnN0",
100 "cmFpbnRQcm90b0gAEkAKBnJvdXRlcxgXIAEoCzIuLm9wZXJhdGlvbnNfcmVz",
101 "ZWFyY2guc2F0LlJvdXRlc0NvbnN0cmFpbnRQcm90b0gAEj4KBXRhYmxlGBAg",
102 "ASgLMi0ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuVGFibGVDb25zdHJhaW50",
103 "UHJvdG9IABJGCglhdXRvbWF0b24YESABKAsyMS5vcGVyYXRpb25zX3Jlc2Vh",
104 "cmNoLnNhdC5BdXRvbWF0b25Db25zdHJhaW50UHJvdG9IABJCCgdpbnZlcnNl",
105 "GBIgASgLMi8ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuSW52ZXJzZUNvbnN0",
106 "cmFpbnRQcm90b0gAEkYKCXJlc2Vydm9pchgYIAEoCzIxLm9wZXJhdGlvbnNf",
107 "cmVzZWFyY2guc2F0LlJlc2Vydm9pckNvbnN0cmFpbnRQcm90b0gAEkQKCGlu",
108 "dGVydmFsGBMgASgLMjAub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuSW50ZXJ2",
109 "YWxDb25zdHJhaW50UHJvdG9IABJHCgpub19vdmVybGFwGBQgASgLMjEub3Bl",
110 "cmF0aW9uc19yZXNlYXJjaC5zYXQuTm9PdmVybGFwQ29uc3RyYWludFByb3Rv",
111 "SAASTAoNbm9fb3ZlcmxhcF8yZBgVIAEoCzIzLm9wZXJhdGlvbnNfcmVzZWFy",
112 "Y2guc2F0Lk5vT3ZlcmxhcDJEQ29uc3RyYWludFByb3RvSAASSAoKY3VtdWxh",
113 "dGl2ZRgWIAEoCzIyLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkN1bXVsYXRp",
114 "dmVDb25zdHJhaW50UHJvdG9IABJJChBkdW1teV9jb25zdHJhaW50GB4gASgL",
115 "Mi0ub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuTGlzdE9mVmFyaWFibGVzUHJv",
116 "dG9IAEIMCgpjb25zdHJhaW50IuABChBDcE9iamVjdGl2ZVByb3RvEgwKBHZh",
117 "cnMYASADKAUSDgoGY29lZmZzGAQgAygDEg4KBm9mZnNldBgCIAEoARIWCg5z",
118 "Y2FsaW5nX2ZhY3RvchgDIAEoARIOCgZkb21haW4YBSADKAMSGQoRc2NhbGlu",
119 "Z193YXNfZXhhY3QYBiABKAgSHQoVaW50ZWdlcl9iZWZvcmVfb2Zmc2V0GAcg",
120 "ASgDEhwKFGludGVnZXJfYWZ0ZXJfb2Zmc2V0GAkgASgDEh4KFmludGVnZXJf",
121 "c2NhbGluZ19mYWN0b3IYCCABKAMiVQoTRmxvYXRPYmplY3RpdmVQcm90bxIM",
122 "CgR2YXJzGAEgAygFEg4KBmNvZWZmcxgCIAMoARIOCgZvZmZzZXQYAyABKAES",
123 "EAoIbWF4aW1pemUYBCABKAgigQUKFURlY2lzaW9uU3RyYXRlZ3lQcm90bxIR",
124 "Cgl2YXJpYWJsZXMYASADKAUSPQoFZXhwcnMYBSADKAsyLi5vcGVyYXRpb25z",
125 "X3Jlc2VhcmNoLnNhdC5MaW5lYXJFeHByZXNzaW9uUHJvdG8SbQobdmFyaWFi",
126 "bGVfc2VsZWN0aW9uX3N0cmF0ZWd5GAIgASgOMkgub3BlcmF0aW9uc19yZXNl",
127 "YXJjaC5zYXQuRGVjaXNpb25TdHJhdGVneVByb3RvLlZhcmlhYmxlU2VsZWN0",
128 "aW9uU3RyYXRlZ3kSaQoZZG9tYWluX3JlZHVjdGlvbl9zdHJhdGVneRgDIAEo",
129 "DjJGLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkRlY2lzaW9uU3RyYXRlZ3lQ",
130 "cm90by5Eb21haW5SZWR1Y3Rpb25TdHJhdGVneSKUAQoZVmFyaWFibGVTZWxl",
131 "Y3Rpb25TdHJhdGVneRIQCgxDSE9PU0VfRklSU1QQABIVChFDSE9PU0VfTE9X",
132 "RVNUX01JThABEhYKEkNIT09TRV9ISUdIRVNUX01BWBACEhoKFkNIT09TRV9N",
133 "SU5fRE9NQUlOX1NJWkUQAxIaChZDSE9PU0VfTUFYX0RPTUFJTl9TSVpFEAQi",
134 "pAEKF0RvbWFpblJlZHVjdGlvblN0cmF0ZWd5EhQKEFNFTEVDVF9NSU5fVkFM",
135 "VUUQABIUChBTRUxFQ1RfTUFYX1ZBTFVFEAESFQoRU0VMRUNUX0xPV0VSX0hB",
136 "TEYQAhIVChFTRUxFQ1RfVVBQRVJfSEFMRhADEhcKE1NFTEVDVF9NRURJQU5f",
137 "VkFMVUUQBBIWChJTRUxFQ1RfUkFORE9NX0hBTEYQBSI5ChlQYXJ0aWFsVmFy",
138 "aWFibGVBc3NpZ25tZW50EgwKBHZhcnMYASADKAUSDgoGdmFsdWVzGAIgAygD",
139 "Ij4KFlNwYXJzZVBlcm11dGF0aW9uUHJvdG8SDwoHc3VwcG9ydBgBIAMoBRIT",
140 "CgtjeWNsZV9zaXplcxgCIAMoBSJHChBEZW5zZU1hdHJpeFByb3RvEhAKCG51",
141 "bV9yb3dzGAEgASgFEhAKCG51bV9jb2xzGAIgASgFEg8KB2VudHJpZXMYAyAD",
142 "KAUilAEKDVN5bW1ldHJ5UHJvdG8SRQoMcGVybXV0YXRpb25zGAEgAygLMi8u",
143 "b3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuU3BhcnNlUGVybXV0YXRpb25Qcm90",
144 "bxI8CglvcmJpdG9wZXMYAiADKAsyKS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNh",
145 "dC5EZW5zZU1hdHJpeFByb3RvIo4ECgxDcE1vZGVsUHJvdG8SDAoEbmFtZRgB",
146 "IAEoCRJACgl2YXJpYWJsZXMYAiADKAsyLS5vcGVyYXRpb25zX3Jlc2VhcmNo",
147 "LnNhdC5JbnRlZ2VyVmFyaWFibGVQcm90bxI9Cgtjb25zdHJhaW50cxgDIAMo",
148 "CzIoLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkNvbnN0cmFpbnRQcm90bxI8",
149 "CglvYmplY3RpdmUYBCABKAsyKS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5D",
150 "cE9iamVjdGl2ZVByb3RvEk4KGGZsb2F0aW5nX3BvaW50X29iamVjdGl2ZRgJ",
151 "IAEoCzIsLm9wZXJhdGlvbnNfcmVzZWFyY2guc2F0LkZsb2F0T2JqZWN0aXZl",
152 "UHJvdG8SRwoPc2VhcmNoX3N0cmF0ZWd5GAUgAygLMi4ub3BlcmF0aW9uc19y",
153 "ZXNlYXJjaC5zYXQuRGVjaXNpb25TdHJhdGVneVByb3RvEkkKDXNvbHV0aW9u",
154 "X2hpbnQYBiABKAsyMi5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5QYXJ0aWFs",
155 "VmFyaWFibGVBc3NpZ25tZW50EhMKC2Fzc3VtcHRpb25zGAcgAygFEjgKCHN5",
156 "bW1ldHJ5GAggASgLMiYub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuU3ltbWV0",
157 "cnlQcm90byIiChBDcFNvbHZlclNvbHV0aW9uEg4KBnZhbHVlcxgBIAMoAyKx",
158 "BgoQQ3BTb2x2ZXJSZXNwb25zZRI3CgZzdGF0dXMYASABKA4yJy5vcGVyYXRp",
159 "b25zX3Jlc2VhcmNoLnNhdC5DcFNvbHZlclN0YXR1cxIQCghzb2x1dGlvbhgC",
160 "IAMoAxIXCg9vYmplY3RpdmVfdmFsdWUYAyABKAESHAoUYmVzdF9vYmplY3Rp",
161 "dmVfYm91bmQYBCABKAESRwoUYWRkaXRpb25hbF9zb2x1dGlvbnMYGyADKAsy",
162 "KS5vcGVyYXRpb25zX3Jlc2VhcmNoLnNhdC5DcFNvbHZlclNvbHV0aW9uEkoK",
163 "E3RpZ2h0ZW5lZF92YXJpYWJsZXMYFSADKAsyLS5vcGVyYXRpb25zX3Jlc2Vh",
164 "cmNoLnNhdC5JbnRlZ2VyVmFyaWFibGVQcm90bxIwCihzdWZmaWNpZW50X2Fz",
165 "c3VtcHRpb25zX2Zvcl9pbmZlYXNpYmlsaXR5GBcgAygFEkQKEWludGVnZXJf",
166 "b2JqZWN0aXZlGBwgASgLMikub3BlcmF0aW9uc19yZXNlYXJjaC5zYXQuQ3BP",
167 "YmplY3RpdmVQcm90bxIjChtpbm5lcl9vYmplY3RpdmVfbG93ZXJfYm91bmQY",
168 "HSABKAMSFAoMbnVtX2ludGVnZXJzGB4gASgDEhQKDG51bV9ib29sZWFucxgK",
169 "IAEoAxIaChJudW1fZml4ZWRfYm9vbGVhbnMYHyABKAMSFQoNbnVtX2NvbmZs",
170 "aWN0cxgLIAEoAxIUCgxudW1fYnJhbmNoZXMYDCABKAMSHwoXbnVtX2JpbmFy",
171 "eV9wcm9wYWdhdGlvbnMYDSABKAMSIAoYbnVtX2ludGVnZXJfcHJvcGFnYXRp",
172 "b25zGA4gASgDEhQKDG51bV9yZXN0YXJ0cxgYIAEoAxIZChFudW1fbHBfaXRl",
173 "cmF0aW9ucxgZIAEoAxIRCgl3YWxsX3RpbWUYDyABKAESEQoJdXNlcl90aW1l",
174 "GBAgASgBEhoKEmRldGVybWluaXN0aWNfdGltZRgRIAEoARIUCgxnYXBfaW50",
175 "ZWdyYWwYFiABKAESFQoNc29sdXRpb25faW5mbxgUIAEoCRIRCglzb2x2ZV9s",
176 "b2cYGiABKAkqWwoOQ3BTb2x2ZXJTdGF0dXMSCwoHVU5LTk9XThAAEhEKDU1P",
177 "REVMX0lOVkFMSUQQARIMCghGRUFTSUJMRRACEg4KCklORkVBU0lCTEUQAxIL",
178 "CgdPUFRJTUFMEARCdgoWY29tLmdvb2dsZS5vcnRvb2xzLnNhdEIPQ3BNb2Rl",
179 "bFByb3RvYnVmUAFaNGdpdGh1Yi5jb20vZ29vZ2xlL29yLXRvb2xzL29ydG9v",
180 "bHMvc2F0L3Byb3RvL2NwbW9kZWyqAhJHb29nbGUuT3JUb29scy5TYXRiBnBy",
182 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
183 new pbr::FileDescriptor[] { },
184 new pbr::GeneratedClrTypeInfo(
new[] {typeof(global::Google.
OrTools.
Sat.CpSolverStatus), },
null,
new pbr::GeneratedClrTypeInfo[] {
185 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
IntegerVariableProto), global::Google.OrTools.Sat.IntegerVariableProto.Parser,
new[]{
"Name",
"Domain" },
null,
null,
null,
null),
186 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
BoolArgumentProto), global::Google.OrTools.Sat.BoolArgumentProto.Parser,
new[]{
"Literals" },
null,
null,
null,
null),
187 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
LinearExpressionProto), global::Google.OrTools.Sat.LinearExpressionProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset" },
null,
null,
null,
null),
188 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
LinearArgumentProto), global::Google.OrTools.Sat.LinearArgumentProto.Parser,
new[]{
"Target",
"Exprs" },
null,
null,
null,
null),
189 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
AllDifferentConstraintProto), global::Google.OrTools.Sat.AllDifferentConstraintProto.Parser,
new[]{
"Exprs" },
null,
null,
null,
null),
190 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
LinearConstraintProto), global::Google.OrTools.Sat.LinearConstraintProto.Parser,
new[]{
"Vars",
"Coeffs",
"Domain" },
null,
null,
null,
null),
191 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
ElementConstraintProto), global::Google.OrTools.Sat.ElementConstraintProto.Parser,
new[]{
"Index",
"Target",
"Vars",
"LinearIndex",
"LinearTarget",
"Exprs" },
null,
null,
null,
null),
192 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
IntervalConstraintProto), global::Google.OrTools.Sat.IntervalConstraintProto.Parser,
new[]{
"Start",
"End",
"Size" },
null,
null,
null,
null),
193 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
NoOverlapConstraintProto), global::Google.OrTools.Sat.NoOverlapConstraintProto.Parser,
new[]{
"Intervals" },
null,
null,
null,
null),
194 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
NoOverlap2DConstraintProto), global::Google.OrTools.Sat.NoOverlap2DConstraintProto.Parser,
new[]{
"XIntervals",
"YIntervals" },
null,
null,
null,
null),
195 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
CumulativeConstraintProto), global::Google.OrTools.Sat.CumulativeConstraintProto.Parser,
new[]{
"Capacity",
"Intervals",
"Demands" },
null,
null,
null,
null),
196 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
ReservoirConstraintProto), global::Google.OrTools.Sat.ReservoirConstraintProto.Parser,
new[]{
"MinLevel",
"MaxLevel",
"TimeExprs",
"LevelChanges",
"ActiveLiterals" },
null,
null,
null,
null),
197 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
CircuitConstraintProto), global::Google.OrTools.Sat.CircuitConstraintProto.Parser,
new[]{
"Tails",
"Heads",
"Literals" },
null,
null,
null,
null),
198 new pbr::GeneratedClrTypeInfo(typeof(global::Google.
OrTools.
Sat.
RoutesConstraintProto), global::Google.OrTools.Sat.RoutesConstraintProto.Parser,
new[]{
"Tails",
"Heads",
"Literals",
"Demands",
"Capacity",
"Dimensions" },
null,
null,
null,
new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions), global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions.Parser, new[]{
"Exprs" },
null,
null,
null,
null)}),
199 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.TableConstraintProto), global::Google.OrTools.Sat.TableConstraintProto.Parser,
new[]{
"Vars",
"Values",
"Exprs",
"Negated" },
null,
null,
null,
null),
200 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.InverseConstraintProto), global::Google.OrTools.Sat.InverseConstraintProto.Parser,
new[]{
"FDirect",
"FInverse" },
null,
null,
null,
null),
201 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.AutomatonConstraintProto), global::Google.OrTools.Sat.AutomatonConstraintProto.Parser,
new[]{
"StartingState",
"FinalStates",
"TransitionTail",
"TransitionHead",
"TransitionLabel",
"Vars",
"Exprs" },
null,
null,
null,
null),
202 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ListOfVariablesProto), global::Google.OrTools.Sat.ListOfVariablesProto.Parser,
new[]{
"Vars" },
null,
null,
null,
null),
203 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.ConstraintProto), global::Google.OrTools.Sat.ConstraintProto.Parser,
new[]{
"Name",
"EnforcementLiteral",
"BoolOr",
"BoolAnd",
"AtMostOne",
"ExactlyOne",
"BoolXor",
"IntDiv",
"IntMod",
"IntProd",
"LinMax",
"Linear",
"AllDiff",
"Element",
"Circuit",
"Routes",
"Table",
"Automaton",
"Inverse",
"Reservoir",
"Interval",
"NoOverlap",
"NoOverlap2D",
"Cumulative",
"DummyConstraint" },
new[]{
"Constraint" },
null,
null,
null),
204 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpObjectiveProto), global::Google.OrTools.Sat.CpObjectiveProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset",
"ScalingFactor",
"Domain",
"ScalingWasExact",
"IntegerBeforeOffset",
"IntegerAfterOffset",
"IntegerScalingFactor" },
null,
null,
null,
null),
205 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.FloatObjectiveProto), global::Google.OrTools.Sat.FloatObjectiveProto.Parser,
new[]{
"Vars",
"Coeffs",
"Offset",
"Maximize" },
null,
null,
null,
null),
206 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.DecisionStrategyProto), global::Google.OrTools.Sat.DecisionStrategyProto.Parser,
new[]{
"Variables",
"Exprs",
"VariableSelectionStrategy",
"DomainReductionStrategy" },
null,
new[]{ typeof(global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy), typeof(global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) },
null,
null),
207 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.PartialVariableAssignment), global::Google.OrTools.Sat.PartialVariableAssignment.Parser,
new[]{
"Vars",
"Values" },
null,
null,
null,
null),
208 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.SparsePermutationProto), global::Google.OrTools.Sat.SparsePermutationProto.Parser,
new[]{
"Support",
"CycleSizes" },
null,
null,
null,
null),
209 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.DenseMatrixProto), global::Google.OrTools.Sat.DenseMatrixProto.Parser,
new[]{
"NumRows",
"NumCols",
"Entries" },
null,
null,
null,
null),
210 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.SymmetryProto), global::Google.OrTools.Sat.SymmetryProto.Parser,
new[]{
"Permutations",
"Orbitopes" },
null,
null,
null,
null),
211 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpModelProto), global::Google.OrTools.Sat.CpModelProto.Parser,
new[]{
"Name",
"Variables",
"Constraints",
"Objective",
"FloatingPointObjective",
"SearchStrategy",
"SolutionHint",
"Assumptions",
"Symmetry" },
null,
null,
null,
null),
212 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpSolverSolution), global::Google.OrTools.Sat.CpSolverSolution.Parser,
new[]{
"Values" },
null,
null,
null,
null),
213 new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.Sat.CpSolverResponse), global::Google.OrTools.Sat.CpSolverResponse.Parser,
new[]{
"Status",
"Solution",
"ObjectiveValue",
"BestObjectiveBound",
"AdditionalSolutions",
"TightenedVariables",
"SufficientAssumptionsForInfeasibility",
"IntegerObjective",
"InnerObjectiveLowerBound",
"NumIntegers",
"NumBooleans",
"NumFixedBooleans",
"NumConflicts",
"NumBranches",
"NumBinaryPropagations",
"NumIntegerPropagations",
"NumRestarts",
"NumLpIterations",
"WallTime",
"UserTime",
"DeterministicTime",
"GapIntegral",
"SolutionInfo",
"SolveLog" },
null,
null,
null,
null)
254 [pbr::OriginalName(
"OPTIMAL")]
Optimal = 4,
281 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
282 public sealed partial class IntegerVariableProto : pb::IMessage<IntegerVariableProto>
283 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
287 private static readonly pb::MessageParser<IntegerVariableProto> _parser =
new pb::MessageParser<IntegerVariableProto>(() =>
new IntegerVariableProto());
288 private pb::UnknownFieldSet _unknownFields;
289 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
290 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
291 public static pb::MessageParser<IntegerVariableProto>
Parser {
get {
return _parser; } }
293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
294 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
295 public static pbr::MessageDescriptor Descriptor {
296 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[0]; }
299 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
300 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
301 pbr::MessageDescriptor pb::IMessage.Descriptor {
305 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
306 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
311 partial
void OnConstruction();
313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
314 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
317 domain_ = other.domain_.Clone();
318 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
322 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
329 private string name_ =
"";
333 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
334 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
336 get {
return name_; }
338 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
343 public const int DomainFieldNumber = 2;
344 private static readonly pb::FieldCodec<long> _repeated_domain_codec
345 = pb::FieldCodec.ForInt64(18);
346 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
367 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
368 public pbc::RepeatedField<long>
Domain {
369 get {
return domain_; }
372 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
373 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
374 public override bool Equals(
object other) {
378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
379 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
381 if (ReferenceEquals(other,
null)) {
384 if (ReferenceEquals(other,
this)) {
387 if (Name != other.Name)
return false;
388 if(!domain_.Equals(other.domain_))
return false;
389 return Equals(_unknownFields, other._unknownFields);
392 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
393 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
394 public override int GetHashCode() {
396 if (Name.Length != 0) hash ^= Name.GetHashCode();
397 hash ^= domain_.GetHashCode();
398 if (_unknownFields !=
null) {
399 hash ^= _unknownFields.GetHashCode();
404 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
405 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
406 public override string ToString() {
407 return pb::JsonFormatter.ToDiagnosticString(
this);
410 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
411 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
412 public void WriteTo(pb::CodedOutputStream output) {
413 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
414 output.WriteRawMessage(
this);
416 if (
Name.Length != 0) {
417 output.WriteRawTag(10);
418 output.WriteString(
Name);
420 domain_.WriteTo(output, _repeated_domain_codec);
421 if (_unknownFields !=
null) {
422 _unknownFields.WriteTo(output);
427 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
428 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
429 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
430 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
431 if (Name.Length != 0) {
432 output.WriteRawTag(10);
433 output.WriteString(Name);
435 domain_.WriteTo(ref output, _repeated_domain_codec);
436 if (_unknownFields !=
null) {
437 _unknownFields.WriteTo(ref output);
442 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
443 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
444 public int CalculateSize() {
446 if (Name.Length != 0) {
447 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
449 size += domain_.CalculateSize(_repeated_domain_codec);
450 if (_unknownFields !=
null) {
451 size += _unknownFields.CalculateSize();
456 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
457 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
458 public void MergeFrom(IntegerVariableProto other) {
462 if (other.Name.Length != 0) {
465 domain_.Add(other.domain_);
466 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
469 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
470 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
471 public void MergeFrom(pb::CodedInputStream input) {
472 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
473 input.ReadRawMessage(
this);
476 while ((tag = input.ReadTag()) != 0) {
477 if ((tag & 7) == 4) {
483 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
486 Name = input.ReadString();
491 domain_.AddEntriesFrom(input, _repeated_domain_codec);
499 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
501 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
502 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
504 while ((tag = input.ReadTag()) != 0) {
505 if ((tag & 7) == 4) {
511 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
514 Name = input.ReadString();
519 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
532 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
533 public sealed partial class BoolArgumentProto : pb::IMessage<BoolArgumentProto>
534 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
538 private static readonly pb::MessageParser<BoolArgumentProto> _parser =
new pb::MessageParser<BoolArgumentProto>(() =>
new BoolArgumentProto());
539 private pb::UnknownFieldSet _unknownFields;
540 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
541 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
542 public static pb::MessageParser<BoolArgumentProto>
Parser {
get {
return _parser; } }
544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
545 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
546 public static pbr::MessageDescriptor Descriptor {
547 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[1]; }
550 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
551 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
552 pbr::MessageDescriptor pb::IMessage.Descriptor {
556 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
557 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
562 partial
void OnConstruction();
564 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
565 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
567 literals_ = other.literals_.Clone();
568 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
571 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
572 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
578 public const int LiteralsFieldNumber = 1;
579 private static readonly pb::FieldCodec<int> _repeated_literals_codec
580 = pb::FieldCodec.ForInt32(10);
581 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
582 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
583 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
584 public pbc::RepeatedField<int>
Literals {
585 get {
return literals_; }
588 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
589 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
590 public override bool Equals(
object other) {
594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
595 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
597 if (ReferenceEquals(other,
null)) {
600 if (ReferenceEquals(other,
this)) {
603 if(!literals_.Equals(other.literals_))
return false;
604 return Equals(_unknownFields, other._unknownFields);
607 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
608 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
609 public override int GetHashCode() {
611 hash ^= literals_.GetHashCode();
612 if (_unknownFields !=
null) {
613 hash ^= _unknownFields.GetHashCode();
618 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
619 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
621 return pb::JsonFormatter.ToDiagnosticString(
this);
624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
625 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
626 public void WriteTo(pb::CodedOutputStream output) {
627 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
628 output.WriteRawMessage(
this);
630 literals_.WriteTo(output, _repeated_literals_codec);
631 if (_unknownFields !=
null) {
632 _unknownFields.WriteTo(output);
637 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
638 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
639 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
640 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
641 literals_.WriteTo(ref output, _repeated_literals_codec);
642 if (_unknownFields !=
null) {
643 _unknownFields.WriteTo(ref output);
648 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
649 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
650 public int CalculateSize() {
652 size += literals_.CalculateSize(_repeated_literals_codec);
653 if (_unknownFields !=
null) {
654 size += _unknownFields.CalculateSize();
659 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
660 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
665 literals_.Add(other.literals_);
666 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
669 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
670 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
671 public void MergeFrom(pb::CodedInputStream input) {
672 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
673 input.ReadRawMessage(
this);
676 while ((tag = input.ReadTag()) != 0) {
677 if ((tag & 7) == 4) {
683 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
687 literals_.AddEntriesFrom(input, _repeated_literals_codec);
695 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
696 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
697 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
698 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
700 while ((tag = input.ReadTag()) != 0) {
701 if ((tag & 7) == 4) {
707 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
711 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
726 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
727 public sealed partial class LinearExpressionProto : pb::IMessage<LinearExpressionProto>
728 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
732 private static readonly pb::MessageParser<LinearExpressionProto> _parser =
new pb::MessageParser<LinearExpressionProto>(() =>
new LinearExpressionProto());
733 private pb::UnknownFieldSet _unknownFields;
734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
735 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
736 public static pb::MessageParser<LinearExpressionProto>
Parser {
get {
return _parser; } }
738 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
739 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
740 public static pbr::MessageDescriptor Descriptor {
741 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[2]; }
744 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
745 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
746 pbr::MessageDescriptor pb::IMessage.Descriptor {
750 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
751 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
756 partial
void OnConstruction();
758 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
759 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
761 vars_ = other.vars_.Clone();
762 coeffs_ = other.coeffs_.Clone();
763 offset_ = other.offset_;
764 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
767 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
768 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
774 public const int VarsFieldNumber = 1;
775 private static readonly pb::FieldCodec<int> _repeated_vars_codec
776 = pb::FieldCodec.ForInt32(10);
777 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
778 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
779 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
780 public pbc::RepeatedField<int>
Vars {
781 get {
return vars_; }
785 public const int CoeffsFieldNumber = 2;
786 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
787 = pb::FieldCodec.ForInt64(18);
788 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
789 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
790 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
791 public pbc::RepeatedField<long>
Coeffs {
792 get {
return coeffs_; }
796 public const int OffsetFieldNumber = 3;
797 private long offset_;
798 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
799 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
801 get {
return offset_; }
807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
808 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
809 public override bool Equals(
object other) {
813 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
814 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
816 if (ReferenceEquals(other,
null)) {
819 if (ReferenceEquals(other,
this)) {
822 if(!vars_.Equals(other.vars_))
return false;
823 if(!coeffs_.Equals(other.coeffs_))
return false;
824 if (
Offset != other.Offset)
return false;
825 return Equals(_unknownFields, other._unknownFields);
828 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
829 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
830 public override int GetHashCode() {
832 hash ^= vars_.GetHashCode();
833 hash ^= coeffs_.GetHashCode();
834 if (Offset != 0L) hash ^= Offset.GetHashCode();
835 if (_unknownFields !=
null) {
836 hash ^= _unknownFields.GetHashCode();
841 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
842 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
843 public override string ToString() {
844 return pb::JsonFormatter.ToDiagnosticString(
this);
847 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
848 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
849 public void WriteTo(pb::CodedOutputStream output) {
850 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
851 output.WriteRawMessage(
this);
853 vars_.WriteTo(output, _repeated_vars_codec);
854 coeffs_.WriteTo(output, _repeated_coeffs_codec);
856 output.WriteRawTag(24);
859 if (_unknownFields !=
null) {
860 _unknownFields.WriteTo(output);
865 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
866 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
867 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
868 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
869 vars_.WriteTo(ref output, _repeated_vars_codec);
870 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
872 output.WriteRawTag(24);
873 output.WriteInt64(Offset);
875 if (_unknownFields !=
null) {
876 _unknownFields.WriteTo(ref output);
881 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
882 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
883 public int CalculateSize() {
885 size += vars_.CalculateSize(_repeated_vars_codec);
886 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
888 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Offset);
890 if (_unknownFields !=
null) {
891 size += _unknownFields.CalculateSize();
896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
897 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
898 public void MergeFrom(LinearExpressionProto other) {
902 vars_.Add(other.vars_);
903 coeffs_.Add(other.coeffs_);
904 if (other.Offset != 0L) {
905 Offset = other.Offset;
907 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
910 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
911 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
912 public void MergeFrom(pb::CodedInputStream input) {
913 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
914 input.ReadRawMessage(
this);
917 while ((tag = input.ReadTag()) != 0) {
918 if ((tag & 7) == 4) {
924 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
928 vars_.AddEntriesFrom(input, _repeated_vars_codec);
933 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
937 Offset = input.ReadInt64();
945 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
946 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
947 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
948 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
950 while ((tag = input.ReadTag()) != 0) {
951 if ((tag & 7) == 4) {
957 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
961 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
966 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
970 Offset = input.ReadInt64();
980 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
981 public sealed partial class LinearArgumentProto : pb::IMessage<LinearArgumentProto>
982 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
986 private static readonly pb::MessageParser<LinearArgumentProto> _parser =
new pb::MessageParser<LinearArgumentProto>(() =>
new LinearArgumentProto());
987 private pb::UnknownFieldSet _unknownFields;
988 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
989 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
990 public static pb::MessageParser<LinearArgumentProto>
Parser {
get {
return _parser; } }
992 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
993 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
994 public static pbr::MessageDescriptor Descriptor {
995 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[3]; }
998 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
999 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1000 pbr::MessageDescriptor pb::IMessage.Descriptor {
1004 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1005 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1010 partial
void OnConstruction();
1012 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1013 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1015 target_ = other.target_ !=
null ? other.target_.Clone() :
null;
1016 exprs_ = other.exprs_.Clone();
1017 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1020 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1021 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1027 public const int TargetFieldNumber = 1;
1028 private global::Google.OrTools.Sat.LinearExpressionProto target_;
1029 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1030 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1032 get { return target_; }
1040 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
1042 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
1043 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1044 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1045 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
1046 get { return exprs_; }
1049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1050 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1051 public override bool Equals(
object other) {
1055 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1056 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1058 if (ReferenceEquals(other,
null)) {
1061 if (ReferenceEquals(other,
this)) {
1064 if (!
object.Equals(Target, other.Target))
return false;
1065 if(!exprs_.Equals(other.exprs_))
return false;
1066 return Equals(_unknownFields, other._unknownFields);
1069 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1070 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1071 public override int GetHashCode() {
1073 if (target_ !=
null) hash ^= Target.GetHashCode();
1074 hash ^= exprs_.GetHashCode();
1075 if (_unknownFields !=
null) {
1076 hash ^= _unknownFields.GetHashCode();
1081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1082 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1083 public override string ToString() {
1084 return pb::JsonFormatter.ToDiagnosticString(
this);
1087 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1088 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1089 public void WriteTo(pb::CodedOutputStream output) {
1090 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1091 output.WriteRawMessage(
this);
1093 if (target_ !=
null) {
1094 output.WriteRawTag(10);
1095 output.WriteMessage(
Target);
1097 exprs_.WriteTo(output, _repeated_exprs_codec);
1098 if (_unknownFields !=
null) {
1099 _unknownFields.WriteTo(output);
1104 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1106 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1107 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1108 if (target_ !=
null) {
1109 output.WriteRawTag(10);
1110 output.WriteMessage(Target);
1112 exprs_.WriteTo(ref output, _repeated_exprs_codec);
1113 if (_unknownFields !=
null) {
1114 _unknownFields.WriteTo(ref output);
1119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1120 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1121 public int CalculateSize() {
1123 if (target_ !=
null) {
1124 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Target);
1126 size += exprs_.CalculateSize(_repeated_exprs_codec);
1127 if (_unknownFields !=
null) {
1128 size += _unknownFields.CalculateSize();
1133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1134 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1135 public void MergeFrom(LinearArgumentProto other) {
1136 if (other ==
null) {
1139 if (other.target_ !=
null) {
1140 if (target_ ==
null) {
1141 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1145 exprs_.Add(other.exprs_);
1146 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1150 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1151 public void MergeFrom(pb::CodedInputStream input) {
1152 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1153 input.ReadRawMessage(
this);
1156 while ((tag = input.ReadTag()) != 0) {
1157 if ((tag & 7) == 4) {
1163 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1166 if (target_ ==
null) {
1167 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1169 input.ReadMessage(Target);
1173 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
1181 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1183 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1184 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1186 while ((tag = input.ReadTag()) != 0) {
1187 if ((tag & 7) == 4) {
1193 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1196 if (target_ ==
null) {
1197 Target =
new global::Google.OrTools.Sat.LinearExpressionProto();
1199 input.ReadMessage(Target);
1203 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
1216 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1217 public sealed partial
class AllDifferentConstraintProto : pb::IMessage<AllDifferentConstraintProto>
1218 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1219 , pb::IBufferMessage
1222 private static readonly pb::MessageParser<AllDifferentConstraintProto> _parser =
new pb::MessageParser<AllDifferentConstraintProto>(() =>
new AllDifferentConstraintProto());
1223 private pb::UnknownFieldSet _unknownFields;
1224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1225 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1226 public static pb::MessageParser<AllDifferentConstraintProto>
Parser {
get {
return _parser; } }
1228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1229 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1230 public static pbr::MessageDescriptor Descriptor {
1231 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[4]; }
1234 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1235 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1236 pbr::MessageDescriptor pb::IMessage.Descriptor {
1240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1241 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1246 partial
void OnConstruction();
1248 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1249 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1251 exprs_ = other.exprs_.Clone();
1252 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1256 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1262 public const int ExprsFieldNumber = 1;
1263 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
1265 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
1266 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1267 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1268 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
1269 get { return exprs_; }
1272 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1273 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1274 public override bool Equals(
object other) {
1278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1279 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1281 if (ReferenceEquals(other,
null)) {
1284 if (ReferenceEquals(other,
this)) {
1287 if(!exprs_.Equals(other.exprs_))
return false;
1288 return Equals(_unknownFields, other._unknownFields);
1291 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1292 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1293 public override int GetHashCode() {
1295 hash ^= exprs_.GetHashCode();
1296 if (_unknownFields !=
null) {
1297 hash ^= _unknownFields.GetHashCode();
1302 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1303 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1304 public override string ToString() {
1305 return pb::JsonFormatter.ToDiagnosticString(
this);
1308 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1309 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1310 public void WriteTo(pb::CodedOutputStream output) {
1311 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1312 output.WriteRawMessage(
this);
1314 exprs_.WriteTo(output, _repeated_exprs_codec);
1315 if (_unknownFields !=
null) {
1316 _unknownFields.WriteTo(output);
1321 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1322 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1323 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1324 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1325 exprs_.WriteTo(ref output, _repeated_exprs_codec);
1326 if (_unknownFields !=
null) {
1327 _unknownFields.WriteTo(ref output);
1332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1333 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1334 public int CalculateSize() {
1336 size += exprs_.CalculateSize(_repeated_exprs_codec);
1337 if (_unknownFields !=
null) {
1338 size += _unknownFields.CalculateSize();
1343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1344 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1346 if (other ==
null) {
1349 exprs_.Add(other.exprs_);
1350 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1354 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1355 public void MergeFrom(pb::CodedInputStream input) {
1356 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1357 input.ReadRawMessage(
this);
1360 while ((tag = input.ReadTag()) != 0) {
1361 if ((tag & 7) == 4) {
1367 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1370 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
1378 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1379 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1380 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1381 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1383 while ((tag = input.ReadTag()) != 0) {
1384 if ((tag & 7) == 4) {
1390 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1393 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
1411 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1412 public sealed partial
class LinearConstraintProto : pb::IMessage<LinearConstraintProto>
1413 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1414 , pb::IBufferMessage
1417 private static readonly pb::MessageParser<LinearConstraintProto> _parser =
new pb::MessageParser<LinearConstraintProto>(() =>
new LinearConstraintProto());
1418 private pb::UnknownFieldSet _unknownFields;
1419 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1420 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1421 public static pb::MessageParser<LinearConstraintProto>
Parser {
get {
return _parser; } }
1423 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1424 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1425 public static pbr::MessageDescriptor Descriptor {
1426 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[5]; }
1429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1430 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1431 pbr::MessageDescriptor pb::IMessage.Descriptor {
1435 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1436 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1441 partial
void OnConstruction();
1443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1444 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1446 vars_ = other.vars_.Clone();
1447 coeffs_ = other.coeffs_.Clone();
1448 domain_ = other.domain_.Clone();
1449 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1452 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1453 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1459 public const int VarsFieldNumber = 1;
1460 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1461 = pb::FieldCodec.ForInt32(10);
1462 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1463 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1464 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1465 public pbc::RepeatedField<int>
Vars {
1466 get {
return vars_; }
1471 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
1472 = pb::FieldCodec.ForInt64(18);
1473 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
1477 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1478 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1480 get {
return coeffs_; }
1484 public const int DomainFieldNumber = 3;
1485 private static readonly pb::FieldCodec<long> _repeated_domain_codec
1486 = pb::FieldCodec.ForInt64(26);
1487 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
1488 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1489 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1490 public pbc::RepeatedField<long>
Domain {
1491 get {
return domain_; }
1494 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1495 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1496 public override bool Equals(
object other) {
1500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1501 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1503 if (ReferenceEquals(other,
null)) {
1506 if (ReferenceEquals(other,
this)) {
1509 if(!vars_.Equals(other.vars_))
return false;
1510 if(!coeffs_.Equals(other.coeffs_))
return false;
1511 if(!domain_.Equals(other.domain_))
return false;
1512 return Equals(_unknownFields, other._unknownFields);
1515 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1516 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1517 public override int GetHashCode() {
1519 hash ^= vars_.GetHashCode();
1520 hash ^= coeffs_.GetHashCode();
1521 hash ^= domain_.GetHashCode();
1522 if (_unknownFields !=
null) {
1523 hash ^= _unknownFields.GetHashCode();
1528 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1529 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1530 public override string ToString() {
1531 return pb::JsonFormatter.ToDiagnosticString(
this);
1534 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1535 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1536 public void WriteTo(pb::CodedOutputStream output) {
1537 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1538 output.WriteRawMessage(
this);
1540 vars_.WriteTo(output, _repeated_vars_codec);
1541 coeffs_.WriteTo(output, _repeated_coeffs_codec);
1542 domain_.WriteTo(output, _repeated_domain_codec);
1543 if (_unknownFields !=
null) {
1544 _unknownFields.WriteTo(output);
1549 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1550 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1551 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1552 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1553 vars_.WriteTo(ref output, _repeated_vars_codec);
1554 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
1555 domain_.WriteTo(ref output, _repeated_domain_codec);
1556 if (_unknownFields !=
null) {
1557 _unknownFields.WriteTo(ref output);
1562 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1563 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1564 public int CalculateSize() {
1566 size += vars_.CalculateSize(_repeated_vars_codec);
1567 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
1568 size += domain_.CalculateSize(_repeated_domain_codec);
1569 if (_unknownFields !=
null) {
1570 size += _unknownFields.CalculateSize();
1575 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1576 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1578 if (other ==
null) {
1581 vars_.Add(other.vars_);
1582 coeffs_.Add(other.coeffs_);
1583 domain_.Add(other.domain_);
1584 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1587 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1588 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1589 public void MergeFrom(pb::CodedInputStream input) {
1590 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1591 input.ReadRawMessage(
this);
1594 while ((tag = input.ReadTag()) != 0) {
1595 if ((tag & 7) == 4) {
1601 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1605 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1610 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
1615 domain_.AddEntriesFrom(input, _repeated_domain_codec);
1623 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1625 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1626 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1628 while ((tag = input.ReadTag()) != 0) {
1629 if ((tag & 7) == 4) {
1635 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1639 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
1644 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
1649 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
1663 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
1664 public sealed partial class ElementConstraintProto : pb::IMessage<ElementConstraintProto>
1665 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1666 , pb::IBufferMessage
1669 private static readonly pb::MessageParser<ElementConstraintProto> _parser =
new pb::MessageParser<ElementConstraintProto>(() =>
new ElementConstraintProto());
1670 private pb::UnknownFieldSet _unknownFields;
1671 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1672 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1673 public static pb::MessageParser<ElementConstraintProto>
Parser {
get {
return _parser; } }
1675 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1676 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1677 public static pbr::MessageDescriptor Descriptor {
1678 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[6]; }
1681 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1682 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1683 pbr::MessageDescriptor pb::IMessage.Descriptor {
1687 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1688 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1693 partial
void OnConstruction();
1695 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1696 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1698 index_ = other.index_;
1699 target_ = other.target_;
1700 vars_ = other.vars_.Clone();
1701 linearIndex_ = other.linearIndex_ !=
null ? other.linearIndex_.Clone() :
null;
1702 linearTarget_ = other.linearTarget_ !=
null ? other.linearTarget_.Clone() :
null;
1703 exprs_ = other.exprs_.Clone();
1704 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1707 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1708 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1714 public const int IndexFieldNumber = 1;
1719 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1720 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1722 get {
return index_; }
1729 public const int TargetFieldNumber = 2;
1730 private int target_;
1734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1735 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1737 get {
return target_; }
1744 public const int VarsFieldNumber = 3;
1745 private static readonly pb::FieldCodec<int> _repeated_vars_codec
1746 = pb::FieldCodec.ForInt32(26);
1747 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
1751 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1752 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1753 public pbc::RepeatedField<int>
Vars {
1754 get {
return vars_; }
1758 public const int LinearIndexFieldNumber = 4;
1759 private global::Google.OrTools.Sat.LinearExpressionProto linearIndex_;
1763 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1764 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1765 public global::Google.OrTools.Sat.LinearExpressionProto
LinearIndex {
1766 get {
return linearIndex_; }
1768 linearIndex_ = value;
1773 public const int LinearTargetFieldNumber = 5;
1774 private global::Google.OrTools.Sat.LinearExpressionProto linearTarget_;
1775 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1776 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1777 public global::Google.OrTools.Sat.LinearExpressionProto
LinearTarget {
1778 get {
return linearTarget_; }
1780 linearTarget_ = value;
1785 public const int ExprsFieldNumber = 6;
1786 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
1788 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
1789 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1790 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1791 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
1792 get {
return exprs_; }
1795 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1796 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1797 public override bool Equals(
object other) {
1801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1802 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1804 if (ReferenceEquals(other,
null)) {
1807 if (ReferenceEquals(other,
this)) {
1810 if (Index != other.Index)
return false;
1811 if (Target != other.Target)
return false;
1812 if(!vars_.Equals(other.vars_))
return false;
1815 if(!exprs_.Equals(other.exprs_))
return false;
1816 return Equals(_unknownFields, other._unknownFields);
1819 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1820 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1821 public override int GetHashCode() {
1823 if (Index != 0) hash ^= Index.GetHashCode();
1824 if (Target != 0) hash ^= Target.GetHashCode();
1825 hash ^= vars_.GetHashCode();
1826 if (linearIndex_ !=
null) hash ^= LinearIndex.GetHashCode();
1827 if (linearTarget_ !=
null) hash ^= LinearTarget.GetHashCode();
1828 hash ^= exprs_.GetHashCode();
1829 if (_unknownFields !=
null) {
1830 hash ^= _unknownFields.GetHashCode();
1835 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1836 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1837 public override string ToString() {
1838 return pb::JsonFormatter.ToDiagnosticString(
this);
1841 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1842 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1843 public void WriteTo(pb::CodedOutputStream output) {
1844 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1845 output.WriteRawMessage(
this);
1848 output.WriteRawTag(8);
1849 output.WriteInt32(
Index);
1852 output.WriteRawTag(16);
1853 output.WriteInt32(
Target);
1855 vars_.WriteTo(output, _repeated_vars_codec);
1856 if (linearIndex_ !=
null) {
1857 output.WriteRawTag(34);
1858 output.WriteMessage(LinearIndex);
1860 if (linearTarget_ !=
null) {
1861 output.WriteRawTag(42);
1862 output.WriteMessage(LinearTarget);
1864 exprs_.WriteTo(output, _repeated_exprs_codec);
1865 if (_unknownFields !=
null) {
1866 _unknownFields.WriteTo(output);
1871 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1872 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1873 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1874 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1876 output.WriteRawTag(8);
1877 output.WriteInt32(Index);
1880 output.WriteRawTag(16);
1881 output.WriteInt32(Target);
1883 vars_.WriteTo(ref output, _repeated_vars_codec);
1884 if (linearIndex_ !=
null) {
1885 output.WriteRawTag(34);
1886 output.WriteMessage(LinearIndex);
1888 if (linearTarget_ !=
null) {
1889 output.WriteRawTag(42);
1890 output.WriteMessage(LinearTarget);
1892 exprs_.WriteTo(ref output, _repeated_exprs_codec);
1893 if (_unknownFields !=
null) {
1894 _unknownFields.WriteTo(ref output);
1899 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1900 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1901 public int CalculateSize() {
1904 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index);
1907 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Target);
1909 size += vars_.CalculateSize(_repeated_vars_codec);
1910 if (linearIndex_ !=
null) {
1911 size += 1 + pb::CodedOutputStream.ComputeMessageSize(
LinearIndex);
1913 if (linearTarget_ !=
null) {
1914 size += 1 + pb::CodedOutputStream.ComputeMessageSize(LinearTarget);
1916 size += exprs_.CalculateSize(_repeated_exprs_codec);
1917 if (_unknownFields !=
null) {
1918 size += _unknownFields.CalculateSize();
1923 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1924 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1925 public void MergeFrom(ElementConstraintProto other) {
1926 if (other ==
null) {
1929 if (other.Index != 0) {
1930 Index = other.Index;
1932 if (other.Target != 0) {
1933 Target = other.Target;
1935 vars_.Add(other.vars_);
1936 if (other.linearIndex_ !=
null) {
1937 if (linearIndex_ ==
null) {
1938 LinearIndex =
new global::Google.OrTools.Sat.LinearExpressionProto();
1940 LinearIndex.MergeFrom(other.LinearIndex);
1942 if (other.linearTarget_ !=
null) {
1943 if (linearTarget_ ==
null) {
1944 LinearTarget =
new global::Google.OrTools.Sat.LinearExpressionProto();
1946 LinearTarget.MergeFrom(other.LinearTarget);
1948 exprs_.Add(other.exprs_);
1949 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1952 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1953 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1954 public void MergeFrom(pb::CodedInputStream input) {
1955 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1956 input.ReadRawMessage(
this);
1959 while ((tag = input.ReadTag()) != 0) {
1960 if ((tag & 7) == 4) {
1966 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1969 Index = input.ReadInt32();
1973 Target = input.ReadInt32();
1978 vars_.AddEntriesFrom(input, _repeated_vars_codec);
1982 if (linearIndex_ ==
null) {
1983 LinearIndex =
new global::Google.OrTools.Sat.LinearExpressionProto();
1985 input.ReadMessage(LinearIndex);
1989 if (linearTarget_ ==
null) {
1990 LinearTarget =
new global::Google.OrTools.Sat.LinearExpressionProto();
1992 input.ReadMessage(LinearTarget);
1996 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
2004 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2005 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2006 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2007 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2009 while ((tag = input.ReadTag()) != 0) {
2010 if ((tag & 7) == 4) {
2016 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2019 Index = input.ReadInt32();
2023 Target = input.ReadInt32();
2028 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
2032 if (linearIndex_ ==
null) {
2033 LinearIndex =
new global::Google.OrTools.Sat.LinearExpressionProto();
2035 input.ReadMessage(LinearIndex);
2039 if (linearTarget_ ==
null) {
2040 LinearTarget =
new global::Google.OrTools.Sat.LinearExpressionProto();
2042 input.ReadMessage(LinearTarget);
2046 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
2069 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2070 public sealed partial class IntervalConstraintProto : pb::IMessage<IntervalConstraintProto>
2071 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2072 , pb::IBufferMessage
2075 private static readonly pb::MessageParser<IntervalConstraintProto> _parser =
new pb::MessageParser<IntervalConstraintProto>(() =>
new IntervalConstraintProto());
2076 private pb::UnknownFieldSet _unknownFields;
2077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2078 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2079 public static pb::MessageParser<IntervalConstraintProto> Parser {
get {
return _parser; } }
2081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2082 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2083 public static pbr::MessageDescriptor
Descriptor {
2084 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[7]; }
2087 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2088 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2089 pbr::MessageDescriptor pb::IMessage.Descriptor {
2093 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2094 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2099 partial
void OnConstruction();
2101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2102 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2104 start_ = other.start_ !=
null ? other.start_.Clone() :
null;
2105 end_ = other.end_ !=
null ? other.end_.Clone() :
null;
2106 size_ = other.size_ !=
null ? other.size_.Clone() :
null;
2107 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2110 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2111 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2117 public const int StartFieldNumber = 4;
2118 private global::Google.OrTools.Sat.LinearExpressionProto start_;
2119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2120 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2122 get { return start_; }
2130 private global::Google.OrTools.Sat.LinearExpressionProto end_;
2131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2132 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2134 get { return end_; }
2142 private global::Google.OrTools.Sat.LinearExpressionProto size_;
2143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2144 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2146 get { return size_; }
2152 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2153 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2154 public override bool Equals(
object other) {
2158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2159 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2161 if (ReferenceEquals(other,
null)) {
2164 if (ReferenceEquals(other,
this)) {
2167 if (!
object.Equals(Start, other.Start))
return false;
2168 if (!
object.Equals(End, other.End))
return false;
2169 if (!
object.Equals(Size, other.Size))
return false;
2170 return Equals(_unknownFields, other._unknownFields);
2173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2174 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2175 public override int GetHashCode() {
2177 if (start_ !=
null) hash ^= Start.GetHashCode();
2178 if (end_ !=
null) hash ^= End.GetHashCode();
2179 if (size_ !=
null) hash ^= Size.GetHashCode();
2180 if (_unknownFields !=
null) {
2181 hash ^= _unknownFields.GetHashCode();
2186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2187 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2188 public override string ToString() {
2189 return pb::JsonFormatter.ToDiagnosticString(
this);
2192 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2193 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2194 public void WriteTo(pb::CodedOutputStream output) {
2195 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2196 output.WriteRawMessage(
this);
2198 if (start_ !=
null) {
2199 output.WriteRawTag(34);
2200 output.WriteMessage(
Start);
2203 output.WriteRawTag(42);
2204 output.WriteMessage(End);
2206 if (size_ !=
null) {
2207 output.WriteRawTag(50);
2208 output.WriteMessage(Size);
2210 if (_unknownFields !=
null) {
2211 _unknownFields.WriteTo(output);
2216 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2217 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2218 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2219 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2220 if (start_ !=
null) {
2221 output.WriteRawTag(34);
2222 output.WriteMessage(Start);
2225 output.WriteRawTag(42);
2226 output.WriteMessage(End);
2228 if (size_ !=
null) {
2229 output.WriteRawTag(50);
2230 output.WriteMessage(Size);
2232 if (_unknownFields !=
null) {
2233 _unknownFields.WriteTo(ref output);
2238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2239 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2240 public int CalculateSize() {
2242 if (start_ !=
null) {
2243 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Start);
2246 size += 1 + pb::CodedOutputStream.ComputeMessageSize(End);
2248 if (size_ !=
null) {
2249 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Size);
2251 if (_unknownFields !=
null) {
2252 size += _unknownFields.CalculateSize();
2257 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2258 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2259 public void MergeFrom(IntervalConstraintProto other) {
2260 if (other ==
null) {
2263 if (other.start_ !=
null) {
2264 if (start_ ==
null) {
2265 Start =
new global::Google.OrTools.Sat.LinearExpressionProto();
2267 Start.MergeFrom(other.Start);
2269 if (other.end_ !=
null) {
2271 End =
new global::Google.OrTools.Sat.LinearExpressionProto();
2273 End.MergeFrom(other.End);
2275 if (other.size_ !=
null) {
2276 if (size_ ==
null) {
2277 Size =
new global::Google.OrTools.Sat.LinearExpressionProto();
2279 Size.MergeFrom(other.Size);
2281 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2285 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2286 public void MergeFrom(pb::CodedInputStream input) {
2287 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2288 input.ReadRawMessage(
this);
2291 while ((tag = input.ReadTag()) != 0) {
2292 if ((tag & 7) == 4) {
2298 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2301 if (start_ ==
null) {
2302 Start =
new global::Google.OrTools.Sat.LinearExpressionProto();
2304 input.ReadMessage(
Start);
2309 End =
new global::Google.OrTools.Sat.LinearExpressionProto();
2311 input.ReadMessage(End);
2315 if (size_ ==
null) {
2316 Size =
new global::Google.OrTools.Sat.LinearExpressionProto();
2318 input.ReadMessage(Size);
2326 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2328 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2329 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2331 while ((tag = input.ReadTag()) != 0) {
2332 if ((tag & 7) == 4) {
2338 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2341 if (start_ ==
null) {
2342 Start =
new global::Google.OrTools.Sat.LinearExpressionProto();
2344 input.ReadMessage(Start);
2349 End =
new global::Google.OrTools.Sat.LinearExpressionProto();
2351 input.ReadMessage(End);
2355 if (size_ ==
null) {
2356 Size =
new global::Google.OrTools.Sat.LinearExpressionProto();
2358 input.ReadMessage(Size);
2375 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2376 public sealed partial
class NoOverlapConstraintProto : pb::IMessage<NoOverlapConstraintProto>
2377 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2378 , pb::IBufferMessage
2381 private static readonly pb::MessageParser<NoOverlapConstraintProto> _parser =
new pb::MessageParser<NoOverlapConstraintProto>(() =>
new NoOverlapConstraintProto());
2382 private pb::UnknownFieldSet _unknownFields;
2383 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2384 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2385 public static pb::MessageParser<NoOverlapConstraintProto> Parser {
get {
return _parser; } }
2387 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2388 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2389 public static pbr::MessageDescriptor
Descriptor {
2390 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[8]; }
2393 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2394 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2395 pbr::MessageDescriptor pb::IMessage.Descriptor {
2399 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2400 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2405 partial
void OnConstruction();
2407 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2408 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2410 intervals_ = other.intervals_.Clone();
2411 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2414 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2415 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2422 private static readonly pb::FieldCodec<int> _repeated_intervals_codec
2423 = pb::FieldCodec.ForInt32(10);
2424 private readonly pbc::RepeatedField<int> intervals_ =
new pbc::RepeatedField<int>();
2425 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2426 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2428 get {
return intervals_; }
2431 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2432 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2433 public override bool Equals(
object other) {
2437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2438 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2440 if (ReferenceEquals(other,
null)) {
2443 if (ReferenceEquals(other,
this)) {
2446 if(!intervals_.Equals(other.intervals_))
return false;
2447 return Equals(_unknownFields, other._unknownFields);
2450 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2451 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2454 hash ^= intervals_.GetHashCode();
2455 if (_unknownFields !=
null) {
2456 hash ^= _unknownFields.GetHashCode();
2461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2462 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2464 return pb::JsonFormatter.ToDiagnosticString(
this);
2467 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2468 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2469 public void WriteTo(pb::CodedOutputStream output) {
2470 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2471 output.WriteRawMessage(
this);
2473 intervals_.WriteTo(output, _repeated_intervals_codec);
2474 if (_unknownFields !=
null) {
2475 _unknownFields.WriteTo(output);
2480 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2481 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2482 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2483 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2484 intervals_.WriteTo(ref output, _repeated_intervals_codec);
2485 if (_unknownFields !=
null) {
2486 _unknownFields.WriteTo(ref output);
2491 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2492 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2493 public int CalculateSize() {
2495 size += intervals_.CalculateSize(_repeated_intervals_codec);
2496 if (_unknownFields !=
null) {
2497 size += _unknownFields.CalculateSize();
2502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2503 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2505 if (other ==
null) {
2508 intervals_.Add(other.intervals_);
2509 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2512 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2513 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2514 public void MergeFrom(pb::CodedInputStream input) {
2515 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2516 input.ReadRawMessage(
this);
2519 while ((tag = input.ReadTag()) != 0) {
2520 if ((tag & 7) == 4) {
2526 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2530 intervals_.AddEntriesFrom(input, _repeated_intervals_codec);
2538 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2539 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2540 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2541 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2543 while ((tag = input.ReadTag()) != 0) {
2544 if ((tag & 7) == 4) {
2550 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2554 intervals_.AddEntriesFrom(ref input, _repeated_intervals_codec);
2575 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2576 public sealed partial class NoOverlap2DConstraintProto : pb::IMessage<NoOverlap2DConstraintProto>
2577 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2578 , pb::IBufferMessage
2581 private static readonly pb::MessageParser<NoOverlap2DConstraintProto> _parser =
new pb::MessageParser<NoOverlap2DConstraintProto>(() =>
new NoOverlap2DConstraintProto());
2582 private pb::UnknownFieldSet _unknownFields;
2583 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2584 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2585 public static pb::MessageParser<NoOverlap2DConstraintProto> Parser {
get {
return _parser; } }
2587 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2588 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2589 public static pbr::MessageDescriptor
Descriptor {
2590 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[9]; }
2593 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2594 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2595 pbr::MessageDescriptor pb::IMessage.Descriptor {
2596 get {
return Descriptor; }
2599 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2600 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2605 partial
void OnConstruction();
2607 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2608 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2610 xIntervals_ = other.xIntervals_.Clone();
2611 yIntervals_ = other.yIntervals_.Clone();
2612 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2615 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2616 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2623 private static readonly pb::FieldCodec<int> _repeated_xIntervals_codec
2624 = pb::FieldCodec.ForInt32(10);
2625 private readonly pbc::RepeatedField<int> xIntervals_ =
new pbc::RepeatedField<int>();
2626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2627 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2629 get {
return xIntervals_; }
2633 public const int YIntervalsFieldNumber = 2;
2634 private static readonly pb::FieldCodec<int> _repeated_yIntervals_codec
2635 = pb::FieldCodec.ForInt32(18);
2636 private readonly pbc::RepeatedField<int> yIntervals_ =
new pbc::RepeatedField<int>();
2640 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2641 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2643 get {
return yIntervals_; }
2646 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2647 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2648 public override bool Equals(
object other) {
2652 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2653 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2655 if (ReferenceEquals(other,
null)) {
2658 if (ReferenceEquals(other,
this)) {
2661 if(!xIntervals_.Equals(other.xIntervals_))
return false;
2662 if(!yIntervals_.Equals(other.yIntervals_))
return false;
2663 return Equals(_unknownFields, other._unknownFields);
2666 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2667 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2670 hash ^= xIntervals_.GetHashCode();
2671 hash ^= yIntervals_.GetHashCode();
2672 if (_unknownFields !=
null) {
2673 hash ^= _unknownFields.GetHashCode();
2678 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2679 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2681 return pb::JsonFormatter.ToDiagnosticString(
this);
2684 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2685 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2686 public void WriteTo(pb::CodedOutputStream output) {
2687 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2688 output.WriteRawMessage(
this);
2690 xIntervals_.WriteTo(output, _repeated_xIntervals_codec);
2691 yIntervals_.WriteTo(output, _repeated_yIntervals_codec);
2692 if (_unknownFields !=
null) {
2693 _unknownFields.WriteTo(output);
2698 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2700 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2701 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2702 xIntervals_.WriteTo(ref output, _repeated_xIntervals_codec);
2703 yIntervals_.WriteTo(ref output, _repeated_yIntervals_codec);
2704 if (_unknownFields !=
null) {
2705 _unknownFields.WriteTo(ref output);
2710 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2711 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2712 public int CalculateSize() {
2714 size += xIntervals_.CalculateSize(_repeated_xIntervals_codec);
2715 size += yIntervals_.CalculateSize(_repeated_yIntervals_codec);
2716 if (_unknownFields !=
null) {
2717 size += _unknownFields.CalculateSize();
2722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2723 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2725 if (other ==
null) {
2728 xIntervals_.Add(other.xIntervals_);
2729 yIntervals_.Add(other.yIntervals_);
2730 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2733 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2734 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2735 public void MergeFrom(pb::CodedInputStream input) {
2736 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2737 input.ReadRawMessage(
this);
2740 while ((tag = input.ReadTag()) != 0) {
2741 if ((tag & 7) == 4) {
2747 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2751 xIntervals_.AddEntriesFrom(input, _repeated_xIntervals_codec);
2756 yIntervals_.AddEntriesFrom(input, _repeated_yIntervals_codec);
2764 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2765 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2766 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2767 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2769 while ((tag = input.ReadTag()) != 0) {
2770 if ((tag & 7) == 4) {
2776 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2780 xIntervals_.AddEntriesFrom(ref input, _repeated_xIntervals_codec);
2785 yIntervals_.AddEntriesFrom(ref input, _repeated_yIntervals_codec);
2806 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2807 public sealed partial class CumulativeConstraintProto : pb::IMessage<CumulativeConstraintProto>
2808 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2809 , pb::IBufferMessage
2812 private static readonly pb::MessageParser<CumulativeConstraintProto> _parser =
new pb::MessageParser<CumulativeConstraintProto>(() =>
new CumulativeConstraintProto());
2813 private pb::UnknownFieldSet _unknownFields;
2814 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2815 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2816 public static pb::MessageParser<CumulativeConstraintProto> Parser {
get {
return _parser; } }
2818 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2819 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2821 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[10]; }
2824 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2825 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2826 pbr::MessageDescriptor pb::IMessage.Descriptor {
2827 get {
return Descriptor; }
2830 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2831 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2836 partial
void OnConstruction();
2838 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2839 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2841 capacity_ = other.capacity_ !=
null ? other.capacity_.Clone() :
null;
2842 intervals_ = other.intervals_.Clone();
2843 demands_ = other.demands_.Clone();
2844 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2847 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2848 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2855 private global::Google.OrTools.Sat.LinearExpressionProto capacity_;
2856 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2857 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2859 get { return capacity_; }
2866 public const int IntervalsFieldNumber = 2;
2867 private static readonly pb::FieldCodec<int> _repeated_intervals_codec
2868 = pb::FieldCodec.ForInt32(18);
2869 private readonly pbc::RepeatedField<int> intervals_ =
new pbc::RepeatedField<int>();
2870 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2871 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2872 public pbc::RepeatedField<int>
Intervals {
2873 get {
return intervals_; }
2877 public const int DemandsFieldNumber = 3;
2878 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_demands_codec
2880 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> demands_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
2884 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2885 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2886 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Demands {
2887 get {
return demands_; }
2890 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2891 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2892 public override bool Equals(
object other) {
2896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2897 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2899 if (ReferenceEquals(other,
null)) {
2902 if (ReferenceEquals(other,
this)) {
2906 if(!intervals_.Equals(other.intervals_))
return false;
2907 if(!demands_.Equals(other.demands_))
return false;
2908 return Equals(_unknownFields, other._unknownFields);
2911 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2912 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2915 if (capacity_ !=
null) hash ^=
Capacity.GetHashCode();
2916 hash ^= intervals_.GetHashCode();
2917 hash ^= demands_.GetHashCode();
2918 if (_unknownFields !=
null) {
2919 hash ^= _unknownFields.GetHashCode();
2924 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2925 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2927 return pb::JsonFormatter.ToDiagnosticString(
this);
2930 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2931 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2932 public void WriteTo(pb::CodedOutputStream output) {
2933 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2934 output.WriteRawMessage(
this);
2936 if (capacity_ !=
null) {
2937 output.WriteRawTag(10);
2938 output.WriteMessage(Capacity);
2940 intervals_.WriteTo(output, _repeated_intervals_codec);
2941 demands_.WriteTo(output, _repeated_demands_codec);
2942 if (_unknownFields !=
null) {
2943 _unknownFields.WriteTo(output);
2948 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2949 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2950 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2951 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2952 if (capacity_ !=
null) {
2953 output.WriteRawTag(10);
2954 output.WriteMessage(Capacity);
2956 intervals_.WriteTo(ref output, _repeated_intervals_codec);
2957 demands_.WriteTo(ref output, _repeated_demands_codec);
2958 if (_unknownFields !=
null) {
2959 _unknownFields.WriteTo(ref output);
2964 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2965 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2966 public int CalculateSize() {
2968 if (capacity_ !=
null) {
2969 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Capacity);
2971 size += intervals_.CalculateSize(_repeated_intervals_codec);
2972 size += demands_.CalculateSize(_repeated_demands_codec);
2973 if (_unknownFields !=
null) {
2974 size += _unknownFields.CalculateSize();
2979 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2980 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2982 if (other ==
null) {
2985 if (other.capacity_ !=
null) {
2986 if (capacity_ ==
null) {
2987 Capacity =
new global::Google.OrTools.Sat.LinearExpressionProto();
2989 Capacity.MergeFrom(other.Capacity);
2991 intervals_.Add(other.intervals_);
2992 demands_.Add(other.demands_);
2993 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2996 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2997 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2998 public void MergeFrom(pb::CodedInputStream input) {
2999 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3000 input.ReadRawMessage(
this);
3003 while ((tag = input.ReadTag()) != 0) {
3004 if ((tag & 7) == 4) {
3010 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3013 if (capacity_ ==
null) {
3014 Capacity =
new global::Google.OrTools.Sat.LinearExpressionProto();
3021 intervals_.AddEntriesFrom(input, _repeated_intervals_codec);
3025 demands_.AddEntriesFrom(input, _repeated_demands_codec);
3033 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3034 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3035 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3036 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3038 while ((tag = input.ReadTag()) != 0) {
3039 if ((tag & 7) == 4) {
3045 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3048 if (capacity_ ==
null) {
3049 Capacity =
new global::Google.OrTools.Sat.LinearExpressionProto();
3051 input.ReadMessage(Capacity);
3056 intervals_.AddEntriesFrom(ref input, _repeated_intervals_codec);
3060 demands_.AddEntriesFrom(ref input, _repeated_demands_codec);
3088 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
3089 public sealed partial class ReservoirConstraintProto : pb::IMessage<ReservoirConstraintProto>
3090 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3091 , pb::IBufferMessage
3094 private static readonly pb::MessageParser<ReservoirConstraintProto> _parser =
new pb::MessageParser<ReservoirConstraintProto>(() =>
new ReservoirConstraintProto());
3095 private pb::UnknownFieldSet _unknownFields;
3096 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3097 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3098 public static pb::MessageParser<ReservoirConstraintProto> Parser {
get {
return _parser; } }
3100 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3101 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3102 public static pbr::MessageDescriptor Descriptor {
3103 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[11]; }
3106 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3107 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3108 pbr::MessageDescriptor pb::IMessage.Descriptor {
3112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3113 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3118 partial
void OnConstruction();
3120 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3121 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3123 minLevel_ = other.minLevel_;
3124 maxLevel_ = other.maxLevel_;
3125 timeExprs_ = other.timeExprs_.Clone();
3126 levelChanges_ = other.levelChanges_.Clone();
3127 activeLiterals_ = other.activeLiterals_.Clone();
3128 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3132 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3138 public const int MinLevelFieldNumber = 1;
3139 private long minLevel_;
3140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3141 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3143 get {
return minLevel_; }
3151 private long maxLevel_;
3152 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3153 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3155 get {
return maxLevel_; }
3162 public const int TimeExprsFieldNumber = 3;
3163 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_timeExprs_codec
3165 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> timeExprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
3169 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3170 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3171 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
TimeExprs {
3172 get { return timeExprs_; }
3176 public const int LevelChangesFieldNumber = 6;
3177 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_levelChanges_codec
3179 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> levelChanges_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
3183 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3184 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3185 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
LevelChanges {
3186 get { return levelChanges_; }
3191 private static readonly pb::FieldCodec<int> _repeated_activeLiterals_codec
3192 = pb::FieldCodec.ForInt32(42);
3193 private readonly pbc::RepeatedField<int> activeLiterals_ =
new pbc::RepeatedField<int>();
3194 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3195 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3197 get {
return activeLiterals_; }
3200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3201 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3207 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3209 if (ReferenceEquals(other,
null)) {
3212 if (ReferenceEquals(other,
this)) {
3215 if (MinLevel != other.MinLevel)
return false;
3216 if (MaxLevel != other.MaxLevel)
return false;
3217 if(!timeExprs_.Equals(other.timeExprs_))
return false;
3218 if(!levelChanges_.Equals(other.levelChanges_))
return false;
3219 if(!activeLiterals_.Equals(other.activeLiterals_))
return false;
3220 return Equals(_unknownFields, other._unknownFields);
3223 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3224 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3229 hash ^= timeExprs_.GetHashCode();
3230 hash ^= levelChanges_.GetHashCode();
3231 hash ^= activeLiterals_.GetHashCode();
3232 if (_unknownFields !=
null) {
3233 hash ^= _unknownFields.GetHashCode();
3238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3239 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3240 public override string ToString() {
3241 return pb::JsonFormatter.ToDiagnosticString(
this);
3244 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3245 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3246 public void WriteTo(pb::CodedOutputStream output) {
3247 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3248 output.WriteRawMessage(
this);
3250 if (MinLevel != 0L) {
3251 output.WriteRawTag(8);
3252 output.WriteInt64(MinLevel);
3254 if (MaxLevel != 0L) {
3255 output.WriteRawTag(16);
3256 output.WriteInt64(MaxLevel);
3258 timeExprs_.WriteTo(output, _repeated_timeExprs_codec);
3259 activeLiterals_.WriteTo(output, _repeated_activeLiterals_codec);
3260 levelChanges_.WriteTo(output, _repeated_levelChanges_codec);
3261 if (_unknownFields !=
null) {
3262 _unknownFields.WriteTo(output);
3267 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3268 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3269 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3270 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3271 if (MinLevel != 0L) {
3272 output.WriteRawTag(8);
3273 output.WriteInt64(MinLevel);
3275 if (MaxLevel != 0L) {
3276 output.WriteRawTag(16);
3277 output.WriteInt64(MaxLevel);
3279 timeExprs_.WriteTo(ref output, _repeated_timeExprs_codec);
3280 activeLiterals_.WriteTo(ref output, _repeated_activeLiterals_codec);
3281 levelChanges_.WriteTo(ref output, _repeated_levelChanges_codec);
3282 if (_unknownFields !=
null) {
3283 _unknownFields.WriteTo(ref output);
3288 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3289 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3290 public int CalculateSize() {
3292 if (MinLevel != 0L) {
3293 size += 1 + pb::CodedOutputStream.ComputeInt64Size(MinLevel);
3295 if (MaxLevel != 0L) {
3296 size += 1 + pb::CodedOutputStream.ComputeInt64Size(MaxLevel);
3298 size += timeExprs_.CalculateSize(_repeated_timeExprs_codec);
3299 size += levelChanges_.CalculateSize(_repeated_levelChanges_codec);
3300 size += activeLiterals_.CalculateSize(_repeated_activeLiterals_codec);
3301 if (_unknownFields !=
null) {
3302 size += _unknownFields.CalculateSize();
3307 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3308 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3310 if (other ==
null) {
3313 if (other.MinLevel != 0L) {
3316 if (other.MaxLevel != 0L) {
3319 timeExprs_.Add(other.timeExprs_);
3320 levelChanges_.Add(other.levelChanges_);
3321 activeLiterals_.Add(other.activeLiterals_);
3322 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3325 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3326 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3327 public void MergeFrom(pb::CodedInputStream input) {
3328 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3329 input.ReadRawMessage(
this);
3332 while ((tag = input.ReadTag()) != 0) {
3333 if ((tag & 7) == 4) {
3339 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3346 MaxLevel = input.ReadInt64();
3350 timeExprs_.AddEntriesFrom(input, _repeated_timeExprs_codec);
3355 activeLiterals_.AddEntriesFrom(input, _repeated_activeLiterals_codec);
3359 levelChanges_.AddEntriesFrom(input, _repeated_levelChanges_codec);
3367 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3368 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3369 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3370 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3372 while ((tag = input.ReadTag()) != 0) {
3373 if ((tag & 7) == 4) {
3379 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3382 MinLevel = input.ReadInt64();
3386 MaxLevel = input.ReadInt64();
3390 timeExprs_.AddEntriesFrom(ref input, _repeated_timeExprs_codec);
3395 activeLiterals_.AddEntriesFrom(ref input, _repeated_activeLiterals_codec);
3399 levelChanges_.AddEntriesFrom(ref input, _repeated_levelChanges_codec);
3420 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
3421 public sealed partial class CircuitConstraintProto : pb::IMessage<CircuitConstraintProto>
3422 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3423 , pb::IBufferMessage
3426 private static readonly pb::MessageParser<CircuitConstraintProto> _parser =
new pb::MessageParser<CircuitConstraintProto>(() =>
new CircuitConstraintProto());
3427 private pb::UnknownFieldSet _unknownFields;
3428 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3429 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3430 public static pb::MessageParser<CircuitConstraintProto> Parser {
get {
return _parser; } }
3432 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3433 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3434 public static pbr::MessageDescriptor Descriptor {
3435 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[12]; }
3438 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3439 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3440 pbr::MessageDescriptor pb::IMessage.Descriptor {
3444 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3445 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3450 partial
void OnConstruction();
3452 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3453 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3455 tails_ = other.tails_.Clone();
3456 heads_ = other.heads_.Clone();
3457 literals_ = other.literals_.Clone();
3458 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3462 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3468 public const int TailsFieldNumber = 3;
3469 private static readonly pb::FieldCodec<int> _repeated_tails_codec
3470 = pb::FieldCodec.ForInt32(26);
3471 private readonly pbc::RepeatedField<int> tails_ =
new pbc::RepeatedField<int>();
3472 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3473 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3474 public pbc::RepeatedField<int>
Tails {
3475 get {
return tails_; }
3479 public const int HeadsFieldNumber = 4;
3480 private static readonly pb::FieldCodec<int> _repeated_heads_codec
3481 = pb::FieldCodec.ForInt32(34);
3482 private readonly pbc::RepeatedField<int> heads_ =
new pbc::RepeatedField<int>();
3483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3484 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3485 public pbc::RepeatedField<int>
Heads {
3486 get {
return heads_; }
3490 public const int LiteralsFieldNumber = 5;
3491 private static readonly pb::FieldCodec<int> _repeated_literals_codec
3492 = pb::FieldCodec.ForInt32(42);
3493 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
3494 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3495 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3496 public pbc::RepeatedField<int>
Literals {
3497 get {
return literals_; }
3500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3501 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3502 public override bool Equals(
object other) {
3506 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3507 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3509 if (ReferenceEquals(other,
null)) {
3512 if (ReferenceEquals(other,
this)) {
3515 if(!tails_.Equals(other.tails_))
return false;
3516 if(!heads_.Equals(other.heads_))
return false;
3517 if(!literals_.Equals(other.literals_))
return false;
3518 return Equals(_unknownFields, other._unknownFields);
3521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3522 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3525 hash ^= tails_.GetHashCode();
3526 hash ^= heads_.GetHashCode();
3527 hash ^= literals_.GetHashCode();
3528 if (_unknownFields !=
null) {
3529 hash ^= _unknownFields.GetHashCode();
3534 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3535 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3536 public override string ToString() {
3537 return pb::JsonFormatter.ToDiagnosticString(
this);
3540 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3541 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3542 public void WriteTo(pb::CodedOutputStream output) {
3543 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3544 output.WriteRawMessage(
this);
3546 tails_.WriteTo(output, _repeated_tails_codec);
3547 heads_.WriteTo(output, _repeated_heads_codec);
3548 literals_.WriteTo(output, _repeated_literals_codec);
3549 if (_unknownFields !=
null) {
3550 _unknownFields.WriteTo(output);
3555 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3556 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3557 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3558 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3559 tails_.WriteTo(ref output, _repeated_tails_codec);
3560 heads_.WriteTo(ref output, _repeated_heads_codec);
3561 literals_.WriteTo(ref output, _repeated_literals_codec);
3562 if (_unknownFields !=
null) {
3563 _unknownFields.WriteTo(ref output);
3568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3569 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3570 public int CalculateSize() {
3572 size += tails_.CalculateSize(_repeated_tails_codec);
3573 size += heads_.CalculateSize(_repeated_heads_codec);
3574 size += literals_.CalculateSize(_repeated_literals_codec);
3575 if (_unknownFields !=
null) {
3576 size += _unknownFields.CalculateSize();
3581 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3582 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3583 public void MergeFrom(CircuitConstraintProto other) {
3584 if (other ==
null) {
3587 tails_.Add(other.tails_);
3588 heads_.Add(other.heads_);
3589 literals_.Add(other.literals_);
3590 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3593 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3594 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3595 public void MergeFrom(pb::CodedInputStream input) {
3596 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3597 input.ReadRawMessage(
this);
3600 while ((tag = input.ReadTag()) != 0) {
3601 if ((tag & 7) == 4) {
3607 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3611 tails_.AddEntriesFrom(input, _repeated_tails_codec);
3616 heads_.AddEntriesFrom(input, _repeated_heads_codec);
3621 literals_.AddEntriesFrom(input, _repeated_literals_codec);
3629 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3630 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3631 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3632 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3634 while ((tag = input.ReadTag()) != 0) {
3635 if ((tag & 7) == 4) {
3641 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3645 tails_.AddEntriesFrom(ref input, _repeated_tails_codec);
3650 heads_.AddEntriesFrom(ref input, _repeated_heads_codec);
3655 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
3687 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
3688 public sealed partial class RoutesConstraintProto : pb::IMessage<RoutesConstraintProto>
3689 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3690 , pb::IBufferMessage
3693 private static readonly pb::MessageParser<RoutesConstraintProto> _parser =
new pb::MessageParser<RoutesConstraintProto>(() =>
new RoutesConstraintProto());
3694 private pb::UnknownFieldSet _unknownFields;
3695 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3696 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3697 public static pb::MessageParser<RoutesConstraintProto> Parser {
get {
return _parser; } }
3699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3700 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3701 public static pbr::MessageDescriptor Descriptor {
3702 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[13]; }
3705 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3706 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3707 pbr::MessageDescriptor pb::IMessage.Descriptor {
3708 get {
return Descriptor; }
3711 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3712 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3717 partial
void OnConstruction();
3719 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3720 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3722 tails_ = other.tails_.Clone();
3723 heads_ = other.heads_.Clone();
3724 literals_ = other.literals_.Clone();
3725 demands_ = other.demands_.Clone();
3726 capacity_ = other.capacity_;
3727 dimensions_ = other.dimensions_.Clone();
3728 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3731 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3732 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3738 public const int TailsFieldNumber = 1;
3739 private static readonly pb::FieldCodec<int> _repeated_tails_codec
3740 = pb::FieldCodec.ForInt32(10);
3741 private readonly pbc::RepeatedField<int> tails_ =
new pbc::RepeatedField<int>();
3742 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3743 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3744 public pbc::RepeatedField<int>
Tails {
3745 get {
return tails_; }
3749 public const int HeadsFieldNumber = 2;
3750 private static readonly pb::FieldCodec<int> _repeated_heads_codec
3751 = pb::FieldCodec.ForInt32(18);
3752 private readonly pbc::RepeatedField<int> heads_ =
new pbc::RepeatedField<int>();
3753 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3754 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3755 public pbc::RepeatedField<int>
Heads {
3756 get {
return heads_; }
3761 private static readonly pb::FieldCodec<int> _repeated_literals_codec
3762 = pb::FieldCodec.ForInt32(26);
3763 private readonly pbc::RepeatedField<int> literals_ =
new pbc::RepeatedField<int>();
3764 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3765 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3766 public pbc::RepeatedField<int>
Literals {
3767 get {
return literals_; }
3772 private static readonly pb::FieldCodec<int> _repeated_demands_codec
3773 = pb::FieldCodec.ForInt32(34);
3774 private readonly pbc::RepeatedField<int> demands_ =
new pbc::RepeatedField<int>();
3778 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3779 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3780 public pbc::RepeatedField<int>
Demands {
3781 get {
return demands_; }
3785 public const int CapacityFieldNumber = 5;
3786 private long capacity_;
3787 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3788 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3790 get {
return capacity_; }
3797 public const int DimensionsFieldNumber = 6;
3798 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions> _repeated_dimensions_codec
3800 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions> dimensions_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions>();
3812 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3813 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3814 public pbc::RepeatedField<global::Google.OrTools.Sat.RoutesConstraintProto.Types.NodeExpressions>
Dimensions {
3815 get {
return dimensions_; }
3818 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3819 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3820 public override bool Equals(
object other) {
3824 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3825 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3827 if (ReferenceEquals(other,
null)) {
3830 if (ReferenceEquals(other,
this)) {
3833 if(!tails_.Equals(other.tails_))
return false;
3834 if(!heads_.Equals(other.heads_))
return false;
3835 if(!literals_.Equals(other.literals_))
return false;
3836 if(!demands_.Equals(other.demands_))
return false;
3837 if (
Capacity != other.Capacity)
return false;
3838 if(!dimensions_.Equals(other.dimensions_))
return false;
3839 return Equals(_unknownFields, other._unknownFields);
3842 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3843 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3846 hash ^= tails_.GetHashCode();
3847 hash ^= heads_.GetHashCode();
3848 hash ^= literals_.GetHashCode();
3849 hash ^= demands_.GetHashCode();
3851 hash ^= dimensions_.GetHashCode();
3852 if (_unknownFields !=
null) {
3853 hash ^= _unknownFields.GetHashCode();
3858 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3859 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3860 public override string ToString() {
3861 return pb::JsonFormatter.ToDiagnosticString(
this);
3864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3865 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3866 public void WriteTo(pb::CodedOutputStream output) {
3867 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3868 output.WriteRawMessage(
this);
3870 tails_.WriteTo(output, _repeated_tails_codec);
3871 heads_.WriteTo(output, _repeated_heads_codec);
3872 literals_.WriteTo(output, _repeated_literals_codec);
3873 demands_.WriteTo(output, _repeated_demands_codec);
3875 output.WriteRawTag(40);
3878 dimensions_.WriteTo(output, _repeated_dimensions_codec);
3879 if (_unknownFields !=
null) {
3880 _unknownFields.WriteTo(output);
3885 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3886 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3887 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3888 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3889 tails_.WriteTo(ref output, _repeated_tails_codec);
3890 heads_.WriteTo(ref output, _repeated_heads_codec);
3891 literals_.WriteTo(ref output, _repeated_literals_codec);
3892 demands_.WriteTo(ref output, _repeated_demands_codec);
3894 output.WriteRawTag(40);
3897 dimensions_.WriteTo(ref output, _repeated_dimensions_codec);
3898 if (_unknownFields !=
null) {
3899 _unknownFields.WriteTo(ref output);
3904 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3905 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3906 public int CalculateSize() {
3908 size += tails_.CalculateSize(_repeated_tails_codec);
3909 size += heads_.CalculateSize(_repeated_heads_codec);
3910 size += literals_.CalculateSize(_repeated_literals_codec);
3911 size += demands_.CalculateSize(_repeated_demands_codec);
3912 if (Capacity != 0L) {
3913 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Capacity);
3915 size += dimensions_.CalculateSize(_repeated_dimensions_codec);
3916 if (_unknownFields !=
null) {
3917 size += _unknownFields.CalculateSize();
3922 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3923 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3924 public void MergeFrom(RoutesConstraintProto other) {
3925 if (other ==
null) {
3928 tails_.Add(other.tails_);
3929 heads_.Add(other.heads_);
3930 literals_.Add(other.literals_);
3931 demands_.Add(other.demands_);
3932 if (other.Capacity != 0L) {
3933 Capacity = other.Capacity;
3935 dimensions_.Add(other.dimensions_);
3936 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3939 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3940 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3941 public void MergeFrom(pb::CodedInputStream input) {
3942 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3943 input.ReadRawMessage(
this);
3946 while ((tag = input.ReadTag()) != 0) {
3947 if ((tag & 7) == 4) {
3953 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3957 tails_.AddEntriesFrom(input, _repeated_tails_codec);
3962 heads_.AddEntriesFrom(input, _repeated_heads_codec);
3967 literals_.AddEntriesFrom(input, _repeated_literals_codec);
3972 demands_.AddEntriesFrom(input, _repeated_demands_codec);
3976 Capacity = input.ReadInt64();
3980 dimensions_.AddEntriesFrom(input, _repeated_dimensions_codec);
3988 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3989 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3990 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3991 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3993 while ((tag = input.ReadTag()) != 0) {
3994 if ((tag & 7) == 4) {
4000 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4004 tails_.AddEntriesFrom(ref input, _repeated_tails_codec);
4009 heads_.AddEntriesFrom(ref input, _repeated_heads_codec);
4014 literals_.AddEntriesFrom(ref input, _repeated_literals_codec);
4019 demands_.AddEntriesFrom(ref input, _repeated_demands_codec);
4023 Capacity = input.ReadInt64();
4027 dimensions_.AddEntriesFrom(ref input, _repeated_dimensions_codec);
4035 #region Nested types
4037 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4038 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4039 public static partial class Types {
4043 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4044 public sealed partial class NodeExpressions : pb::IMessage<NodeExpressions>
4045 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4046 , pb::IBufferMessage
4049 private static readonly pb::MessageParser<NodeExpressions> _parser =
new pb::MessageParser<NodeExpressions>(() =>
new NodeExpressions());
4050 private pb::UnknownFieldSet _unknownFields;
4051 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4052 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4053 public static pb::MessageParser<NodeExpressions> Parser {
get {
return _parser; } }
4055 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4056 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4057 public static pbr::MessageDescriptor Descriptor {
4058 get {
return global::Google.OrTools.Sat.RoutesConstraintProto.Descriptor.NestedTypes[0]; }
4061 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4062 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4063 pbr::MessageDescriptor pb::IMessage.Descriptor {
4067 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4068 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4073 partial
void OnConstruction();
4075 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4076 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4078 exprs_ = other.exprs_.Clone();
4079 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4082 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4083 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4089 public const int ExprsFieldNumber = 1;
4090 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
4092 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
4097 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4098 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4099 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
4100 get { return exprs_; }
4103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4104 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4109 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4110 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4112 if (ReferenceEquals(other,
null)) {
4115 if (ReferenceEquals(other,
this)) {
4118 if(!exprs_.Equals(other.exprs_))
return false;
4119 return Equals(_unknownFields, other._unknownFields);
4122 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4123 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4126 hash ^= exprs_.GetHashCode();
4127 if (_unknownFields !=
null) {
4128 hash ^= _unknownFields.GetHashCode();
4133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4134 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4135 public override string ToString() {
4136 return pb::JsonFormatter.ToDiagnosticString(
this);
4139 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4140 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4141 public void WriteTo(pb::CodedOutputStream output) {
4142 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4143 output.WriteRawMessage(
this);
4145 exprs_.WriteTo(output, _repeated_exprs_codec);
4146 if (_unknownFields !=
null) {
4147 _unknownFields.WriteTo(output);
4152 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4153 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4154 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4155 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4156 exprs_.WriteTo(ref output, _repeated_exprs_codec);
4157 if (_unknownFields !=
null) {
4158 _unknownFields.WriteTo(ref output);
4163 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4164 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4167 size += exprs_.CalculateSize(_repeated_exprs_codec);
4168 if (_unknownFields !=
null) {
4169 size += _unknownFields.CalculateSize();
4174 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4175 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4177 if (other ==
null) {
4180 exprs_.Add(other.exprs_);
4181 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4184 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4185 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4187 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4188 input.ReadRawMessage(
this);
4191 while ((tag = input.ReadTag()) != 0) {
4192 if ((tag & 7) == 4) {
4198 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4201 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
4209 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4211 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4212 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4214 while ((tag = input.ReadTag()) != 0) {
4215 if ((tag & 7) == 4) {
4221 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4224 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
4252 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4253 public sealed partial
class TableConstraintProto : pb::IMessage<TableConstraintProto>
4254 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4255 , pb::IBufferMessage
4258 private static readonly pb::MessageParser<TableConstraintProto> _parser =
new pb::MessageParser<TableConstraintProto>(() =>
new TableConstraintProto());
4259 private pb::UnknownFieldSet _unknownFields;
4260 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4261 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4262 public static pb::MessageParser<TableConstraintProto> Parser {
get {
return _parser; } }
4264 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4265 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4266 public static pbr::MessageDescriptor Descriptor {
4267 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[14]; }
4270 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4271 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4272 pbr::MessageDescriptor pb::IMessage.Descriptor {
4273 get {
return Descriptor; }
4276 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4277 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4282 partial
void OnConstruction();
4284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4285 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4287 vars_ = other.vars_.Clone();
4288 values_ = other.values_.Clone();
4289 exprs_ = other.exprs_.Clone();
4290 negated_ = other.negated_;
4291 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4294 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4295 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4302 private static readonly pb::FieldCodec<int> _repeated_vars_codec
4303 = pb::FieldCodec.ForInt32(10);
4304 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
4308 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4309 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4310 public pbc::RepeatedField<int>
Vars {
4311 get {
return vars_; }
4315 public const int ValuesFieldNumber = 2;
4316 private static readonly pb::FieldCodec<long> _repeated_values_codec
4317 = pb::FieldCodec.ForInt64(18);
4318 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
4319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4320 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4321 public pbc::RepeatedField<long>
Values {
4322 get {
return values_; }
4326 public const int ExprsFieldNumber = 4;
4327 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
4329 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
4330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4331 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4332 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
4333 get {
return exprs_; }
4338 private bool negated_;
4343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4344 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4346 get {
return negated_; }
4352 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4353 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4354 public override bool Equals(
object other) {
4358 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4359 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4361 if (ReferenceEquals(other,
null)) {
4364 if (ReferenceEquals(other,
this)) {
4367 if(!vars_.Equals(other.vars_))
return false;
4368 if(!values_.Equals(other.values_))
return false;
4369 if(!exprs_.Equals(other.exprs_))
return false;
4370 if (Negated != other.
Negated)
return false;
4371 return Equals(_unknownFields, other._unknownFields);
4374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4375 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4378 hash ^= vars_.GetHashCode();
4379 hash ^= values_.GetHashCode();
4380 hash ^= exprs_.GetHashCode();
4382 if (_unknownFields !=
null) {
4383 hash ^= _unknownFields.GetHashCode();
4388 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4389 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4390 public override string ToString() {
4391 return pb::JsonFormatter.ToDiagnosticString(
this);
4394 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4395 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4396 public void WriteTo(pb::CodedOutputStream output) {
4397 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4398 output.WriteRawMessage(
this);
4400 vars_.WriteTo(output, _repeated_vars_codec);
4401 values_.WriteTo(output, _repeated_values_codec);
4403 output.WriteRawTag(24);
4406 exprs_.WriteTo(output, _repeated_exprs_codec);
4407 if (_unknownFields !=
null) {
4408 _unknownFields.WriteTo(output);
4413 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4414 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4415 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4416 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4417 vars_.WriteTo(ref output, _repeated_vars_codec);
4418 values_.WriteTo(ref output, _repeated_values_codec);
4420 output.WriteRawTag(24);
4423 exprs_.WriteTo(ref output, _repeated_exprs_codec);
4424 if (_unknownFields !=
null) {
4425 _unknownFields.WriteTo(ref output);
4430 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4431 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4432 public int CalculateSize() {
4434 size += vars_.CalculateSize(_repeated_vars_codec);
4435 size += values_.CalculateSize(_repeated_values_codec);
4436 size += exprs_.CalculateSize(_repeated_exprs_codec);
4437 if (Negated !=
false) {
4440 if (_unknownFields !=
null) {
4441 size += _unknownFields.CalculateSize();
4446 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4447 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4448 public void MergeFrom(TableConstraintProto other) {
4449 if (other ==
null) {
4452 vars_.Add(other.vars_);
4453 values_.Add(other.values_);
4454 exprs_.Add(other.exprs_);
4455 if (other.Negated !=
false) {
4458 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4461 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4462 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4463 public void MergeFrom(pb::CodedInputStream input) {
4464 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4465 input.ReadRawMessage(
this);
4468 while ((tag = input.ReadTag()) != 0) {
4469 if ((tag & 7) == 4) {
4475 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4479 vars_.AddEntriesFrom(input, _repeated_vars_codec);
4484 values_.AddEntriesFrom(input, _repeated_values_codec);
4488 Negated = input.ReadBool();
4492 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
4500 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4501 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4502 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4503 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4505 while ((tag = input.ReadTag()) != 0) {
4506 if ((tag & 7) == 4) {
4512 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4516 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
4521 values_.AddEntriesFrom(ref input, _repeated_values_codec);
4525 Negated = input.ReadBool();
4529 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
4543 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4544 public sealed partial class InverseConstraintProto : pb::IMessage<InverseConstraintProto>
4545 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4546 , pb::IBufferMessage
4549 private static readonly pb::MessageParser<InverseConstraintProto> _parser =
new pb::MessageParser<InverseConstraintProto>(() =>
new InverseConstraintProto());
4550 private pb::UnknownFieldSet _unknownFields;
4551 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4552 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4553 public static pb::MessageParser<InverseConstraintProto> Parser {
get {
return _parser; } }
4555 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4556 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4557 public static pbr::MessageDescriptor Descriptor {
4558 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[15]; }
4561 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4562 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4563 pbr::MessageDescriptor pb::IMessage.Descriptor {
4564 get {
return Descriptor; }
4567 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4568 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4573 partial
void OnConstruction();
4575 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4576 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4578 fDirect_ = other.fDirect_.Clone();
4579 fInverse_ = other.fInverse_.Clone();
4580 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4583 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4584 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4591 private static readonly pb::FieldCodec<int> _repeated_fDirect_codec
4592 = pb::FieldCodec.ForInt32(10);
4593 private readonly pbc::RepeatedField<int> fDirect_ =
new pbc::RepeatedField<int>();
4594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4595 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4596 public pbc::RepeatedField<int>
FDirect {
4597 get {
return fDirect_; }
4601 public const int FInverseFieldNumber = 2;
4602 private static readonly pb::FieldCodec<int> _repeated_fInverse_codec
4603 = pb::FieldCodec.ForInt32(18);
4604 private readonly pbc::RepeatedField<int> fInverse_ =
new pbc::RepeatedField<int>();
4605 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4606 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4607 public pbc::RepeatedField<int>
FInverse {
4608 get {
return fInverse_; }
4611 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4612 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4613 public override bool Equals(
object other) {
4617 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4618 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4620 if (ReferenceEquals(other,
null)) {
4623 if (ReferenceEquals(other,
this)) {
4626 if(!fDirect_.Equals(other.fDirect_))
return false;
4627 if(!fInverse_.Equals(other.fInverse_))
return false;
4628 return Equals(_unknownFields, other._unknownFields);
4631 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4632 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4633 public override int GetHashCode() {
4635 hash ^= fDirect_.GetHashCode();
4636 hash ^= fInverse_.GetHashCode();
4637 if (_unknownFields !=
null) {
4638 hash ^= _unknownFields.GetHashCode();
4643 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4644 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4645 public override string ToString() {
4646 return pb::JsonFormatter.ToDiagnosticString(
this);
4649 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4650 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4651 public void WriteTo(pb::CodedOutputStream output) {
4652 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4653 output.WriteRawMessage(
this);
4655 fDirect_.WriteTo(output, _repeated_fDirect_codec);
4656 fInverse_.WriteTo(output, _repeated_fInverse_codec);
4657 if (_unknownFields !=
null) {
4658 _unknownFields.WriteTo(output);
4663 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4664 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4665 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4666 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4667 fDirect_.WriteTo(ref output, _repeated_fDirect_codec);
4668 fInverse_.WriteTo(ref output, _repeated_fInverse_codec);
4669 if (_unknownFields !=
null) {
4670 _unknownFields.WriteTo(ref output);
4675 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4676 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4677 public int CalculateSize() {
4679 size += fDirect_.CalculateSize(_repeated_fDirect_codec);
4680 size += fInverse_.CalculateSize(_repeated_fInverse_codec);
4681 if (_unknownFields !=
null) {
4682 size += _unknownFields.CalculateSize();
4687 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4688 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4689 public void MergeFrom(InverseConstraintProto other) {
4690 if (other ==
null) {
4693 fDirect_.Add(other.fDirect_);
4694 fInverse_.Add(other.fInverse_);
4695 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4698 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4699 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4700 public void MergeFrom(pb::CodedInputStream input) {
4701 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4702 input.ReadRawMessage(
this);
4705 while ((tag = input.ReadTag()) != 0) {
4706 if ((tag & 7) == 4) {
4712 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4716 fDirect_.AddEntriesFrom(input, _repeated_fDirect_codec);
4721 fInverse_.AddEntriesFrom(input, _repeated_fInverse_codec);
4729 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4730 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4731 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4732 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4734 while ((tag = input.ReadTag()) != 0) {
4735 if ((tag & 7) == 4) {
4741 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4745 fDirect_.AddEntriesFrom(ref input, _repeated_fDirect_codec);
4750 fInverse_.AddEntriesFrom(ref input, _repeated_fInverse_codec);
4764 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4765 public sealed partial class AutomatonConstraintProto : pb::IMessage<AutomatonConstraintProto>
4766 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4767 , pb::IBufferMessage
4770 private static readonly pb::MessageParser<AutomatonConstraintProto> _parser =
new pb::MessageParser<AutomatonConstraintProto>(() =>
new AutomatonConstraintProto());
4771 private pb::UnknownFieldSet _unknownFields;
4772 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4773 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4774 public static pb::MessageParser<AutomatonConstraintProto> Parser {
get {
return _parser; } }
4776 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4777 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4778 public static pbr::MessageDescriptor Descriptor {
4779 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[16]; }
4782 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4783 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4784 pbr::MessageDescriptor pb::IMessage.Descriptor {
4785 get {
return Descriptor; }
4788 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4789 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4794 partial
void OnConstruction();
4796 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4797 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4799 startingState_ = other.startingState_;
4800 finalStates_ = other.finalStates_.Clone();
4801 transitionTail_ = other.transitionTail_.Clone();
4802 transitionHead_ = other.transitionHead_.Clone();
4803 transitionLabel_ = other.transitionLabel_.Clone();
4804 vars_ = other.vars_.Clone();
4805 exprs_ = other.exprs_.Clone();
4806 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4809 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4810 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4816 public const int StartingStateFieldNumber = 2;
4817 private long startingState_;
4823 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4824 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4826 get {
return startingState_; }
4828 startingState_ = value;
4834 private static readonly pb::FieldCodec<long> _repeated_finalStates_codec
4835 = pb::FieldCodec.ForInt64(26);
4836 private readonly pbc::RepeatedField<long> finalStates_ =
new pbc::RepeatedField<long>();
4837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4838 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4840 get {
return finalStates_; }
4844 public const int TransitionTailFieldNumber = 4;
4845 private static readonly pb::FieldCodec<long> _repeated_transitionTail_codec
4846 = pb::FieldCodec.ForInt64(34);
4847 private readonly pbc::RepeatedField<long> transitionTail_ =
new pbc::RepeatedField<long>();
4853 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4854 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4856 get {
return transitionTail_; }
4861 private static readonly pb::FieldCodec<long> _repeated_transitionHead_codec
4862 = pb::FieldCodec.ForInt64(42);
4863 private readonly pbc::RepeatedField<long> transitionHead_ =
new pbc::RepeatedField<long>();
4864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4865 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4867 get {
return transitionHead_; }
4871 public const int TransitionLabelFieldNumber = 6;
4872 private static readonly pb::FieldCodec<long> _repeated_transitionLabel_codec
4873 = pb::FieldCodec.ForInt64(50);
4874 private readonly pbc::RepeatedField<long> transitionLabel_ =
new pbc::RepeatedField<long>();
4875 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4876 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4878 get {
return transitionLabel_; }
4883 private static readonly pb::FieldCodec<int> _repeated_vars_codec
4884 = pb::FieldCodec.ForInt32(58);
4885 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
4889 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4890 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4891 public pbc::RepeatedField<int>
Vars {
4892 get {
return vars_; }
4896 public const int ExprsFieldNumber = 8;
4897 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
4899 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
4905 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4906 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4907 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
4908 get {
return exprs_; }
4911 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4912 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4913 public override bool Equals(
object other) {
4917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4918 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4920 if (ReferenceEquals(other,
null)) {
4923 if (ReferenceEquals(other,
this)) {
4927 if(!finalStates_.Equals(other.finalStates_))
return false;
4928 if(!transitionTail_.Equals(other.transitionTail_))
return false;
4929 if(!transitionHead_.Equals(other.transitionHead_))
return false;
4930 if(!transitionLabel_.Equals(other.transitionLabel_))
return false;
4931 if(!vars_.Equals(other.vars_))
return false;
4932 if(!exprs_.Equals(other.exprs_))
return false;
4933 return Equals(_unknownFields, other._unknownFields);
4936 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4937 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4938 public override int GetHashCode() {
4941 hash ^= finalStates_.GetHashCode();
4942 hash ^= transitionTail_.GetHashCode();
4943 hash ^= transitionHead_.GetHashCode();
4944 hash ^= transitionLabel_.GetHashCode();
4945 hash ^= vars_.GetHashCode();
4946 hash ^= exprs_.GetHashCode();
4947 if (_unknownFields !=
null) {
4948 hash ^= _unknownFields.GetHashCode();
4953 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4954 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4955 public override string ToString() {
4956 return pb::JsonFormatter.ToDiagnosticString(
this);
4959 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4960 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4961 public void WriteTo(pb::CodedOutputStream output) {
4962 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4963 output.WriteRawMessage(
this);
4966 output.WriteRawTag(16);
4969 finalStates_.WriteTo(output, _repeated_finalStates_codec);
4970 transitionTail_.WriteTo(output, _repeated_transitionTail_codec);
4971 transitionHead_.WriteTo(output, _repeated_transitionHead_codec);
4972 transitionLabel_.WriteTo(output, _repeated_transitionLabel_codec);
4973 vars_.WriteTo(output, _repeated_vars_codec);
4974 exprs_.WriteTo(output, _repeated_exprs_codec);
4975 if (_unknownFields !=
null) {
4976 _unknownFields.WriteTo(output);
4981 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4982 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4983 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4984 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4986 output.WriteRawTag(16);
4989 finalStates_.WriteTo(ref output, _repeated_finalStates_codec);
4990 transitionTail_.WriteTo(ref output, _repeated_transitionTail_codec);
4991 transitionHead_.WriteTo(ref output, _repeated_transitionHead_codec);
4992 transitionLabel_.WriteTo(ref output, _repeated_transitionLabel_codec);
4993 vars_.WriteTo(ref output, _repeated_vars_codec);
4994 exprs_.WriteTo(ref output, _repeated_exprs_codec);
4995 if (_unknownFields !=
null) {
4996 _unknownFields.WriteTo(ref output);
5001 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5002 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5003 public int CalculateSize() {
5005 if (StartingState != 0L) {
5006 size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartingState);
5008 size += finalStates_.CalculateSize(_repeated_finalStates_codec);
5009 size += transitionTail_.CalculateSize(_repeated_transitionTail_codec);
5010 size += transitionHead_.CalculateSize(_repeated_transitionHead_codec);
5011 size += transitionLabel_.CalculateSize(_repeated_transitionLabel_codec);
5012 size += vars_.CalculateSize(_repeated_vars_codec);
5013 size += exprs_.CalculateSize(_repeated_exprs_codec);
5014 if (_unknownFields !=
null) {
5015 size += _unknownFields.CalculateSize();
5020 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5021 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5022 public void MergeFrom(AutomatonConstraintProto other) {
5023 if (other ==
null) {
5026 if (other.StartingState != 0L) {
5027 StartingState = other.StartingState;
5029 finalStates_.Add(other.finalStates_);
5030 transitionTail_.Add(other.transitionTail_);
5031 transitionHead_.Add(other.transitionHead_);
5032 transitionLabel_.Add(other.transitionLabel_);
5033 vars_.Add(other.vars_);
5034 exprs_.Add(other.exprs_);
5035 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5038 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5039 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5040 public void MergeFrom(pb::CodedInputStream input) {
5041 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5042 input.ReadRawMessage(
this);
5045 while ((tag = input.ReadTag()) != 0) {
5046 if ((tag & 7) == 4) {
5052 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5060 finalStates_.AddEntriesFrom(input, _repeated_finalStates_codec);
5065 transitionTail_.AddEntriesFrom(input, _repeated_transitionTail_codec);
5070 transitionHead_.AddEntriesFrom(input, _repeated_transitionHead_codec);
5075 transitionLabel_.AddEntriesFrom(input, _repeated_transitionLabel_codec);
5080 vars_.AddEntriesFrom(input, _repeated_vars_codec);
5084 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
5092 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5093 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5094 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5095 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5097 while ((tag = input.ReadTag()) != 0) {
5098 if ((tag & 7) == 4) {
5104 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5107 StartingState = input.ReadInt64();
5112 finalStates_.AddEntriesFrom(ref input, _repeated_finalStates_codec);
5117 transitionTail_.AddEntriesFrom(ref input, _repeated_transitionTail_codec);
5122 transitionHead_.AddEntriesFrom(ref input, _repeated_transitionHead_codec);
5127 transitionLabel_.AddEntriesFrom(ref input, _repeated_transitionLabel_codec);
5132 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
5136 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
5149 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
5150 public sealed partial class ListOfVariablesProto : pb::IMessage<ListOfVariablesProto>
5151 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5152 , pb::IBufferMessage
5155 private static readonly pb::MessageParser<ListOfVariablesProto> _parser =
new pb::MessageParser<ListOfVariablesProto>(() =>
new ListOfVariablesProto());
5156 private pb::UnknownFieldSet _unknownFields;
5157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5158 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5159 public static pb::MessageParser<ListOfVariablesProto> Parser {
get {
return _parser; } }
5161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5162 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5163 public static pbr::MessageDescriptor Descriptor {
5164 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[17]; }
5167 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5168 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5169 pbr::MessageDescriptor pb::IMessage.Descriptor {
5170 get {
return Descriptor; }
5173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5174 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5179 partial
void OnConstruction();
5181 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5182 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5184 vars_ = other.vars_.Clone();
5185 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5188 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5189 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5195 public const int VarsFieldNumber = 1;
5196 private static readonly pb::FieldCodec<int> _repeated_vars_codec
5197 = pb::FieldCodec.ForInt32(10);
5198 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
5199 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5200 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5201 public pbc::RepeatedField<int>
Vars {
5202 get {
return vars_; }
5205 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5206 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5207 public override bool Equals(
object other) {
5211 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5212 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5214 if (ReferenceEquals(other,
null)) {
5217 if (ReferenceEquals(other,
this)) {
5220 if(!vars_.Equals(other.vars_))
return false;
5221 return Equals(_unknownFields, other._unknownFields);
5224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5225 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5226 public override int GetHashCode() {
5228 hash ^= vars_.GetHashCode();
5229 if (_unknownFields !=
null) {
5230 hash ^= _unknownFields.GetHashCode();
5235 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5236 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5237 public override string ToString() {
5238 return pb::JsonFormatter.ToDiagnosticString(
this);
5241 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5242 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5243 public void WriteTo(pb::CodedOutputStream output) {
5244 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5245 output.WriteRawMessage(
this);
5247 vars_.WriteTo(output, _repeated_vars_codec);
5248 if (_unknownFields !=
null) {
5249 _unknownFields.WriteTo(output);
5254 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5256 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5257 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5258 vars_.WriteTo(ref output, _repeated_vars_codec);
5259 if (_unknownFields !=
null) {
5260 _unknownFields.WriteTo(ref output);
5265 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5266 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5269 size += vars_.CalculateSize(_repeated_vars_codec);
5270 if (_unknownFields !=
null) {
5271 size += _unknownFields.CalculateSize();
5276 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5277 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5279 if (other ==
null) {
5282 vars_.Add(other.vars_);
5283 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5286 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5287 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5289 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5290 input.ReadRawMessage(
this);
5293 while ((tag = input.ReadTag()) != 0) {
5294 if ((tag & 7) == 4) {
5300 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5304 vars_.AddEntriesFrom(input, _repeated_vars_codec);
5312 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5314 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5315 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5317 while ((tag = input.ReadTag()) != 0) {
5318 if ((tag & 7) == 4) {
5324 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5328 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
5341 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
5342 public sealed partial class ConstraintProto : pb::IMessage<ConstraintProto>
5343 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5344 , pb::IBufferMessage
5347 private static readonly pb::MessageParser<ConstraintProto> _parser =
new pb::MessageParser<ConstraintProto>(() =>
new ConstraintProto());
5348 private pb::UnknownFieldSet _unknownFields;
5349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5350 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5351 public static pb::MessageParser<ConstraintProto> Parser {
get {
return _parser; } }
5353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5354 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5355 public static pbr::MessageDescriptor Descriptor {
5356 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[18]; }
5359 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5360 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5361 pbr::MessageDescriptor pb::IMessage.Descriptor {
5362 get {
return Descriptor; }
5365 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5366 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5371 partial
void OnConstruction();
5373 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5374 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5376 name_ = other.name_;
5377 enforcementLiteral_ = other.enforcementLiteral_.Clone();
5378 switch (other.ConstraintCase) {
5379 case ConstraintOneofCase.BoolOr:
5380 BoolOr = other.BoolOr.Clone();
5382 case ConstraintOneofCase.BoolAnd:
5383 BoolAnd = other.BoolAnd.Clone();
5385 case ConstraintOneofCase.AtMostOne:
5386 AtMostOne = other.AtMostOne.Clone();
5388 case ConstraintOneofCase.ExactlyOne:
5389 ExactlyOne = other.ExactlyOne.Clone();
5391 case ConstraintOneofCase.BoolXor:
5392 BoolXor = other.BoolXor.Clone();
5394 case ConstraintOneofCase.IntDiv:
5395 IntDiv = other.IntDiv.Clone();
5397 case ConstraintOneofCase.IntMod:
5398 IntMod = other.IntMod.Clone();
5400 case ConstraintOneofCase.IntProd:
5401 IntProd = other.IntProd.Clone();
5403 case ConstraintOneofCase.LinMax:
5404 LinMax = other.LinMax.Clone();
5406 case ConstraintOneofCase.Linear:
5407 Linear = other.Linear.Clone();
5409 case ConstraintOneofCase.AllDiff:
5410 AllDiff = other.AllDiff.Clone();
5412 case ConstraintOneofCase.Element:
5413 Element = other.Element.Clone();
5415 case ConstraintOneofCase.Circuit:
5416 Circuit = other.Circuit.Clone();
5418 case ConstraintOneofCase.Routes:
5419 Routes = other.Routes.Clone();
5421 case ConstraintOneofCase.Table:
5422 Table = other.Table.Clone();
5424 case ConstraintOneofCase.Automaton:
5425 Automaton = other.Automaton.Clone();
5427 case ConstraintOneofCase.Inverse:
5428 Inverse = other.Inverse.Clone();
5430 case ConstraintOneofCase.Reservoir:
5431 Reservoir = other.Reservoir.Clone();
5433 case ConstraintOneofCase.Interval:
5434 Interval = other.Interval.Clone();
5436 case ConstraintOneofCase.NoOverlap:
5437 NoOverlap = other.NoOverlap.Clone();
5439 case ConstraintOneofCase.NoOverlap2D:
5440 NoOverlap2D = other.NoOverlap2D.Clone();
5442 case ConstraintOneofCase.Cumulative:
5443 Cumulative = other.Cumulative.Clone();
5445 case ConstraintOneofCase.DummyConstraint:
5446 DummyConstraint = other.DummyConstraint.Clone();
5450 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5454 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5460 public const int NameFieldNumber = 1;
5461 private string name_ =
"";
5465 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5466 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5467 public string Name {
5468 get {
return name_; }
5470 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
5475 public const int EnforcementLiteralFieldNumber = 2;
5476 private static readonly pb::FieldCodec<int> _repeated_enforcementLiteral_codec
5477 = pb::FieldCodec.ForInt32(18);
5478 private readonly pbc::RepeatedField<int> enforcementLiteral_ =
new pbc::RepeatedField<int>();
5495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5496 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5498 get {
return enforcementLiteral_; }
5502 public const int BoolOrFieldNumber = 3;
5506 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5507 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5508 public global::Google.OrTools.Sat.BoolArgumentProto BoolOr {
5509 get {
return constraintCase_ == ConstraintOneofCase.BoolOr ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ : null; }
5511 constraint_ = value;
5512 constraintCase_ = value ==
null ? ConstraintOneofCase.None : ConstraintOneofCase.BoolOr;
5517 public const int BoolAndFieldNumber = 4;
5525 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5526 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5527 public global::Google.OrTools.Sat.BoolArgumentProto
BoolAnd {
5528 get {
return constraintCase_ ==
ConstraintOneofCase.BoolAnd ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
5530 constraint_ = value;
5536 public const int AtMostOneFieldNumber = 26;
5550 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5551 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5552 public global::Google.OrTools.Sat.BoolArgumentProto
AtMostOne {
5555 constraint_ = value;
5576 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5577 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5581 constraint_ = value;
5591 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5592 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5593 public global::Google.OrTools.Sat.BoolArgumentProto
BoolXor {
5594 get {
return constraintCase_ ==
ConstraintOneofCase.BoolXor ? (global::Google.OrTools.Sat.BoolArgumentProto) constraint_ :
null; }
5596 constraint_ = value;
5602 public const int IntDivFieldNumber = 7;
5612 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5613 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5614 public global::Google.OrTools.Sat.LinearArgumentProto
IntDiv {
5617 constraint_ = value;
5618 constraintCase_ = value ==
null ? ConstraintOneofCase.None : ConstraintOneofCase.IntDiv;
5629 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5630 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5631 public global::Google.OrTools.Sat.LinearArgumentProto
IntMod {
5632 get {
return constraintCase_ ==
ConstraintOneofCase.IntMod ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
5634 constraint_ = value;
5640 public const int IntProdFieldNumber = 11;
5651 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5652 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5653 public global::Google.OrTools.Sat.LinearArgumentProto
IntProd {
5654 get {
return constraintCase_ ==
ConstraintOneofCase.IntProd ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
5656 constraint_ = value;
5668 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5669 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5670 public global::Google.OrTools.Sat.LinearArgumentProto
LinMax {
5671 get {
return constraintCase_ ==
ConstraintOneofCase.LinMax ? (global::Google.OrTools.Sat.LinearArgumentProto) constraint_ :
null; }
5673 constraint_ = value;
5679 public const int LinearFieldNumber = 12;
5684 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5685 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5686 public global::Google.OrTools.Sat.LinearConstraintProto
Linear {
5687 get {
return constraintCase_ ==
ConstraintOneofCase.Linear ? (global::Google.OrTools.Sat.LinearConstraintProto) constraint_ :
null; }
5689 constraint_ = value;
5695 public const int AllDiffFieldNumber = 13;
5699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5700 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5701 public global::Google.OrTools.Sat.AllDifferentConstraintProto
AllDiff {
5702 get {
return constraintCase_ ==
ConstraintOneofCase.AllDiff ? (global::Google.OrTools.Sat.AllDifferentConstraintProto) constraint_ :
null; }
5704 constraint_ = value;
5715 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5716 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5717 public global::Google.OrTools.Sat.ElementConstraintProto
Element {
5718 get {
return constraintCase_ ==
ConstraintOneofCase.Element ? (global::Google.OrTools.Sat.ElementConstraintProto) constraint_ :
null; }
5720 constraint_ = value;
5731 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5732 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5733 public global::Google.OrTools.Sat.CircuitConstraintProto
Circuit {
5734 get {
return constraintCase_ ==
ConstraintOneofCase.Circuit ? (global::Google.OrTools.Sat.CircuitConstraintProto) constraint_ :
null; }
5736 constraint_ = value;
5746 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5747 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5748 public global::Google.OrTools.Sat.RoutesConstraintProto
Routes {
5749 get {
return constraintCase_ ==
ConstraintOneofCase.Routes ? (global::Google.OrTools.Sat.RoutesConstraintProto) constraint_ :
null; }
5751 constraint_ = value;
5762 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5763 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5764 public global::Google.OrTools.Sat.TableConstraintProto
Table {
5765 get {
return constraintCase_ ==
ConstraintOneofCase.Table ? (global::Google.OrTools.Sat.TableConstraintProto) constraint_ :
null; }
5767 constraint_ = value;
5778 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5779 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5780 public global::Google.OrTools.Sat.AutomatonConstraintProto
Automaton {
5783 constraint_ = value;
5794 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5795 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5796 public global::Google.OrTools.Sat.InverseConstraintProto
Inverse {
5797 get {
return constraintCase_ ==
ConstraintOneofCase.Inverse ? (global::Google.OrTools.Sat.InverseConstraintProto) constraint_ :
null; }
5799 constraint_ = value;
5811 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5812 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5813 public global::Google.OrTools.Sat.ReservoirConstraintProto
Reservoir {
5816 constraint_ = value;
5822 public const int IntervalFieldNumber = 19;
5827 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5828 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5829 public global::Google.OrTools.Sat.IntervalConstraintProto
Interval {
5830 get {
return constraintCase_ ==
ConstraintOneofCase.Interval ? (global::Google.OrTools.Sat.IntervalConstraintProto) constraint_ :
null; }
5832 constraint_ = value;
5838 public const int NoOverlapFieldNumber = 20;
5844 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5845 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5846 public global::Google.OrTools.Sat.NoOverlapConstraintProto
NoOverlap {
5849 constraint_ = value;
5855 public const int NoOverlap2DFieldNumber = 21;
5859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5860 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5861 public global::Google.OrTools.Sat.NoOverlap2DConstraintProto
NoOverlap2D {
5864 constraint_ = value;
5876 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5877 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5878 public global::Google.OrTools.Sat.CumulativeConstraintProto
Cumulative {
5881 constraint_ = value;
5892 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5893 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5894 public global::Google.OrTools.Sat.ListOfVariablesProto
DummyConstraint {
5897 constraint_ = value;
5902 private object constraint_;
5904 public enum ConstraintOneofCase {
5930 private ConstraintOneofCase constraintCase_ = ConstraintOneofCase.None;
5931 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5932 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5933 public ConstraintOneofCase ConstraintCase {
5934 get {
return constraintCase_; }
5937 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5938 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5944 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5945 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5950 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5951 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5953 if (ReferenceEquals(other,
null)) {
5956 if (ReferenceEquals(other,
this)) {
5959 if (Name != other.Name)
return false;
5960 if(!enforcementLiteral_.Equals(other.enforcementLiteral_))
return false;
5961 if (!
object.Equals(BoolOr, other.BoolOr))
return false;
5962 if (!
object.Equals(BoolAnd, other.BoolAnd))
return false;
5966 if (!
object.
Equals(
IntDiv, other.IntDiv))
return false;
5967 if (!
object.
Equals(
IntMod, other.IntMod))
return false;
5970 if (!
object.
Equals(
Linear, other.Linear))
return false;
5974 if (!
object.
Equals(
Routes, other.Routes))
return false;
5975 if (!
object.
Equals(
Table, other.Table))
return false;
5985 return Equals(_unknownFields, other._unknownFields);
5988 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5989 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5990 public override int GetHashCode() {
5992 if (Name.Length != 0) hash ^= Name.GetHashCode();
5993 hash ^= enforcementLiteral_.GetHashCode();
5994 if (constraintCase_ == ConstraintOneofCase.BoolOr) hash ^= BoolOr.GetHashCode();
5995 if (constraintCase_ == ConstraintOneofCase.BoolAnd) hash ^= BoolAnd.GetHashCode();
5996 if (constraintCase_ == ConstraintOneofCase.AtMostOne) hash ^= AtMostOne.GetHashCode();
5997 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) hash ^= ExactlyOne.GetHashCode();
5998 if (constraintCase_ == ConstraintOneofCase.BoolXor) hash ^= BoolXor.GetHashCode();
5999 if (constraintCase_ == ConstraintOneofCase.IntDiv) hash ^= IntDiv.GetHashCode();
6000 if (constraintCase_ == ConstraintOneofCase.IntMod) hash ^= IntMod.GetHashCode();
6001 if (constraintCase_ == ConstraintOneofCase.IntProd) hash ^= IntProd.GetHashCode();
6002 if (constraintCase_ == ConstraintOneofCase.LinMax) hash ^= LinMax.GetHashCode();
6003 if (constraintCase_ == ConstraintOneofCase.Linear) hash ^= Linear.GetHashCode();
6004 if (constraintCase_ == ConstraintOneofCase.AllDiff) hash ^= AllDiff.GetHashCode();
6005 if (constraintCase_ == ConstraintOneofCase.Element) hash ^= Element.GetHashCode();
6006 if (constraintCase_ == ConstraintOneofCase.Circuit) hash ^= Circuit.GetHashCode();
6007 if (constraintCase_ == ConstraintOneofCase.Routes) hash ^= Routes.GetHashCode();
6008 if (constraintCase_ == ConstraintOneofCase.Table) hash ^= Table.GetHashCode();
6009 if (constraintCase_ == ConstraintOneofCase.Automaton) hash ^= Automaton.GetHashCode();
6010 if (constraintCase_ == ConstraintOneofCase.Inverse) hash ^= Inverse.GetHashCode();
6011 if (constraintCase_ == ConstraintOneofCase.Reservoir) hash ^= Reservoir.GetHashCode();
6012 if (constraintCase_ == ConstraintOneofCase.Interval) hash ^= Interval.GetHashCode();
6013 if (constraintCase_ == ConstraintOneofCase.NoOverlap) hash ^= NoOverlap.GetHashCode();
6014 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) hash ^= NoOverlap2D.GetHashCode();
6015 if (constraintCase_ == ConstraintOneofCase.Cumulative) hash ^= Cumulative.GetHashCode();
6016 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) hash ^= DummyConstraint.GetHashCode();
6017 hash ^= (int) constraintCase_;
6018 if (_unknownFields !=
null) {
6019 hash ^= _unknownFields.GetHashCode();
6024 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6025 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6026 public override string ToString() {
6027 return pb::JsonFormatter.ToDiagnosticString(
this);
6030 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6031 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6032 public void WriteTo(pb::CodedOutputStream output) {
6033 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6034 output.WriteRawMessage(
this);
6036 if (Name.Length != 0) {
6037 output.WriteRawTag(10);
6038 output.WriteString(Name);
6040 enforcementLiteral_.WriteTo(output, _repeated_enforcementLiteral_codec);
6041 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
6042 output.WriteRawTag(26);
6043 output.WriteMessage(BoolOr);
6045 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6046 output.WriteRawTag(34);
6047 output.WriteMessage(BoolAnd);
6049 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6050 output.WriteRawTag(42);
6051 output.WriteMessage(BoolXor);
6053 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
6054 output.WriteRawTag(58);
6055 output.WriteMessage(IntDiv);
6057 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6058 output.WriteRawTag(66);
6059 output.WriteMessage(IntMod);
6061 if (constraintCase_ == ConstraintOneofCase.IntProd) {
6062 output.WriteRawTag(90);
6065 if (constraintCase_ == ConstraintOneofCase.Linear) {
6066 output.WriteRawTag(98);
6067 output.WriteMessage(Linear);
6069 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6070 output.WriteRawTag(106);
6071 output.WriteMessage(AllDiff);
6073 if (constraintCase_ == ConstraintOneofCase.Element) {
6074 output.WriteRawTag(114);
6075 output.WriteMessage(Element);
6077 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6078 output.WriteRawTag(122);
6079 output.WriteMessage(Circuit);
6081 if (constraintCase_ == ConstraintOneofCase.Table) {
6082 output.WriteRawTag(130, 1);
6083 output.WriteMessage(Table);
6085 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6086 output.WriteRawTag(138, 1);
6087 output.WriteMessage(Automaton);
6089 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6090 output.WriteRawTag(146, 1);
6091 output.WriteMessage(Inverse);
6093 if (constraintCase_ == ConstraintOneofCase.Interval) {
6094 output.WriteRawTag(154, 1);
6095 output.WriteMessage(Interval);
6097 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6098 output.WriteRawTag(162, 1);
6099 output.WriteMessage(NoOverlap);
6101 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6102 output.WriteRawTag(170, 1);
6103 output.WriteMessage(NoOverlap2D);
6105 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6106 output.WriteRawTag(178, 1);
6107 output.WriteMessage(Cumulative);
6109 if (constraintCase_ == ConstraintOneofCase.Routes) {
6110 output.WriteRawTag(186, 1);
6111 output.WriteMessage(Routes);
6113 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6114 output.WriteRawTag(194, 1);
6115 output.WriteMessage(Reservoir);
6117 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6118 output.WriteRawTag(210, 1);
6119 output.WriteMessage(AtMostOne);
6121 if (constraintCase_ == ConstraintOneofCase.LinMax) {
6122 output.WriteRawTag(218, 1);
6123 output.WriteMessage(LinMax);
6125 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) {
6126 output.WriteRawTag(234, 1);
6127 output.WriteMessage(ExactlyOne);
6129 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) {
6130 output.WriteRawTag(242, 1);
6131 output.WriteMessage(DummyConstraint);
6133 if (_unknownFields !=
null) {
6134 _unknownFields.WriteTo(output);
6139 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6141 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6142 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
6143 if (Name.Length != 0) {
6144 output.WriteRawTag(10);
6145 output.WriteString(Name);
6147 enforcementLiteral_.WriteTo(ref output, _repeated_enforcementLiteral_codec);
6148 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
6149 output.WriteRawTag(26);
6150 output.WriteMessage(BoolOr);
6152 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6153 output.WriteRawTag(34);
6154 output.WriteMessage(BoolAnd);
6156 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6157 output.WriteRawTag(42);
6158 output.WriteMessage(BoolXor);
6160 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
6161 output.WriteRawTag(58);
6162 output.WriteMessage(IntDiv);
6164 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6165 output.WriteRawTag(66);
6166 output.WriteMessage(IntMod);
6168 if (constraintCase_ == ConstraintOneofCase.IntProd) {
6169 output.WriteRawTag(90);
6170 output.WriteMessage(IntProd);
6172 if (constraintCase_ == ConstraintOneofCase.Linear) {
6173 output.WriteRawTag(98);
6174 output.WriteMessage(Linear);
6176 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6177 output.WriteRawTag(106);
6178 output.WriteMessage(AllDiff);
6180 if (constraintCase_ == ConstraintOneofCase.Element) {
6181 output.WriteRawTag(114);
6182 output.WriteMessage(Element);
6184 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6185 output.WriteRawTag(122);
6186 output.WriteMessage(Circuit);
6188 if (constraintCase_ == ConstraintOneofCase.Table) {
6189 output.WriteRawTag(130, 1);
6190 output.WriteMessage(Table);
6192 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6193 output.WriteRawTag(138, 1);
6194 output.WriteMessage(Automaton);
6196 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6197 output.WriteRawTag(146, 1);
6198 output.WriteMessage(Inverse);
6200 if (constraintCase_ == ConstraintOneofCase.Interval) {
6201 output.WriteRawTag(154, 1);
6202 output.WriteMessage(Interval);
6204 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6205 output.WriteRawTag(162, 1);
6206 output.WriteMessage(NoOverlap);
6208 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6209 output.WriteRawTag(170, 1);
6210 output.WriteMessage(NoOverlap2D);
6212 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6213 output.WriteRawTag(178, 1);
6214 output.WriteMessage(Cumulative);
6216 if (constraintCase_ == ConstraintOneofCase.Routes) {
6217 output.WriteRawTag(186, 1);
6218 output.WriteMessage(Routes);
6220 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6221 output.WriteRawTag(194, 1);
6222 output.WriteMessage(Reservoir);
6224 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6225 output.WriteRawTag(210, 1);
6226 output.WriteMessage(AtMostOne);
6228 if (constraintCase_ == ConstraintOneofCase.LinMax) {
6229 output.WriteRawTag(218, 1);
6230 output.WriteMessage(LinMax);
6232 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) {
6233 output.WriteRawTag(234, 1);
6234 output.WriteMessage(ExactlyOne);
6236 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) {
6237 output.WriteRawTag(242, 1);
6238 output.WriteMessage(DummyConstraint);
6240 if (_unknownFields !=
null) {
6241 _unknownFields.WriteTo(ref output);
6246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6247 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6248 public int CalculateSize() {
6250 if (Name.Length != 0) {
6251 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
6253 size += enforcementLiteral_.CalculateSize(_repeated_enforcementLiteral_codec);
6254 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
6255 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolOr);
6257 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6258 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolAnd);
6260 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6261 size += 2 + pb::CodedOutputStream.ComputeMessageSize(AtMostOne);
6263 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) {
6264 size += 2 + pb::CodedOutputStream.ComputeMessageSize(ExactlyOne);
6266 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6267 size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoolXor);
6269 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
6270 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntDiv);
6272 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6273 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntMod);
6275 if (constraintCase_ == ConstraintOneofCase.IntProd) {
6276 size += 1 + pb::CodedOutputStream.ComputeMessageSize(IntProd);
6279 size += 2 + pb::CodedOutputStream.ComputeMessageSize(
LinMax);
6281 if (constraintCase_ == ConstraintOneofCase.Linear) {
6282 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Linear);
6284 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6285 size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllDiff);
6287 if (constraintCase_ == ConstraintOneofCase.Element) {
6288 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Element);
6290 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6291 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Circuit);
6293 if (constraintCase_ == ConstraintOneofCase.Routes) {
6294 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Routes);
6296 if (constraintCase_ == ConstraintOneofCase.Table) {
6297 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Table);
6299 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6300 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Automaton);
6302 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6303 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Inverse);
6305 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6306 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Reservoir);
6308 if (constraintCase_ == ConstraintOneofCase.Interval) {
6309 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Interval);
6311 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6312 size += 2 + pb::CodedOutputStream.ComputeMessageSize(NoOverlap);
6314 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6315 size += 2 + pb::CodedOutputStream.ComputeMessageSize(NoOverlap2D);
6317 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6318 size += 2 + pb::CodedOutputStream.ComputeMessageSize(Cumulative);
6320 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) {
6321 size += 2 + pb::CodedOutputStream.ComputeMessageSize(DummyConstraint);
6323 if (_unknownFields !=
null) {
6324 size += _unknownFields.CalculateSize();
6329 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6330 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6331 public void MergeFrom(ConstraintProto other) {
6332 if (other ==
null) {
6335 if (other.Name.Length != 0) {
6338 enforcementLiteral_.Add(other.enforcementLiteral_);
6339 switch (other.ConstraintCase) {
6340 case ConstraintOneofCase.BoolOr:
6341 if (BoolOr ==
null) {
6342 BoolOr =
new global::Google.OrTools.Sat.BoolArgumentProto();
6344 BoolOr.MergeFrom(other.BoolOr);
6346 case ConstraintOneofCase.BoolAnd:
6347 if (BoolAnd ==
null) {
6348 BoolAnd =
new global::Google.OrTools.Sat.BoolArgumentProto();
6350 BoolAnd.MergeFrom(other.BoolAnd);
6352 case ConstraintOneofCase.AtMostOne:
6353 if (AtMostOne ==
null) {
6354 AtMostOne =
new global::Google.OrTools.Sat.BoolArgumentProto();
6356 AtMostOne.MergeFrom(other.AtMostOne);
6358 case ConstraintOneofCase.ExactlyOne:
6359 if (ExactlyOne ==
null) {
6360 ExactlyOne =
new global::Google.OrTools.Sat.BoolArgumentProto();
6362 ExactlyOne.MergeFrom(other.ExactlyOne);
6364 case ConstraintOneofCase.BoolXor:
6365 if (BoolXor ==
null) {
6366 BoolXor =
new global::Google.OrTools.Sat.BoolArgumentProto();
6368 BoolXor.MergeFrom(other.BoolXor);
6370 case ConstraintOneofCase.IntDiv:
6371 if (IntDiv ==
null) {
6372 IntDiv =
new global::Google.OrTools.Sat.LinearArgumentProto();
6374 IntDiv.MergeFrom(other.IntDiv);
6376 case ConstraintOneofCase.IntMod:
6377 if (IntMod ==
null) {
6378 IntMod =
new global::Google.OrTools.Sat.LinearArgumentProto();
6380 IntMod.MergeFrom(other.IntMod);
6382 case ConstraintOneofCase.IntProd:
6383 if (IntProd ==
null) {
6384 IntProd =
new global::Google.OrTools.Sat.LinearArgumentProto();
6386 IntProd.MergeFrom(other.IntProd);
6388 case ConstraintOneofCase.LinMax:
6389 if (LinMax ==
null) {
6390 LinMax =
new global::Google.OrTools.Sat.LinearArgumentProto();
6392 LinMax.MergeFrom(other.LinMax);
6394 case ConstraintOneofCase.Linear:
6395 if (Linear ==
null) {
6396 Linear =
new global::Google.OrTools.Sat.LinearConstraintProto();
6398 Linear.MergeFrom(other.Linear);
6400 case ConstraintOneofCase.AllDiff:
6401 if (AllDiff ==
null) {
6402 AllDiff =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
6404 AllDiff.MergeFrom(other.AllDiff);
6406 case ConstraintOneofCase.Element:
6407 if (Element ==
null) {
6408 Element =
new global::Google.OrTools.Sat.ElementConstraintProto();
6410 Element.MergeFrom(other.Element);
6412 case ConstraintOneofCase.Circuit:
6413 if (Circuit ==
null) {
6414 Circuit =
new global::Google.OrTools.Sat.CircuitConstraintProto();
6416 Circuit.MergeFrom(other.Circuit);
6418 case ConstraintOneofCase.Routes:
6419 if (Routes ==
null) {
6420 Routes =
new global::Google.OrTools.Sat.RoutesConstraintProto();
6422 Routes.MergeFrom(other.Routes);
6424 case ConstraintOneofCase.Table:
6425 if (Table ==
null) {
6426 Table =
new global::Google.OrTools.Sat.TableConstraintProto();
6428 Table.MergeFrom(other.Table);
6430 case ConstraintOneofCase.Automaton:
6431 if (Automaton ==
null) {
6432 Automaton =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
6434 Automaton.MergeFrom(other.Automaton);
6436 case ConstraintOneofCase.Inverse:
6437 if (Inverse ==
null) {
6438 Inverse =
new global::Google.OrTools.Sat.InverseConstraintProto();
6440 Inverse.MergeFrom(other.Inverse);
6442 case ConstraintOneofCase.Reservoir:
6443 if (Reservoir ==
null) {
6444 Reservoir =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
6446 Reservoir.MergeFrom(other.Reservoir);
6448 case ConstraintOneofCase.Interval:
6449 if (Interval ==
null) {
6450 Interval =
new global::Google.OrTools.Sat.IntervalConstraintProto();
6452 Interval.MergeFrom(other.Interval);
6454 case ConstraintOneofCase.NoOverlap:
6455 if (NoOverlap ==
null) {
6456 NoOverlap =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
6458 NoOverlap.MergeFrom(other.NoOverlap);
6460 case ConstraintOneofCase.NoOverlap2D:
6461 if (NoOverlap2D ==
null) {
6462 NoOverlap2D =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
6464 NoOverlap2D.MergeFrom(other.NoOverlap2D);
6466 case ConstraintOneofCase.Cumulative:
6467 if (Cumulative ==
null) {
6468 Cumulative =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
6470 Cumulative.MergeFrom(other.Cumulative);
6472 case ConstraintOneofCase.DummyConstraint:
6473 if (DummyConstraint ==
null) {
6474 DummyConstraint =
new global::Google.OrTools.Sat.ListOfVariablesProto();
6476 DummyConstraint.MergeFrom(other.DummyConstraint);
6480 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6484 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6485 public void MergeFrom(pb::CodedInputStream input) {
6486 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6487 input.ReadRawMessage(
this);
6490 while ((tag = input.ReadTag()) != 0) {
6491 if ((tag & 7) == 4) {
6497 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
6500 Name = input.ReadString();
6505 enforcementLiteral_.AddEntriesFrom(input, _repeated_enforcementLiteral_codec);
6509 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6510 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
6511 subBuilder.MergeFrom(BoolOr);
6513 input.ReadMessage(subBuilder);
6514 BoolOr = subBuilder;
6518 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6519 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6520 subBuilder.MergeFrom(BoolAnd);
6522 input.ReadMessage(subBuilder);
6523 BoolAnd = subBuilder;
6527 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6528 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6529 subBuilder.MergeFrom(BoolXor);
6531 input.ReadMessage(subBuilder);
6532 BoolXor = subBuilder;
6536 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6537 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
6538 subBuilder.MergeFrom(IntDiv);
6540 input.ReadMessage(subBuilder);
6541 IntDiv = subBuilder;
6545 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6546 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6547 subBuilder.MergeFrom(IntMod);
6549 input.ReadMessage(subBuilder);
6550 IntMod = subBuilder;
6554 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6555 if (constraintCase_ == ConstraintOneofCase.IntProd) {
6556 subBuilder.MergeFrom(IntProd);
6558 input.ReadMessage(subBuilder);
6559 IntProd = subBuilder;
6563 global::Google.OrTools.Sat.LinearConstraintProto subBuilder =
new global::Google.OrTools.Sat.LinearConstraintProto();
6564 if (constraintCase_ == ConstraintOneofCase.Linear) {
6565 subBuilder.MergeFrom(Linear);
6567 input.ReadMessage(subBuilder);
6568 Linear = subBuilder;
6572 global::Google.OrTools.Sat.AllDifferentConstraintProto subBuilder =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
6573 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6574 subBuilder.MergeFrom(AllDiff);
6576 input.ReadMessage(subBuilder);
6577 AllDiff = subBuilder;
6581 global::Google.OrTools.Sat.ElementConstraintProto subBuilder =
new global::Google.OrTools.Sat.ElementConstraintProto();
6582 if (constraintCase_ == ConstraintOneofCase.Element) {
6583 subBuilder.MergeFrom(Element);
6585 input.ReadMessage(subBuilder);
6586 Element = subBuilder;
6590 global::Google.OrTools.Sat.CircuitConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitConstraintProto();
6591 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6592 subBuilder.MergeFrom(Circuit);
6594 input.ReadMessage(subBuilder);
6595 Circuit = subBuilder;
6599 global::Google.OrTools.Sat.TableConstraintProto subBuilder =
new global::Google.OrTools.Sat.TableConstraintProto();
6600 if (constraintCase_ == ConstraintOneofCase.Table) {
6601 subBuilder.MergeFrom(Table);
6603 input.ReadMessage(subBuilder);
6608 global::Google.OrTools.Sat.AutomatonConstraintProto subBuilder =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
6609 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6610 subBuilder.MergeFrom(Automaton);
6612 input.ReadMessage(subBuilder);
6613 Automaton = subBuilder;
6617 global::Google.OrTools.Sat.InverseConstraintProto subBuilder =
new global::Google.OrTools.Sat.InverseConstraintProto();
6618 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6619 subBuilder.MergeFrom(Inverse);
6621 input.ReadMessage(subBuilder);
6622 Inverse = subBuilder;
6626 global::Google.OrTools.Sat.IntervalConstraintProto subBuilder =
new global::Google.OrTools.Sat.IntervalConstraintProto();
6627 if (constraintCase_ == ConstraintOneofCase.Interval) {
6628 subBuilder.MergeFrom(Interval);
6630 input.ReadMessage(subBuilder);
6631 Interval = subBuilder;
6635 global::Google.OrTools.Sat.NoOverlapConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
6636 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6637 subBuilder.MergeFrom(NoOverlap);
6639 input.ReadMessage(subBuilder);
6640 NoOverlap = subBuilder;
6644 global::Google.OrTools.Sat.NoOverlap2DConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
6645 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6646 subBuilder.MergeFrom(NoOverlap2D);
6648 input.ReadMessage(subBuilder);
6649 NoOverlap2D = subBuilder;
6653 global::Google.OrTools.Sat.CumulativeConstraintProto subBuilder =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
6654 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6655 subBuilder.MergeFrom(Cumulative);
6657 input.ReadMessage(subBuilder);
6658 Cumulative = subBuilder;
6662 global::Google.OrTools.Sat.RoutesConstraintProto subBuilder =
new global::Google.OrTools.Sat.RoutesConstraintProto();
6663 if (constraintCase_ == ConstraintOneofCase.Routes) {
6664 subBuilder.MergeFrom(Routes);
6666 input.ReadMessage(subBuilder);
6667 Routes = subBuilder;
6671 global::Google.OrTools.Sat.ReservoirConstraintProto subBuilder =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
6672 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6673 subBuilder.MergeFrom(Reservoir);
6675 input.ReadMessage(subBuilder);
6676 Reservoir = subBuilder;
6680 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6681 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6682 subBuilder.MergeFrom(AtMostOne);
6684 input.ReadMessage(subBuilder);
6685 AtMostOne = subBuilder;
6689 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6690 if (constraintCase_ == ConstraintOneofCase.LinMax) {
6691 subBuilder.MergeFrom(LinMax);
6693 input.ReadMessage(subBuilder);
6694 LinMax = subBuilder;
6698 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6699 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) {
6700 subBuilder.MergeFrom(ExactlyOne);
6702 input.ReadMessage(subBuilder);
6703 ExactlyOne = subBuilder;
6707 global::Google.OrTools.Sat.ListOfVariablesProto subBuilder =
new global::Google.OrTools.Sat.ListOfVariablesProto();
6708 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) {
6709 subBuilder.MergeFrom(DummyConstraint);
6711 input.ReadMessage(subBuilder);
6712 DummyConstraint = subBuilder;
6720 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6721 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6722 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6723 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6725 while ((tag = input.ReadTag()) != 0) {
6726 if ((tag & 7) == 4) {
6732 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6735 Name = input.ReadString();
6740 enforcementLiteral_.AddEntriesFrom(ref input, _repeated_enforcementLiteral_codec);
6744 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6745 if (constraintCase_ == ConstraintOneofCase.BoolOr) {
6746 subBuilder.MergeFrom(BoolOr);
6748 input.ReadMessage(subBuilder);
6749 BoolOr = subBuilder;
6753 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6754 if (constraintCase_ == ConstraintOneofCase.BoolAnd) {
6755 subBuilder.MergeFrom(BoolAnd);
6757 input.ReadMessage(subBuilder);
6758 BoolAnd = subBuilder;
6762 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6763 if (constraintCase_ == ConstraintOneofCase.BoolXor) {
6764 subBuilder.MergeFrom(BoolXor);
6766 input.ReadMessage(subBuilder);
6767 BoolXor = subBuilder;
6771 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6772 if (constraintCase_ == ConstraintOneofCase.IntDiv) {
6773 subBuilder.MergeFrom(IntDiv);
6775 input.ReadMessage(subBuilder);
6776 IntDiv = subBuilder;
6780 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6781 if (constraintCase_ == ConstraintOneofCase.IntMod) {
6782 subBuilder.MergeFrom(IntMod);
6784 input.ReadMessage(subBuilder);
6785 IntMod = subBuilder;
6789 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6790 if (constraintCase_ == ConstraintOneofCase.IntProd) {
6791 subBuilder.MergeFrom(IntProd);
6793 input.ReadMessage(subBuilder);
6794 IntProd = subBuilder;
6798 global::Google.OrTools.Sat.LinearConstraintProto subBuilder =
new global::Google.OrTools.Sat.LinearConstraintProto();
6799 if (constraintCase_ == ConstraintOneofCase.Linear) {
6800 subBuilder.MergeFrom(Linear);
6802 input.ReadMessage(subBuilder);
6803 Linear = subBuilder;
6807 global::Google.OrTools.Sat.AllDifferentConstraintProto subBuilder =
new global::Google.OrTools.Sat.AllDifferentConstraintProto();
6808 if (constraintCase_ == ConstraintOneofCase.AllDiff) {
6809 subBuilder.MergeFrom(AllDiff);
6811 input.ReadMessage(subBuilder);
6812 AllDiff = subBuilder;
6816 global::Google.OrTools.Sat.ElementConstraintProto subBuilder =
new global::Google.OrTools.Sat.ElementConstraintProto();
6817 if (constraintCase_ == ConstraintOneofCase.Element) {
6818 subBuilder.MergeFrom(Element);
6820 input.ReadMessage(subBuilder);
6821 Element = subBuilder;
6825 global::Google.OrTools.Sat.CircuitConstraintProto subBuilder =
new global::Google.OrTools.Sat.CircuitConstraintProto();
6826 if (constraintCase_ == ConstraintOneofCase.Circuit) {
6827 subBuilder.MergeFrom(Circuit);
6829 input.ReadMessage(subBuilder);
6830 Circuit = subBuilder;
6834 global::Google.OrTools.Sat.TableConstraintProto subBuilder =
new global::Google.OrTools.Sat.TableConstraintProto();
6835 if (constraintCase_ == ConstraintOneofCase.Table) {
6836 subBuilder.MergeFrom(Table);
6838 input.ReadMessage(subBuilder);
6843 global::Google.OrTools.Sat.AutomatonConstraintProto subBuilder =
new global::Google.OrTools.Sat.AutomatonConstraintProto();
6844 if (constraintCase_ == ConstraintOneofCase.Automaton) {
6845 subBuilder.MergeFrom(Automaton);
6847 input.ReadMessage(subBuilder);
6848 Automaton = subBuilder;
6852 global::Google.OrTools.Sat.InverseConstraintProto subBuilder =
new global::Google.OrTools.Sat.InverseConstraintProto();
6853 if (constraintCase_ == ConstraintOneofCase.Inverse) {
6854 subBuilder.MergeFrom(Inverse);
6856 input.ReadMessage(subBuilder);
6857 Inverse = subBuilder;
6861 global::Google.OrTools.Sat.IntervalConstraintProto subBuilder =
new global::Google.OrTools.Sat.IntervalConstraintProto();
6862 if (constraintCase_ == ConstraintOneofCase.Interval) {
6863 subBuilder.MergeFrom(Interval);
6865 input.ReadMessage(subBuilder);
6866 Interval = subBuilder;
6870 global::Google.OrTools.Sat.NoOverlapConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlapConstraintProto();
6871 if (constraintCase_ == ConstraintOneofCase.NoOverlap) {
6872 subBuilder.MergeFrom(NoOverlap);
6874 input.ReadMessage(subBuilder);
6875 NoOverlap = subBuilder;
6879 global::Google.OrTools.Sat.NoOverlap2DConstraintProto subBuilder =
new global::Google.OrTools.Sat.NoOverlap2DConstraintProto();
6880 if (constraintCase_ == ConstraintOneofCase.NoOverlap2D) {
6881 subBuilder.MergeFrom(NoOverlap2D);
6883 input.ReadMessage(subBuilder);
6884 NoOverlap2D = subBuilder;
6888 global::Google.OrTools.Sat.CumulativeConstraintProto subBuilder =
new global::Google.OrTools.Sat.CumulativeConstraintProto();
6889 if (constraintCase_ == ConstraintOneofCase.Cumulative) {
6890 subBuilder.MergeFrom(Cumulative);
6892 input.ReadMessage(subBuilder);
6893 Cumulative = subBuilder;
6897 global::Google.OrTools.Sat.RoutesConstraintProto subBuilder =
new global::Google.OrTools.Sat.RoutesConstraintProto();
6898 if (constraintCase_ == ConstraintOneofCase.Routes) {
6899 subBuilder.MergeFrom(Routes);
6901 input.ReadMessage(subBuilder);
6902 Routes = subBuilder;
6906 global::Google.OrTools.Sat.ReservoirConstraintProto subBuilder =
new global::Google.OrTools.Sat.ReservoirConstraintProto();
6907 if (constraintCase_ == ConstraintOneofCase.Reservoir) {
6908 subBuilder.MergeFrom(Reservoir);
6910 input.ReadMessage(subBuilder);
6911 Reservoir = subBuilder;
6915 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6916 if (constraintCase_ == ConstraintOneofCase.AtMostOne) {
6917 subBuilder.MergeFrom(AtMostOne);
6919 input.ReadMessage(subBuilder);
6920 AtMostOne = subBuilder;
6924 global::Google.OrTools.Sat.LinearArgumentProto subBuilder =
new global::Google.OrTools.Sat.LinearArgumentProto();
6925 if (constraintCase_ == ConstraintOneofCase.LinMax) {
6926 subBuilder.MergeFrom(LinMax);
6928 input.ReadMessage(subBuilder);
6929 LinMax = subBuilder;
6933 global::Google.OrTools.Sat.BoolArgumentProto subBuilder =
new global::Google.OrTools.Sat.BoolArgumentProto();
6934 if (constraintCase_ == ConstraintOneofCase.ExactlyOne) {
6935 subBuilder.MergeFrom(ExactlyOne);
6937 input.ReadMessage(subBuilder);
6938 ExactlyOne = subBuilder;
6942 global::Google.OrTools.Sat.ListOfVariablesProto subBuilder =
new global::Google.OrTools.Sat.ListOfVariablesProto();
6943 if (constraintCase_ == ConstraintOneofCase.DummyConstraint) {
6944 subBuilder.MergeFrom(DummyConstraint);
6946 input.ReadMessage(subBuilder);
6947 DummyConstraint = subBuilder;
6960 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
6961 public sealed partial class CpObjectiveProto : pb::IMessage<CpObjectiveProto>
6962 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6963 , pb::IBufferMessage
6966 private static readonly pb::MessageParser<CpObjectiveProto> _parser =
new pb::MessageParser<CpObjectiveProto>(() =>
new CpObjectiveProto());
6967 private pb::UnknownFieldSet _unknownFields;
6968 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6969 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6970 public static pb::MessageParser<CpObjectiveProto> Parser {
get {
return _parser; } }
6972 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6973 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6974 public static pbr::MessageDescriptor Descriptor {
6975 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[19]; }
6978 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6979 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6980 pbr::MessageDescriptor pb::IMessage.Descriptor {
6981 get {
return Descriptor; }
6984 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6985 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6986 public CpObjectiveProto() {
6990 partial
void OnConstruction();
6992 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6993 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
6995 vars_ = other.vars_.Clone();
6996 coeffs_ = other.coeffs_.Clone();
6997 offset_ = other.offset_;
6998 scalingFactor_ = other.scalingFactor_;
6999 domain_ = other.domain_.Clone();
7000 scalingWasExact_ = other.scalingWasExact_;
7001 integerBeforeOffset_ = other.integerBeforeOffset_;
7002 integerAfterOffset_ = other.integerAfterOffset_;
7003 integerScalingFactor_ = other.integerScalingFactor_;
7004 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7007 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7008 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7014 public const int VarsFieldNumber = 1;
7015 private static readonly pb::FieldCodec<int> _repeated_vars_codec
7016 = pb::FieldCodec.ForInt32(10);
7017 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
7023 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7024 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7025 public pbc::RepeatedField<int>
Vars {
7026 get {
return vars_; }
7030 public const int CoeffsFieldNumber = 4;
7031 private static readonly pb::FieldCodec<long> _repeated_coeffs_codec
7032 = pb::FieldCodec.ForInt64(34);
7033 private readonly pbc::RepeatedField<long> coeffs_ =
new pbc::RepeatedField<long>();
7034 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7035 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7036 public pbc::RepeatedField<long> Coeffs {
7037 get {
return coeffs_; }
7042 private double offset_;
7052 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7053 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7055 get {
return offset_; }
7063 private double scalingFactor_;
7064 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7065 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7067 get {
return scalingFactor_; }
7069 scalingFactor_ = value;
7074 public const int DomainFieldNumber = 5;
7075 private static readonly pb::FieldCodec<long> _repeated_domain_codec
7076 = pb::FieldCodec.ForInt64(42);
7077 private readonly pbc::RepeatedField<long> domain_ =
new pbc::RepeatedField<long>();
7083 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7084 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7086 get {
return domain_; }
7090 public const int ScalingWasExactFieldNumber = 6;
7091 private bool scalingWasExact_;
7099 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7100 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7102 get {
return scalingWasExact_; }
7104 scalingWasExact_ = value;
7109 public const int IntegerBeforeOffsetFieldNumber = 7;
7110 private long integerBeforeOffset_;
7125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7126 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7128 get {
return integerBeforeOffset_; }
7130 integerBeforeOffset_ = value;
7136 private long integerAfterOffset_;
7137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7138 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7140 get {
return integerAfterOffset_; }
7142 integerAfterOffset_ = value;
7147 public const int IntegerScalingFactorFieldNumber = 8;
7148 private long integerScalingFactor_;
7149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7150 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7151 public long IntegerScalingFactor {
7152 get {
return integerScalingFactor_; }
7154 integerScalingFactor_ = value;
7158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7159 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7164 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7165 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7167 if (ReferenceEquals(other,
null)) {
7170 if (ReferenceEquals(other,
this)) {
7173 if(!vars_.Equals(other.vars_))
return false;
7174 if(!coeffs_.Equals(other.coeffs_))
return false;
7175 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Offset, other.Offset))
return false;
7176 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ScalingFactor, other.ScalingFactor))
return false;
7177 if(!domain_.Equals(other.domain_))
return false;
7178 if (ScalingWasExact != other.ScalingWasExact)
return false;
7179 if (IntegerBeforeOffset != other.IntegerBeforeOffset)
return false;
7182 return Equals(_unknownFields, other._unknownFields);
7185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7186 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7189 hash ^= vars_.GetHashCode();
7190 hash ^= coeffs_.GetHashCode();
7191 if (
Offset != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
Offset);
7193 hash ^= domain_.GetHashCode();
7198 if (_unknownFields !=
null) {
7199 hash ^= _unknownFields.GetHashCode();
7204 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7205 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7206 public override string ToString() {
7207 return pb::JsonFormatter.ToDiagnosticString(
this);
7210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7211 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7212 public void WriteTo(pb::CodedOutputStream output) {
7213 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7214 output.WriteRawMessage(
this);
7216 vars_.WriteTo(output, _repeated_vars_codec);
7218 output.WriteRawTag(17);
7219 output.WriteDouble(Offset);
7221 if (ScalingFactor != 0D) {
7222 output.WriteRawTag(25);
7223 output.WriteDouble(ScalingFactor);
7225 coeffs_.WriteTo(output, _repeated_coeffs_codec);
7226 domain_.WriteTo(output, _repeated_domain_codec);
7227 if (ScalingWasExact !=
false) {
7228 output.WriteRawTag(48);
7229 output.WriteBool(ScalingWasExact);
7231 if (IntegerBeforeOffset != 0L) {
7232 output.WriteRawTag(56);
7233 output.WriteInt64(IntegerBeforeOffset);
7235 if (IntegerScalingFactor != 0L) {
7236 output.WriteRawTag(64);
7237 output.WriteInt64(IntegerScalingFactor);
7240 output.WriteRawTag(72);
7243 if (_unknownFields !=
null) {
7244 _unknownFields.WriteTo(output);
7249 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7251 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7252 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7253 vars_.WriteTo(ref output, _repeated_vars_codec);
7255 output.WriteRawTag(17);
7256 output.WriteDouble(Offset);
7258 if (ScalingFactor != 0D) {
7259 output.WriteRawTag(25);
7260 output.WriteDouble(ScalingFactor);
7262 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
7263 domain_.WriteTo(ref output, _repeated_domain_codec);
7264 if (ScalingWasExact !=
false) {
7265 output.WriteRawTag(48);
7266 output.WriteBool(ScalingWasExact);
7268 if (IntegerBeforeOffset != 0L) {
7269 output.WriteRawTag(56);
7270 output.WriteInt64(IntegerBeforeOffset);
7272 if (IntegerScalingFactor != 0L) {
7273 output.WriteRawTag(64);
7274 output.WriteInt64(IntegerScalingFactor);
7276 if (IntegerAfterOffset != 0L) {
7277 output.WriteRawTag(72);
7278 output.WriteInt64(IntegerAfterOffset);
7280 if (_unknownFields !=
null) {
7281 _unknownFields.WriteTo(ref output);
7286 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7287 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7288 public int CalculateSize() {
7290 size += vars_.CalculateSize(_repeated_vars_codec);
7291 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
7295 if (ScalingFactor != 0D) {
7298 size += domain_.CalculateSize(_repeated_domain_codec);
7299 if (ScalingWasExact !=
false) {
7302 if (IntegerBeforeOffset != 0L) {
7303 size += 1 + pb::CodedOutputStream.ComputeInt64Size(IntegerBeforeOffset);
7305 if (IntegerAfterOffset != 0L) {
7306 size += 1 + pb::CodedOutputStream.ComputeInt64Size(IntegerAfterOffset);
7308 if (IntegerScalingFactor != 0L) {
7309 size += 1 + pb::CodedOutputStream.ComputeInt64Size(IntegerScalingFactor);
7311 if (_unknownFields !=
null) {
7312 size += _unknownFields.CalculateSize();
7317 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7318 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7319 public void MergeFrom(CpObjectiveProto other) {
7320 if (other ==
null) {
7323 vars_.Add(other.vars_);
7324 coeffs_.Add(other.coeffs_);
7325 if (other.Offset != 0D) {
7326 Offset = other.Offset;
7328 if (other.ScalingFactor != 0D) {
7329 ScalingFactor = other.ScalingFactor;
7331 domain_.Add(other.domain_);
7332 if (other.ScalingWasExact !=
false) {
7333 ScalingWasExact = other.ScalingWasExact;
7335 if (other.IntegerBeforeOffset != 0L) {
7336 IntegerBeforeOffset = other.IntegerBeforeOffset;
7338 if (other.IntegerAfterOffset != 0L) {
7339 IntegerAfterOffset = other.IntegerAfterOffset;
7341 if (other.IntegerScalingFactor != 0L) {
7342 IntegerScalingFactor = other.IntegerScalingFactor;
7344 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7347 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7348 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7349 public void MergeFrom(pb::CodedInputStream input) {
7350 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7351 input.ReadRawMessage(
this);
7354 while ((tag = input.ReadTag()) != 0) {
7355 if ((tag & 7) == 4) {
7361 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7365 vars_.AddEntriesFrom(input, _repeated_vars_codec);
7369 Offset = input.ReadDouble();
7378 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
7383 domain_.AddEntriesFrom(input, _repeated_domain_codec);
7387 ScalingWasExact = input.ReadBool();
7391 IntegerBeforeOffset = input.ReadInt64();
7395 IntegerScalingFactor = input.ReadInt64();
7399 IntegerAfterOffset = input.ReadInt64();
7407 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7408 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7409 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7410 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7412 while ((tag = input.ReadTag()) != 0) {
7413 if ((tag & 7) == 4) {
7419 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7423 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
7427 Offset = input.ReadDouble();
7431 ScalingFactor = input.ReadDouble();
7436 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
7441 domain_.AddEntriesFrom(ref input, _repeated_domain_codec);
7445 ScalingWasExact = input.ReadBool();
7449 IntegerBeforeOffset = input.ReadInt64();
7453 IntegerScalingFactor = input.ReadInt64();
7457 IntegerAfterOffset = input.ReadInt64();
7471 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
7472 public sealed partial class FloatObjectiveProto : pb::IMessage<FloatObjectiveProto>
7473 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7474 , pb::IBufferMessage
7477 private static readonly pb::MessageParser<FloatObjectiveProto> _parser =
new pb::MessageParser<FloatObjectiveProto>(() =>
new FloatObjectiveProto());
7478 private pb::UnknownFieldSet _unknownFields;
7479 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7480 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7481 public static pb::MessageParser<FloatObjectiveProto> Parser {
get {
return _parser; } }
7483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7484 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7485 public static pbr::MessageDescriptor Descriptor {
7486 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[20]; }
7489 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7490 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7491 pbr::MessageDescriptor pb::IMessage.Descriptor {
7492 get {
return Descriptor; }
7495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7496 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7497 public FloatObjectiveProto() {
7501 partial
void OnConstruction();
7503 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7504 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7506 vars_ = other.vars_.Clone();
7507 coeffs_ = other.coeffs_.Clone();
7508 offset_ = other.offset_;
7509 maximize_ = other.maximize_;
7510 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7513 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7514 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7521 private static readonly pb::FieldCodec<int> _repeated_vars_codec
7522 = pb::FieldCodec.ForInt32(10);
7523 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
7524 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7525 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7526 public pbc::RepeatedField<int>
Vars {
7527 get {
return vars_; }
7532 private static readonly pb::FieldCodec<double> _repeated_coeffs_codec
7533 = pb::FieldCodec.ForDouble(18);
7534 private readonly pbc::RepeatedField<double> coeffs_ =
new pbc::RepeatedField<double>();
7535 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7536 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7537 public pbc::RepeatedField<double>
Coeffs {
7538 get {
return coeffs_; }
7542 public const int OffsetFieldNumber = 3;
7543 private double offset_;
7544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7545 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7546 public double Offset {
7547 get {
return offset_; }
7555 private bool maximize_;
7559 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7560 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7562 get {
return maximize_; }
7568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7569 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7574 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7575 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7577 if (ReferenceEquals(other,
null)) {
7580 if (ReferenceEquals(other,
this)) {
7583 if(!vars_.Equals(other.vars_))
return false;
7584 if(!coeffs_.Equals(other.coeffs_))
return false;
7585 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Offset, other.Offset))
return false;
7586 if (Maximize != other.Maximize)
return false;
7587 return Equals(_unknownFields, other._unknownFields);
7590 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7591 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7592 public override int GetHashCode() {
7594 hash ^= vars_.GetHashCode();
7595 hash ^= coeffs_.GetHashCode();
7596 if (
Offset != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
Offset);
7598 if (_unknownFields !=
null) {
7599 hash ^= _unknownFields.GetHashCode();
7604 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7605 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7606 public override string ToString() {
7607 return pb::JsonFormatter.ToDiagnosticString(
this);
7610 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7611 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7612 public void WriteTo(pb::CodedOutputStream output) {
7613 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7614 output.WriteRawMessage(
this);
7616 vars_.WriteTo(output, _repeated_vars_codec);
7617 coeffs_.WriteTo(output, _repeated_coeffs_codec);
7619 output.WriteRawTag(25);
7620 output.WriteDouble(
Offset);
7623 output.WriteRawTag(32);
7626 if (_unknownFields !=
null) {
7627 _unknownFields.WriteTo(output);
7632 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7633 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7634 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7635 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7636 vars_.WriteTo(ref output, _repeated_vars_codec);
7637 coeffs_.WriteTo(ref output, _repeated_coeffs_codec);
7639 output.WriteRawTag(25);
7640 output.WriteDouble(
Offset);
7642 if (Maximize !=
false) {
7643 output.WriteRawTag(32);
7644 output.WriteBool(Maximize);
7646 if (_unknownFields !=
null) {
7647 _unknownFields.WriteTo(ref output);
7652 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7653 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7654 public int CalculateSize() {
7656 size += vars_.CalculateSize(_repeated_vars_codec);
7657 size += coeffs_.CalculateSize(_repeated_coeffs_codec);
7661 if (Maximize !=
false) {
7664 if (_unknownFields !=
null) {
7665 size += _unknownFields.CalculateSize();
7670 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7671 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7672 public void MergeFrom(FloatObjectiveProto other) {
7673 if (other ==
null) {
7676 vars_.Add(other.vars_);
7677 coeffs_.Add(other.coeffs_);
7678 if (other.Offset != 0D) {
7679 Offset = other.Offset;
7681 if (other.Maximize !=
false) {
7682 Maximize = other.Maximize;
7684 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7687 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7688 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7689 public void MergeFrom(pb::CodedInputStream input) {
7690 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7691 input.ReadRawMessage(
this);
7694 while ((tag = input.ReadTag()) != 0) {
7695 if ((tag & 7) == 4) {
7701 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7705 vars_.AddEntriesFrom(input, _repeated_vars_codec);
7710 coeffs_.AddEntriesFrom(input, _repeated_coeffs_codec);
7714 Offset = input.ReadDouble();
7718 Maximize = input.ReadBool();
7726 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7727 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7728 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7729 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7731 while ((tag = input.ReadTag()) != 0) {
7732 if ((tag & 7) == 4) {
7738 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7742 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
7747 coeffs_.AddEntriesFrom(ref input, _repeated_coeffs_codec);
7751 Offset = input.ReadDouble();
7755 Maximize = input.ReadBool();
7769 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
7770 public sealed partial class DecisionStrategyProto : pb::IMessage<DecisionStrategyProto>
7771 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7772 , pb::IBufferMessage
7775 private static readonly pb::MessageParser<DecisionStrategyProto> _parser =
new pb::MessageParser<DecisionStrategyProto>(() =>
new DecisionStrategyProto());
7776 private pb::UnknownFieldSet _unknownFields;
7777 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7778 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7779 public static pb::MessageParser<DecisionStrategyProto> Parser {
get {
return _parser; } }
7781 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7782 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7783 public static pbr::MessageDescriptor Descriptor {
7784 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[21]; }
7787 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7788 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7789 pbr::MessageDescriptor pb::IMessage.Descriptor {
7790 get {
return Descriptor; }
7793 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7794 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7795 public DecisionStrategyProto() {
7799 partial
void OnConstruction();
7801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7802 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7804 variables_ = other.variables_.Clone();
7805 exprs_ = other.exprs_.Clone();
7806 variableSelectionStrategy_ = other.variableSelectionStrategy_;
7807 domainReductionStrategy_ = other.domainReductionStrategy_;
7808 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7811 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7812 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7819 private static readonly pb::FieldCodec<int> _repeated_variables_codec
7820 = pb::FieldCodec.ForInt32(10);
7821 private readonly pbc::RepeatedField<int> variables_ =
new pbc::RepeatedField<int>();
7827 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7828 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7829 public pbc::RepeatedField<int>
Variables {
7830 get {
return variables_; }
7834 public const int ExprsFieldNumber = 5;
7835 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.LinearExpressionProto> _repeated_exprs_codec
7837 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto> exprs_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>();
7846 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7847 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7848 public pbc::RepeatedField<global::Google.OrTools.Sat.LinearExpressionProto>
Exprs {
7849 get {
return exprs_; }
7854 private global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy variableSelectionStrategy_ = global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst;
7855 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7856 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7858 get {
return variableSelectionStrategy_; }
7860 variableSelectionStrategy_ = value;
7865 public const int DomainReductionStrategyFieldNumber = 3;
7866 private global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy domainReductionStrategy_ = global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue;
7867 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7868 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7869 public global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy
DomainReductionStrategy {
7870 get {
return domainReductionStrategy_; }
7872 domainReductionStrategy_ = value;
7876 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7877 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7878 public override bool Equals(
object other) {
7882 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7883 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7885 if (ReferenceEquals(other,
null)) {
7888 if (ReferenceEquals(other,
this)) {
7891 if(!variables_.Equals(other.variables_))
return false;
7892 if(!exprs_.Equals(other.exprs_))
return false;
7895 return Equals(_unknownFields, other._unknownFields);
7898 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7899 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7902 hash ^= variables_.GetHashCode();
7903 hash ^= exprs_.GetHashCode();
7906 if (_unknownFields !=
null) {
7907 hash ^= _unknownFields.GetHashCode();
7912 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7913 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7914 public override string ToString() {
7915 return pb::JsonFormatter.ToDiagnosticString(
this);
7918 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7919 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7920 public void WriteTo(pb::CodedOutputStream output) {
7921 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7922 output.WriteRawMessage(
this);
7924 variables_.WriteTo(output, _repeated_variables_codec);
7926 output.WriteRawTag(16);
7930 output.WriteRawTag(24);
7933 exprs_.WriteTo(output, _repeated_exprs_codec);
7934 if (_unknownFields !=
null) {
7935 _unknownFields.WriteTo(output);
7940 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7941 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7942 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7943 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7944 variables_.WriteTo(ref output, _repeated_variables_codec);
7946 output.WriteRawTag(16);
7947 output.WriteEnum((
int) VariableSelectionStrategy);
7950 output.WriteRawTag(24);
7951 output.WriteEnum((
int) DomainReductionStrategy);
7953 exprs_.WriteTo(ref output, _repeated_exprs_codec);
7954 if (_unknownFields !=
null) {
7955 _unknownFields.WriteTo(ref output);
7960 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7961 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7962 public int CalculateSize() {
7964 size += variables_.CalculateSize(_repeated_variables_codec);
7965 size += exprs_.CalculateSize(_repeated_exprs_codec);
7967 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) VariableSelectionStrategy);
7970 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) DomainReductionStrategy);
7972 if (_unknownFields !=
null) {
7973 size += _unknownFields.CalculateSize();
7978 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7979 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7980 public void MergeFrom(DecisionStrategyProto other) {
7981 if (other ==
null) {
7984 variables_.Add(other.variables_);
7985 exprs_.Add(other.exprs_);
7986 if (other.VariableSelectionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy.ChooseFirst) {
7987 VariableSelectionStrategy = other.VariableSelectionStrategy;
7989 if (other.DomainReductionStrategy != global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy.SelectMinValue) {
7990 DomainReductionStrategy = other.DomainReductionStrategy;
7992 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7995 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7996 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
7997 public void MergeFrom(pb::CodedInputStream input) {
7998 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7999 input.ReadRawMessage(
this);
8002 while ((tag = input.ReadTag()) != 0) {
8003 if ((tag & 7) == 4) {
8009 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8013 variables_.AddEntriesFrom(input, _repeated_variables_codec);
8017 VariableSelectionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy) input.ReadEnum();
8021 DomainReductionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) input.ReadEnum();
8025 exprs_.AddEntriesFrom(input, _repeated_exprs_codec);
8033 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8034 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8035 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8036 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8038 while ((tag = input.ReadTag()) != 0) {
8039 if ((tag & 7) == 4) {
8045 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8049 variables_.AddEntriesFrom(ref input, _repeated_variables_codec);
8053 VariableSelectionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.VariableSelectionStrategy) input.ReadEnum();
8057 DomainReductionStrategy = (global::Google.OrTools.Sat.DecisionStrategyProto.Types.DomainReductionStrategy) input.ReadEnum();
8061 exprs_.AddEntriesFrom(ref input, _repeated_exprs_codec);
8069 #region Nested types
8071 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8072 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8073 public static partial class Types {
8081 public enum VariableSelectionStrategy {
8082 [pbr::OriginalName(
"CHOOSE_FIRST")] ChooseFirst = 0,
8083 [pbr::OriginalName(
"CHOOSE_LOWEST_MIN")] ChooseLowestMin = 1,
8084 [pbr::OriginalName(
"CHOOSE_HIGHEST_MAX")] ChooseHighestMax = 2,
8085 [pbr::OriginalName(
"CHOOSE_MIN_DOMAIN_SIZE")] ChooseMinDomainSize = 3,
8086 [pbr::OriginalName(
"CHOOSE_MAX_DOMAIN_SIZE")] ChooseMaxDomainSize = 4,
8095 public enum DomainReductionStrategy {
8096 [pbr::OriginalName(
"SELECT_MIN_VALUE")] SelectMinValue = 0,
8097 [pbr::OriginalName(
"SELECT_MAX_VALUE")] SelectMaxValue = 1,
8098 [pbr::OriginalName(
"SELECT_LOWER_HALF")] SelectLowerHalf = 2,
8099 [pbr::OriginalName(
"SELECT_UPPER_HALF")] SelectUpperHalf = 3,
8100 [pbr::OriginalName(
"SELECT_MEDIAN_VALUE")] SelectMedianValue = 4,
8101 [pbr::OriginalName(
"SELECT_RANDOM_HALF")] SelectRandomHalf = 5,
8114 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8116 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8117 , pb::IBufferMessage
8120 private static readonly pb::MessageParser<PartialVariableAssignment> _parser =
new pb::MessageParser<PartialVariableAssignment>(() =>
new PartialVariableAssignment());
8121 private pb::UnknownFieldSet _unknownFields;
8122 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8123 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8124 public static pb::MessageParser<PartialVariableAssignment>
Parser {
get {
return _parser; } }
8126 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8127 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8128 public static pbr::MessageDescriptor
Descriptor {
8129 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[22]; }
8132 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8133 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8134 pbr::MessageDescriptor pb::IMessage.Descriptor {
8138 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8139 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8144 partial
void OnConstruction();
8146 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8147 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8149 vars_ = other.vars_.Clone();
8150 values_ = other.values_.Clone();
8151 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8155 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8162 private static readonly pb::FieldCodec<int> _repeated_vars_codec
8163 = pb::FieldCodec.ForInt32(10);
8164 private readonly pbc::RepeatedField<int> vars_ =
new pbc::RepeatedField<int>();
8165 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8166 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8167 public pbc::RepeatedField<int>
Vars {
8168 get {
return vars_; }
8172 public const int ValuesFieldNumber = 2;
8173 private static readonly pb::FieldCodec<long> _repeated_values_codec
8174 = pb::FieldCodec.ForInt64(18);
8175 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
8176 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8177 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8178 public pbc::RepeatedField<long>
Values {
8179 get {
return values_; }
8182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8183 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8188 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8189 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8191 if (ReferenceEquals(other,
null)) {
8194 if (ReferenceEquals(other,
this)) {
8197 if(!vars_.Equals(other.vars_))
return false;
8198 if(!values_.Equals(other.values_))
return false;
8199 return Equals(_unknownFields, other._unknownFields);
8202 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8203 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8206 hash ^= vars_.GetHashCode();
8207 hash ^= values_.GetHashCode();
8208 if (_unknownFields !=
null) {
8209 hash ^= _unknownFields.GetHashCode();
8214 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8215 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8216 public override string ToString() {
8217 return pb::JsonFormatter.ToDiagnosticString(
this);
8220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8221 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8222 public void WriteTo(pb::CodedOutputStream output) {
8223 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8224 output.WriteRawMessage(
this);
8226 vars_.WriteTo(output, _repeated_vars_codec);
8227 values_.WriteTo(output, _repeated_values_codec);
8228 if (_unknownFields !=
null) {
8229 _unknownFields.WriteTo(output);
8234 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8235 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8236 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8237 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8238 vars_.WriteTo(ref output, _repeated_vars_codec);
8239 values_.WriteTo(ref output, _repeated_values_codec);
8240 if (_unknownFields !=
null) {
8241 _unknownFields.WriteTo(ref output);
8246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8247 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8248 public int CalculateSize() {
8250 size += vars_.CalculateSize(_repeated_vars_codec);
8251 size += values_.CalculateSize(_repeated_values_codec);
8252 if (_unknownFields !=
null) {
8253 size += _unknownFields.CalculateSize();
8258 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8259 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8261 if (other ==
null) {
8264 vars_.Add(other.vars_);
8265 values_.Add(other.values_);
8266 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8269 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8270 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8271 public void MergeFrom(pb::CodedInputStream input) {
8272 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8273 input.ReadRawMessage(
this);
8276 while ((tag = input.ReadTag()) != 0) {
8277 if ((tag & 7) == 4) {
8283 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8287 vars_.AddEntriesFrom(input, _repeated_vars_codec);
8292 values_.AddEntriesFrom(input, _repeated_values_codec);
8300 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8301 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8302 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8303 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8305 while ((tag = input.ReadTag()) != 0) {
8306 if ((tag & 7) == 4) {
8312 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8316 vars_.AddEntriesFrom(ref input, _repeated_vars_codec);
8321 values_.AddEntriesFrom(ref input, _repeated_values_codec);
8335 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8336 public sealed partial class SparsePermutationProto : pb::IMessage<SparsePermutationProto>
8337 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8338 , pb::IBufferMessage
8341 private static readonly pb::MessageParser<SparsePermutationProto> _parser =
new pb::MessageParser<SparsePermutationProto>(() =>
new SparsePermutationProto());
8342 private pb::UnknownFieldSet _unknownFields;
8343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8344 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8345 public static pb::MessageParser<SparsePermutationProto> Parser {
get {
return _parser; } }
8347 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8348 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8349 public static pbr::MessageDescriptor Descriptor {
8350 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[23]; }
8353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8354 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8355 pbr::MessageDescriptor pb::IMessage.Descriptor {
8356 get {
return Descriptor; }
8359 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8360 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8361 public SparsePermutationProto() {
8365 partial
void OnConstruction();
8367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8368 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8369 public SparsePermutationProto(SparsePermutationProto other) : this() {
8370 support_ = other.support_.Clone();
8371 cycleSizes_ = other.cycleSizes_.Clone();
8372 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8375 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8376 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8383 private static readonly pb::FieldCodec<int> _repeated_support_codec
8384 = pb::FieldCodec.ForInt32(10);
8385 private readonly pbc::RepeatedField<int> support_ =
new pbc::RepeatedField<int>();
8390 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8391 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8392 public pbc::RepeatedField<int>
Support {
8393 get {
return support_; }
8398 private static readonly pb::FieldCodec<int> _repeated_cycleSizes_codec
8399 = pb::FieldCodec.ForInt32(18);
8400 private readonly pbc::RepeatedField<int> cycleSizes_ =
new pbc::RepeatedField<int>();
8401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8402 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8404 get {
return cycleSizes_; }
8407 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8408 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8409 public override bool Equals(
object other) {
8413 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8414 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8416 if (ReferenceEquals(other,
null)) {
8419 if (ReferenceEquals(other,
this)) {
8422 if(!support_.Equals(other.support_))
return false;
8423 if(!cycleSizes_.Equals(other.cycleSizes_))
return false;
8424 return Equals(_unknownFields, other._unknownFields);
8427 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8428 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8431 hash ^= support_.GetHashCode();
8432 hash ^= cycleSizes_.GetHashCode();
8433 if (_unknownFields !=
null) {
8434 hash ^= _unknownFields.GetHashCode();
8439 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8440 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8441 public override string ToString() {
8442 return pb::JsonFormatter.ToDiagnosticString(
this);
8445 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8446 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8447 public void WriteTo(pb::CodedOutputStream output) {
8448 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8449 output.WriteRawMessage(
this);
8451 support_.WriteTo(output, _repeated_support_codec);
8452 cycleSizes_.WriteTo(output, _repeated_cycleSizes_codec);
8453 if (_unknownFields !=
null) {
8454 _unknownFields.WriteTo(output);
8459 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8460 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8461 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8462 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8463 support_.WriteTo(ref output, _repeated_support_codec);
8464 cycleSizes_.WriteTo(ref output, _repeated_cycleSizes_codec);
8465 if (_unknownFields !=
null) {
8466 _unknownFields.WriteTo(ref output);
8471 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8472 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8473 public int CalculateSize() {
8475 size += support_.CalculateSize(_repeated_support_codec);
8476 size += cycleSizes_.CalculateSize(_repeated_cycleSizes_codec);
8477 if (_unknownFields !=
null) {
8478 size += _unknownFields.CalculateSize();
8483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8484 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8486 if (other ==
null) {
8489 support_.Add(other.support_);
8490 cycleSizes_.Add(other.cycleSizes_);
8491 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8494 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8495 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8496 public void MergeFrom(pb::CodedInputStream input) {
8497 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8498 input.ReadRawMessage(
this);
8501 while ((tag = input.ReadTag()) != 0) {
8502 if ((tag & 7) == 4) {
8508 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8512 support_.AddEntriesFrom(input, _repeated_support_codec);
8517 cycleSizes_.AddEntriesFrom(input, _repeated_cycleSizes_codec);
8525 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8526 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8527 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8528 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8530 while ((tag = input.ReadTag()) != 0) {
8531 if ((tag & 7) == 4) {
8537 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8541 support_.AddEntriesFrom(ref input, _repeated_support_codec);
8546 cycleSizes_.AddEntriesFrom(ref input, _repeated_cycleSizes_codec);
8560 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8561 public sealed partial class DenseMatrixProto : pb::IMessage<DenseMatrixProto>
8562 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8563 , pb::IBufferMessage
8566 private static readonly pb::MessageParser<DenseMatrixProto> _parser =
new pb::MessageParser<DenseMatrixProto>(() =>
new DenseMatrixProto());
8567 private pb::UnknownFieldSet _unknownFields;
8568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8569 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8570 public static pb::MessageParser<DenseMatrixProto> Parser {
get {
return _parser; } }
8572 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8573 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8574 public static pbr::MessageDescriptor Descriptor {
8575 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[24]; }
8578 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8579 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8580 pbr::MessageDescriptor pb::IMessage.Descriptor {
8581 get {
return Descriptor; }
8584 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8585 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8586 public DenseMatrixProto() {
8590 partial
void OnConstruction();
8592 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8593 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8594 public DenseMatrixProto(DenseMatrixProto other) : this() {
8595 numRows_ = other.numRows_;
8596 numCols_ = other.numCols_;
8597 entries_ = other.entries_.Clone();
8598 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8601 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8602 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8609 private int numRows_;
8610 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8611 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8613 get {
return numRows_; }
8620 public const int NumColsFieldNumber = 2;
8621 private int numCols_;
8622 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8623 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8625 get {
return numCols_; }
8633 private static readonly pb::FieldCodec<int> _repeated_entries_codec
8634 = pb::FieldCodec.ForInt32(26);
8635 private readonly pbc::RepeatedField<int> entries_ =
new pbc::RepeatedField<int>();
8636 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8637 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8638 public pbc::RepeatedField<int>
Entries {
8639 get {
return entries_; }
8642 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8643 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8648 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8649 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8651 if (ReferenceEquals(other,
null)) {
8654 if (ReferenceEquals(other,
this)) {
8657 if (NumRows != other.NumRows)
return false;
8658 if (NumCols != other.NumCols)
return false;
8659 if(!entries_.Equals(other.entries_))
return false;
8660 return Equals(_unknownFields, other._unknownFields);
8663 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8664 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8665 public override int GetHashCode() {
8667 if (NumRows != 0) hash ^= NumRows.GetHashCode();
8669 hash ^= entries_.GetHashCode();
8670 if (_unknownFields !=
null) {
8671 hash ^= _unknownFields.GetHashCode();
8676 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8677 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8678 public override string ToString() {
8679 return pb::JsonFormatter.ToDiagnosticString(
this);
8682 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8683 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8684 public void WriteTo(pb::CodedOutputStream output) {
8685 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8686 output.WriteRawMessage(
this);
8689 output.WriteRawTag(8);
8693 output.WriteRawTag(16);
8694 output.WriteInt32(NumCols);
8696 entries_.WriteTo(output, _repeated_entries_codec);
8697 if (_unknownFields !=
null) {
8698 _unknownFields.WriteTo(output);
8703 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8704 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8705 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8706 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8708 output.WriteRawTag(8);
8709 output.WriteInt32(NumRows);
8712 output.WriteRawTag(16);
8713 output.WriteInt32(NumCols);
8715 entries_.WriteTo(ref output, _repeated_entries_codec);
8716 if (_unknownFields !=
null) {
8717 _unknownFields.WriteTo(ref output);
8722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8723 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8727 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
NumRows);
8730 size += 1 + pb::CodedOutputStream.ComputeInt32Size(
NumCols);
8732 size += entries_.CalculateSize(_repeated_entries_codec);
8733 if (_unknownFields !=
null) {
8734 size += _unknownFields.CalculateSize();
8739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8740 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8742 if (other ==
null) {
8745 if (other.NumRows != 0) {
8746 NumRows = other.NumRows;
8748 if (other.NumCols != 0) {
8749 NumCols = other.NumCols;
8751 entries_.Add(other.entries_);
8752 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8755 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8756 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8757 public void MergeFrom(pb::CodedInputStream input) {
8758 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8759 input.ReadRawMessage(
this);
8762 while ((tag = input.ReadTag()) != 0) {
8763 if ((tag & 7) == 4) {
8769 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8781 entries_.AddEntriesFrom(input, _repeated_entries_codec);
8789 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8790 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8791 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8792 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8794 while ((tag = input.ReadTag()) != 0) {
8795 if ((tag & 7) == 4) {
8801 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8813 entries_.AddEntriesFrom(ref input, _repeated_entries_codec);
8837 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
8838 public sealed partial class SymmetryProto : pb::IMessage<SymmetryProto>
8839 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8840 , pb::IBufferMessage
8843 private static readonly pb::MessageParser<SymmetryProto> _parser =
new pb::MessageParser<SymmetryProto>(() =>
new SymmetryProto());
8844 private pb::UnknownFieldSet _unknownFields;
8845 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8846 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8847 public static pb::MessageParser<SymmetryProto> Parser {
get {
return _parser; } }
8849 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8850 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8851 public static pbr::MessageDescriptor Descriptor {
8852 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[25]; }
8855 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8856 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8857 pbr::MessageDescriptor pb::IMessage.Descriptor {
8858 get {
return Descriptor; }
8861 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8862 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8863 public SymmetryProto() {
8867 partial
void OnConstruction();
8869 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8870 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8871 public SymmetryProto(SymmetryProto other) : this() {
8872 permutations_ = other.permutations_.Clone();
8873 orbitopes_ = other.orbitopes_.Clone();
8874 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8877 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8878 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8884 public const int PermutationsFieldNumber = 1;
8885 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.SparsePermutationProto> _repeated_permutations_codec
8887 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.SparsePermutationProto> permutations_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.SparsePermutationProto>();
8893 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8894 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8895 public pbc::RepeatedField<global::Google.OrTools.Sat.SparsePermutationProto>
Permutations {
8896 get { return permutations_; }
8900 public const int OrbitopesFieldNumber = 2;
8901 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.DenseMatrixProto> _repeated_orbitopes_codec
8903 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.DenseMatrixProto> orbitopes_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.DenseMatrixProto>();
8915 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8916 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8917 public pbc::RepeatedField<global::Google.OrTools.Sat.DenseMatrixProto>
Orbitopes {
8918 get { return orbitopes_; }
8921 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8922 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8927 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8928 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8930 if (ReferenceEquals(other,
null)) {
8933 if (ReferenceEquals(other,
this)) {
8936 if(!permutations_.Equals(other.permutations_))
return false;
8937 if(!orbitopes_.Equals(other.orbitopes_))
return false;
8938 return Equals(_unknownFields, other._unknownFields);
8941 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8942 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8943 public override int GetHashCode() {
8945 hash ^= permutations_.GetHashCode();
8946 hash ^= orbitopes_.GetHashCode();
8947 if (_unknownFields !=
null) {
8948 hash ^= _unknownFields.GetHashCode();
8953 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8954 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8955 public override string ToString() {
8956 return pb::JsonFormatter.ToDiagnosticString(
this);
8959 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8960 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8961 public void WriteTo(pb::CodedOutputStream output) {
8962 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8963 output.WriteRawMessage(
this);
8965 permutations_.WriteTo(output, _repeated_permutations_codec);
8966 orbitopes_.WriteTo(output, _repeated_orbitopes_codec);
8967 if (_unknownFields !=
null) {
8968 _unknownFields.WriteTo(output);
8973 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8974 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8975 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8976 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8977 permutations_.WriteTo(ref output, _repeated_permutations_codec);
8978 orbitopes_.WriteTo(ref output, _repeated_orbitopes_codec);
8979 if (_unknownFields !=
null) {
8980 _unknownFields.WriteTo(ref output);
8985 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8986 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
8989 size += permutations_.CalculateSize(_repeated_permutations_codec);
8990 size += orbitopes_.CalculateSize(_repeated_orbitopes_codec);
8991 if (_unknownFields !=
null) {
8992 size += _unknownFields.CalculateSize();
8997 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8998 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9000 if (other ==
null) {
9003 permutations_.Add(other.permutations_);
9004 orbitopes_.Add(other.orbitopes_);
9005 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9008 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9009 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9010 public void MergeFrom(pb::CodedInputStream input) {
9011 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9012 input.ReadRawMessage(
this);
9015 while ((tag = input.ReadTag()) != 0) {
9016 if ((tag & 7) == 4) {
9022 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
9025 permutations_.AddEntriesFrom(input, _repeated_permutations_codec);
9029 orbitopes_.AddEntriesFrom(input, _repeated_orbitopes_codec);
9037 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9038 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9039 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9040 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
9042 while ((tag = input.ReadTag()) != 0) {
9043 if ((tag & 7) == 4) {
9049 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
9052 permutations_.AddEntriesFrom(ref input, _repeated_permutations_codec);
9056 orbitopes_.AddEntriesFrom(ref input, _repeated_orbitopes_codec);
9069 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
9070 public sealed partial
class CpModelProto : pb::IMessage<CpModelProto>
9071 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9072 , pb::IBufferMessage
9075 private static readonly pb::MessageParser<CpModelProto> _parser =
new pb::MessageParser<CpModelProto>(() =>
new CpModelProto());
9076 private pb::UnknownFieldSet _unknownFields;
9077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9078 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9079 public static pb::MessageParser<CpModelProto> Parser {
get {
return _parser; } }
9081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9082 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9083 public static pbr::MessageDescriptor Descriptor {
9084 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[26]; }
9087 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9088 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9089 pbr::MessageDescriptor pb::IMessage.Descriptor {
9090 get {
return Descriptor; }
9093 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9094 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9095 public CpModelProto() {
9099 partial
void OnConstruction();
9101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9102 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9103 public CpModelProto(CpModelProto other) : this() {
9104 name_ = other.name_;
9105 variables_ = other.variables_.Clone();
9106 constraints_ = other.constraints_.Clone();
9107 objective_ = other.objective_ !=
null ? other.objective_.Clone() :
null;
9108 floatingPointObjective_ = other.floatingPointObjective_ !=
null ? other.floatingPointObjective_.Clone() :
null;
9109 searchStrategy_ = other.searchStrategy_.Clone();
9110 solutionHint_ = other.solutionHint_ !=
null ? other.solutionHint_.Clone() :
null;
9111 assumptions_ = other.assumptions_.Clone();
9112 symmetry_ = other.symmetry_ !=
null ? other.symmetry_.Clone() :
null;
9113 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9116 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9117 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9124 private string name_ =
"";
9128 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9129 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9130 public string Name {
9131 get {
return name_; }
9133 name_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
9138 public const int VariablesFieldNumber = 2;
9139 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.IntegerVariableProto> _repeated_variables_codec
9141 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> variables_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>();
9145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9146 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9147 public pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>
Variables {
9148 get { return variables_; }
9152 public const int ConstraintsFieldNumber = 3;
9153 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.ConstraintProto> _repeated_constraints_codec
9155 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto> constraints_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto>();
9156 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9157 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9158 public pbc::RepeatedField<global::Google.OrTools.Sat.ConstraintProto>
Constraints {
9159 get { return constraints_; }
9164 private global::Google.OrTools.Sat.CpObjectiveProto objective_;
9168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9169 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9171 get { return objective_; }
9179 private global::Google.OrTools.Sat.FloatObjectiveProto floatingPointObjective_;
9195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9196 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9198 get { return floatingPointObjective_; }
9200 floatingPointObjective_ = value;
9206 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.DecisionStrategyProto> _repeated_searchStrategy_codec
9208 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto> searchStrategy_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto>();
9220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9221 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9222 public pbc::RepeatedField<global::Google.OrTools.Sat.DecisionStrategyProto>
SearchStrategy {
9223 get { return searchStrategy_; }
9227 public const int SolutionHintFieldNumber = 6;
9228 private global::Google.OrTools.Sat.PartialVariableAssignment solutionHint_;
9242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9243 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9245 get { return solutionHint_; }
9247 solutionHint_ = value;
9252 public const int AssumptionsFieldNumber = 7;
9253 private static readonly pb::FieldCodec<int> _repeated_assumptions_codec
9254 = pb::FieldCodec.ForInt32(58);
9255 private readonly pbc::RepeatedField<int> assumptions_ =
new pbc::RepeatedField<int>();
9271 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9272 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9274 get {
return assumptions_; }
9278 public const int SymmetryFieldNumber = 8;
9279 private global::Google.OrTools.Sat.SymmetryProto symmetry_;
9287 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9288 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9289 public global::Google.OrTools.Sat.SymmetryProto
Symmetry {
9290 get {
return symmetry_; }
9296 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9297 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9298 public override bool Equals(
object other) {
9302 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9303 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9305 if (ReferenceEquals(other,
null)) {
9308 if (ReferenceEquals(other,
this)) {
9311 if (Name != other.
Name)
return false;
9312 if(!variables_.Equals(other.variables_))
return false;
9313 if(!constraints_.Equals(other.constraints_))
return false;
9314 if (!
object.Equals(Objective, other.
Objective))
return false;
9316 if(!searchStrategy_.Equals(other.searchStrategy_))
return false;
9317 if (!
object.Equals(SolutionHint, other.
SolutionHint))
return false;
9318 if(!assumptions_.Equals(other.assumptions_))
return false;
9319 if (!
object.Equals(Symmetry, other.
Symmetry))
return false;
9320 return Equals(_unknownFields, other._unknownFields);
9323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9324 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9327 if (
Name.Length != 0) hash ^=
Name.GetHashCode();
9328 hash ^= variables_.GetHashCode();
9329 hash ^= constraints_.GetHashCode();
9330 if (objective_ !=
null) hash ^=
Objective.GetHashCode();
9332 hash ^= searchStrategy_.GetHashCode();
9333 if (solutionHint_ !=
null) hash ^=
SolutionHint.GetHashCode();
9334 hash ^= assumptions_.GetHashCode();
9335 if (symmetry_ !=
null) hash ^=
Symmetry.GetHashCode();
9336 if (_unknownFields !=
null) {
9337 hash ^= _unknownFields.GetHashCode();
9342 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9343 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9344 public override string ToString() {
9345 return pb::JsonFormatter.ToDiagnosticString(
this);
9348 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9349 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9350 public void WriteTo(pb::CodedOutputStream output) {
9351 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9352 output.WriteRawMessage(
this);
9354 if (
Name.Length != 0) {
9355 output.WriteRawTag(10);
9356 output.WriteString(
Name);
9358 variables_.WriteTo(output, _repeated_variables_codec);
9359 constraints_.WriteTo(output, _repeated_constraints_codec);
9360 if (objective_ !=
null) {
9361 output.WriteRawTag(34);
9362 output.WriteMessage(Objective);
9364 searchStrategy_.WriteTo(output, _repeated_searchStrategy_codec);
9365 if (solutionHint_ !=
null) {
9366 output.WriteRawTag(50);
9367 output.WriteMessage(SolutionHint);
9369 assumptions_.WriteTo(output, _repeated_assumptions_codec);
9370 if (symmetry_ !=
null) {
9371 output.WriteRawTag(66);
9372 output.WriteMessage(Symmetry);
9374 if (floatingPointObjective_ !=
null) {
9375 output.WriteRawTag(74);
9376 output.WriteMessage(FloatingPointObjective);
9378 if (_unknownFields !=
null) {
9379 _unknownFields.WriteTo(output);
9384 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9385 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9386 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9387 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
9388 if (Name.Length != 0) {
9389 output.WriteRawTag(10);
9390 output.WriteString(Name);
9392 variables_.WriteTo(ref output, _repeated_variables_codec);
9393 constraints_.WriteTo(ref output, _repeated_constraints_codec);
9394 if (objective_ !=
null) {
9395 output.WriteRawTag(34);
9398 searchStrategy_.WriteTo(ref output, _repeated_searchStrategy_codec);
9399 if (solutionHint_ !=
null) {
9400 output.WriteRawTag(50);
9403 assumptions_.WriteTo(ref output, _repeated_assumptions_codec);
9404 if (symmetry_ !=
null) {
9405 output.WriteRawTag(66);
9406 output.WriteMessage(Symmetry);
9408 if (floatingPointObjective_ !=
null) {
9409 output.WriteRawTag(74);
9410 output.WriteMessage(FloatingPointObjective);
9412 if (_unknownFields !=
null) {
9413 _unknownFields.WriteTo(ref output);
9418 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9419 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9420 public int CalculateSize() {
9422 if (Name.Length != 0) {
9423 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
9425 size += variables_.CalculateSize(_repeated_variables_codec);
9426 size += constraints_.CalculateSize(_repeated_constraints_codec);
9427 if (objective_ !=
null) {
9428 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Objective);
9430 if (floatingPointObjective_ !=
null) {
9431 size += 1 + pb::CodedOutputStream.ComputeMessageSize(FloatingPointObjective);
9433 size += searchStrategy_.CalculateSize(_repeated_searchStrategy_codec);
9434 if (solutionHint_ !=
null) {
9435 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SolutionHint);
9437 size += assumptions_.CalculateSize(_repeated_assumptions_codec);
9438 if (symmetry_ !=
null) {
9439 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Symmetry);
9441 if (_unknownFields !=
null) {
9442 size += _unknownFields.CalculateSize();
9447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9448 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9449 public void MergeFrom(CpModelProto other) {
9450 if (other ==
null) {
9453 if (other.Name.Length != 0) {
9456 variables_.Add(other.variables_);
9457 constraints_.Add(other.constraints_);
9458 if (other.objective_ !=
null) {
9459 if (objective_ ==
null) {
9460 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
9462 Objective.MergeFrom(other.Objective);
9464 if (other.floatingPointObjective_ !=
null) {
9465 if (floatingPointObjective_ ==
null) {
9466 FloatingPointObjective =
new global::Google.OrTools.Sat.FloatObjectiveProto();
9470 searchStrategy_.Add(other.searchStrategy_);
9471 if (other.solutionHint_ !=
null) {
9472 if (solutionHint_ ==
null) {
9473 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
9475 SolutionHint.MergeFrom(other.SolutionHint);
9477 assumptions_.Add(other.assumptions_);
9478 if (other.symmetry_ !=
null) {
9479 if (symmetry_ ==
null) {
9480 Symmetry =
new global::Google.OrTools.Sat.SymmetryProto();
9482 Symmetry.MergeFrom(other.Symmetry);
9484 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9487 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9488 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9489 public void MergeFrom(pb::CodedInputStream input) {
9490 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9491 input.ReadRawMessage(
this);
9494 while ((tag = input.ReadTag()) != 0) {
9495 if ((tag & 7) == 4) {
9501 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
9504 Name = input.ReadString();
9508 variables_.AddEntriesFrom(input, _repeated_variables_codec);
9512 constraints_.AddEntriesFrom(input, _repeated_constraints_codec);
9516 if (objective_ ==
null) {
9517 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
9519 input.ReadMessage(Objective);
9523 searchStrategy_.AddEntriesFrom(input, _repeated_searchStrategy_codec);
9527 if (solutionHint_ ==
null) {
9528 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
9530 input.ReadMessage(SolutionHint);
9535 assumptions_.AddEntriesFrom(input, _repeated_assumptions_codec);
9539 if (symmetry_ ==
null) {
9540 Symmetry =
new global::Google.OrTools.Sat.SymmetryProto();
9542 input.ReadMessage(Symmetry);
9546 if (floatingPointObjective_ ==
null) {
9547 FloatingPointObjective =
new global::Google.OrTools.Sat.FloatObjectiveProto();
9549 input.ReadMessage(FloatingPointObjective);
9557 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9559 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9560 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
9562 while ((tag = input.ReadTag()) != 0) {
9563 if ((tag & 7) == 4) {
9569 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
9572 Name = input.ReadString();
9576 variables_.AddEntriesFrom(ref input, _repeated_variables_codec);
9580 constraints_.AddEntriesFrom(ref input, _repeated_constraints_codec);
9584 if (objective_ ==
null) {
9585 Objective =
new global::Google.OrTools.Sat.CpObjectiveProto();
9587 input.ReadMessage(Objective);
9591 searchStrategy_.AddEntriesFrom(ref input, _repeated_searchStrategy_codec);
9595 if (solutionHint_ ==
null) {
9596 SolutionHint =
new global::Google.OrTools.Sat.PartialVariableAssignment();
9598 input.ReadMessage(SolutionHint);
9603 assumptions_.AddEntriesFrom(ref input, _repeated_assumptions_codec);
9607 if (symmetry_ ==
null) {
9608 Symmetry =
new global::Google.OrTools.Sat.SymmetryProto();
9610 input.ReadMessage(Symmetry);
9614 if (floatingPointObjective_ ==
null) {
9615 FloatingPointObjective =
new global::Google.OrTools.Sat.FloatObjectiveProto();
9617 input.ReadMessage(FloatingPointObjective);
9631 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
9632 public sealed partial class CpSolverSolution : pb::IMessage<CpSolverSolution>
9633 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9634 , pb::IBufferMessage
9637 private static readonly pb::MessageParser<CpSolverSolution> _parser =
new pb::MessageParser<CpSolverSolution>(() =>
new CpSolverSolution());
9638 private pb::UnknownFieldSet _unknownFields;
9639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9640 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9641 public static pb::MessageParser<CpSolverSolution> Parser {
get {
return _parser; } }
9643 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9644 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9645 public static pbr::MessageDescriptor Descriptor {
9646 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[27]; }
9649 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9650 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9651 pbr::MessageDescriptor pb::IMessage.Descriptor {
9652 get {
return Descriptor; }
9655 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9656 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9657 public CpSolverSolution() {
9661 partial
void OnConstruction();
9663 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9664 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9665 public CpSolverSolution(CpSolverSolution other) : this() {
9666 values_ = other.values_.Clone();
9667 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9670 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9671 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9672 public CpSolverSolution Clone() {
9673 return new CpSolverSolution(
this);
9677 public const int ValuesFieldNumber = 1;
9678 private static readonly pb::FieldCodec<long> _repeated_values_codec
9679 = pb::FieldCodec.ForInt64(10);
9680 private readonly pbc::RepeatedField<long> values_ =
new pbc::RepeatedField<long>();
9681 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9682 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9683 public pbc::RepeatedField<long>
Values {
9684 get {
return values_; }
9687 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9688 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9693 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9694 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9696 if (ReferenceEquals(other,
null)) {
9699 if (ReferenceEquals(other,
this)) {
9702 if(!values_.Equals(other.values_))
return false;
9703 return Equals(_unknownFields, other._unknownFields);
9706 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9707 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9710 hash ^= values_.GetHashCode();
9711 if (_unknownFields !=
null) {
9712 hash ^= _unknownFields.GetHashCode();
9717 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9718 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9719 public override string ToString() {
9720 return pb::JsonFormatter.ToDiagnosticString(
this);
9723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9724 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9725 public void WriteTo(pb::CodedOutputStream output) {
9726 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9727 output.WriteRawMessage(
this);
9729 values_.WriteTo(output, _repeated_values_codec);
9730 if (_unknownFields !=
null) {
9731 _unknownFields.WriteTo(output);
9736 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9737 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9738 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9739 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
9740 values_.WriteTo(ref output, _repeated_values_codec);
9741 if (_unknownFields !=
null) {
9742 _unknownFields.WriteTo(ref output);
9747 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9748 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9749 public int CalculateSize() {
9751 size += values_.CalculateSize(_repeated_values_codec);
9752 if (_unknownFields !=
null) {
9753 size += _unknownFields.CalculateSize();
9758 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9759 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9761 if (other ==
null) {
9764 values_.Add(other.values_);
9765 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9768 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9769 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9770 public void MergeFrom(pb::CodedInputStream input) {
9771 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9772 input.ReadRawMessage(
this);
9775 while ((tag = input.ReadTag()) != 0) {
9776 if ((tag & 7) == 4) {
9782 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
9786 values_.AddEntriesFrom(input, _repeated_values_codec);
9794 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9795 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9796 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9797 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
9799 while ((tag = input.ReadTag()) != 0) {
9800 if ((tag & 7) == 4) {
9806 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
9810 values_.AddEntriesFrom(ref input, _repeated_values_codec);
9825 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
9826 public sealed partial class CpSolverResponse : pb::IMessage<CpSolverResponse>
9827 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9828 , pb::IBufferMessage
9831 private static readonly pb::MessageParser<CpSolverResponse> _parser =
new pb::MessageParser<CpSolverResponse>(() =>
new CpSolverResponse());
9832 private pb::UnknownFieldSet _unknownFields;
9833 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9834 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9835 public static pb::MessageParser<CpSolverResponse> Parser {
get {
return _parser; } }
9837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9838 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9839 public static pbr::MessageDescriptor Descriptor {
9840 get {
return global::Google.OrTools.Sat.CpModelReflection.Descriptor.MessageTypes[28]; }
9843 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9844 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9845 pbr::MessageDescriptor pb::IMessage.Descriptor {
9846 get {
return Descriptor; }
9849 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9850 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9851 public CpSolverResponse() {
9855 partial
void OnConstruction();
9857 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9858 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9859 public CpSolverResponse(CpSolverResponse other) : this() {
9860 status_ = other.status_;
9861 solution_ = other.solution_.Clone();
9862 objectiveValue_ = other.objectiveValue_;
9863 bestObjectiveBound_ = other.bestObjectiveBound_;
9864 additionalSolutions_ = other.additionalSolutions_.Clone();
9865 tightenedVariables_ = other.tightenedVariables_.Clone();
9866 sufficientAssumptionsForInfeasibility_ = other.sufficientAssumptionsForInfeasibility_.Clone();
9867 integerObjective_ = other.integerObjective_ !=
null ? other.integerObjective_.Clone() :
null;
9868 innerObjectiveLowerBound_ = other.innerObjectiveLowerBound_;
9869 numIntegers_ = other.numIntegers_;
9870 numBooleans_ = other.numBooleans_;
9871 numFixedBooleans_ = other.numFixedBooleans_;
9872 numConflicts_ = other.numConflicts_;
9873 numBranches_ = other.numBranches_;
9874 numBinaryPropagations_ = other.numBinaryPropagations_;
9875 numIntegerPropagations_ = other.numIntegerPropagations_;
9876 numRestarts_ = other.numRestarts_;
9877 numLpIterations_ = other.numLpIterations_;
9878 wallTime_ = other.wallTime_;
9879 userTime_ = other.userTime_;
9880 deterministicTime_ = other.deterministicTime_;
9881 gapIntegral_ = other.gapIntegral_;
9882 solutionInfo_ = other.solutionInfo_;
9883 solveLog_ = other.solveLog_;
9884 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9887 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9888 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9894 public const int StatusFieldNumber = 1;
9895 private global::Google.OrTools.Sat.CpSolverStatus status_ = global::Google.OrTools.Sat.CpSolverStatus.Unknown;
9899 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9900 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9902 get { return status_; }
9910 private static readonly pb::FieldCodec<long> _repeated_solution_codec
9911 = pb::FieldCodec.ForInt64(18);
9912 private readonly pbc::RepeatedField<long> solution_ =
new pbc::RepeatedField<long>();
9919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9920 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9921 public pbc::RepeatedField<long>
Solution {
9922 get {
return solution_; }
9926 public const int ObjectiveValueFieldNumber = 3;
9927 private double objectiveValue_;
9934 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9935 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9936 public double ObjectiveValue {
9937 get {
return objectiveValue_; }
9939 objectiveValue_ = value;
9945 private double bestObjectiveBound_;
9951 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9952 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9954 get {
return bestObjectiveBound_; }
9956 bestObjectiveBound_ = value;
9961 public const int AdditionalSolutionsFieldNumber = 27;
9962 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.CpSolverSolution> _repeated_additionalSolutions_codec
9964 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.CpSolverSolution> additionalSolutions_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.CpSolverSolution>();
9973 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9974 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
9976 get {
return additionalSolutions_; }
9980 public const int TightenedVariablesFieldNumber = 21;
9981 private static readonly pb::FieldCodec<global::Google.OrTools.Sat.IntegerVariableProto> _repeated_tightenedVariables_codec
9983 private readonly pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto> tightenedVariables_ =
new pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>();
10002 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10003 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10004 public pbc::RepeatedField<global::Google.OrTools.Sat.IntegerVariableProto>
TightenedVariables {
10005 get {
return tightenedVariables_; }
10009 public const int SufficientAssumptionsForInfeasibilityFieldNumber = 23;
10010 private static readonly pb::FieldCodec<int> _repeated_sufficientAssumptionsForInfeasibility_codec
10011 = pb::FieldCodec.ForInt32(186);
10012 private readonly pbc::RepeatedField<int> sufficientAssumptionsForInfeasibility_ =
new pbc::RepeatedField<int>();
10034 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10035 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10037 get {
return sufficientAssumptionsForInfeasibility_; }
10041 public const int IntegerObjectiveFieldNumber = 28;
10042 private global::Google.OrTools.Sat.CpObjectiveProto integerObjective_;
10048 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10049 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10050 public global::Google.OrTools.Sat.CpObjectiveProto IntegerObjective {
10051 get {
return integerObjective_; }
10053 integerObjective_ = value;
10059 private long innerObjectiveLowerBound_;
10070 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10071 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10073 get {
return innerObjectiveLowerBound_; }
10075 innerObjectiveLowerBound_ = value;
10080 public const int NumIntegersFieldNumber = 30;
10081 private long numIntegers_;
10089 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10090 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10091 public long NumIntegers {
10092 get {
return numIntegers_; }
10094 numIntegers_ = value;
10100 private long numBooleans_;
10101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10102 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10104 get {
return numBooleans_; }
10106 numBooleans_ = value;
10111 public const int NumFixedBooleansFieldNumber = 31;
10112 private long numFixedBooleans_;
10113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10114 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10116 get {
return numFixedBooleans_; }
10118 numFixedBooleans_ = value;
10123 public const int NumConflictsFieldNumber = 11;
10124 private long numConflicts_;
10125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10126 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10127 public long NumConflicts {
10128 get {
return numConflicts_; }
10130 numConflicts_ = value;
10135 public const int NumBranchesFieldNumber = 12;
10136 private long numBranches_;
10137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10138 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10140 get {
return numBranches_; }
10142 numBranches_ = value;
10147 public const int NumBinaryPropagationsFieldNumber = 13;
10148 private long numBinaryPropagations_;
10149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10150 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10152 get {
return numBinaryPropagations_; }
10154 numBinaryPropagations_ = value;
10160 private long numIntegerPropagations_;
10161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10162 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10164 get {
return numIntegerPropagations_; }
10166 numIntegerPropagations_ = value;
10172 private long numRestarts_;
10173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10174 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10176 get {
return numRestarts_; }
10178 numRestarts_ = value;
10184 private long numLpIterations_;
10185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10186 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10188 get {
return numLpIterations_; }
10190 numLpIterations_ = value;
10196 private double wallTime_;
10200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10201 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10203 get {
return wallTime_; }
10210 public const int UserTimeFieldNumber = 16;
10211 private double userTime_;
10212 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10213 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10215 get {
return userTime_; }
10222 public const int DeterministicTimeFieldNumber = 17;
10223 private double deterministicTime_;
10224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10225 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10227 get {
return deterministicTime_; }
10229 deterministicTime_ = value;
10234 public const int GapIntegralFieldNumber = 22;
10235 private double gapIntegral_;
10239 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10240 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10242 get {
return gapIntegral_; }
10244 gapIntegral_ = value;
10250 private string solutionInfo_ =
"";
10255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10256 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10258 get {
return solutionInfo_; }
10260 solutionInfo_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
10265 public const int SolveLogFieldNumber = 26;
10266 private string solveLog_ =
"";
10271 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10272 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10274 get {
return solveLog_; }
10276 solveLog_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
10280 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10281 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10286 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10287 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10289 if (ReferenceEquals(other,
null)) {
10292 if (ReferenceEquals(other,
this)) {
10295 if (Status != other.
Status)
return false;
10296 if(!solution_.Equals(other.solution_))
return false;
10297 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ObjectiveValue, other.
ObjectiveValue))
return false;
10298 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BestObjectiveBound, other.
BestObjectiveBound))
return false;
10299 if(!additionalSolutions_.Equals(other.additionalSolutions_))
return false;
10300 if(!tightenedVariables_.Equals(other.tightenedVariables_))
return false;
10301 if(!sufficientAssumptionsForInfeasibility_.Equals(other.sufficientAssumptionsForInfeasibility_))
return false;
10313 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
WallTime, other.
WallTime))
return false;
10314 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
UserTime, other.
UserTime))
return false;
10316 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(
GapIntegral, other.
GapIntegral))
return false;
10319 return Equals(_unknownFields, other._unknownFields);
10322 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10323 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10324 public override int GetHashCode() {
10327 hash ^= solution_.GetHashCode();
10330 hash ^= additionalSolutions_.GetHashCode();
10331 hash ^= tightenedVariables_.GetHashCode();
10332 hash ^= sufficientAssumptionsForInfeasibility_.GetHashCode();
10344 if (
WallTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
WallTime);
10345 if (
UserTime != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
UserTime);
10347 if (
GapIntegral != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(
GapIntegral);
10350 if (_unknownFields !=
null) {
10351 hash ^= _unknownFields.GetHashCode();
10356 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10357 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10358 public override string ToString() {
10359 return pb::JsonFormatter.ToDiagnosticString(
this);
10362 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10363 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10364 public void WriteTo(pb::CodedOutputStream output) {
10365 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10366 output.WriteRawMessage(
this);
10368 if (Status != global::Google.
OrTools.
Sat.CpSolverStatus.Unknown) {
10369 output.WriteRawTag(8);
10370 output.WriteEnum((
int) Status);
10372 solution_.WriteTo(output, _repeated_solution_codec);
10373 if (ObjectiveValue != 0D) {
10374 output.WriteRawTag(25);
10375 output.WriteDouble(ObjectiveValue);
10377 if (BestObjectiveBound != 0D) {
10378 output.WriteRawTag(33);
10379 output.WriteDouble(BestObjectiveBound);
10381 if (NumBooleans != 0L) {
10382 output.WriteRawTag(80);
10383 output.WriteInt64(NumBooleans);
10385 if (NumConflicts != 0L) {
10386 output.WriteRawTag(88);
10387 output.WriteInt64(NumConflicts);
10389 if (NumBranches != 0L) {
10390 output.WriteRawTag(96);
10391 output.WriteInt64(NumBranches);
10393 if (NumBinaryPropagations != 0L) {
10394 output.WriteRawTag(104);
10395 output.WriteInt64(NumBinaryPropagations);
10397 if (NumIntegerPropagations != 0L) {
10398 output.WriteRawTag(112);
10399 output.WriteInt64(NumIntegerPropagations);
10401 if (WallTime != 0D) {
10402 output.WriteRawTag(121);
10403 output.WriteDouble(WallTime);
10405 if (UserTime != 0D) {
10406 output.WriteRawTag(129, 1);
10407 output.WriteDouble(UserTime);
10409 if (DeterministicTime != 0D) {
10410 output.WriteRawTag(137, 1);
10411 output.WriteDouble(DeterministicTime);
10413 if (SolutionInfo.Length != 0) {
10414 output.WriteRawTag(162, 1);
10415 output.WriteString(SolutionInfo);
10417 tightenedVariables_.WriteTo(output, _repeated_tightenedVariables_codec);
10419 output.WriteRawTag(177, 1);
10422 sufficientAssumptionsForInfeasibility_.WriteTo(output, _repeated_sufficientAssumptionsForInfeasibility_codec);
10423 if (NumRestarts != 0L) {
10424 output.WriteRawTag(192, 1);
10427 if (NumLpIterations != 0L) {
10428 output.WriteRawTag(200, 1);
10429 output.WriteInt64(NumLpIterations);
10431 if (SolveLog.Length != 0) {
10432 output.WriteRawTag(210, 1);
10433 output.WriteString(SolveLog);
10435 additionalSolutions_.WriteTo(output, _repeated_additionalSolutions_codec);
10436 if (integerObjective_ !=
null) {
10437 output.WriteRawTag(226, 1);
10438 output.WriteMessage(IntegerObjective);
10440 if (InnerObjectiveLowerBound != 0L) {
10441 output.WriteRawTag(232, 1);
10442 output.WriteInt64(InnerObjectiveLowerBound);
10444 if (NumIntegers != 0L) {
10445 output.WriteRawTag(240, 1);
10446 output.WriteInt64(NumIntegers);
10448 if (NumFixedBooleans != 0L) {
10449 output.WriteRawTag(248, 1);
10450 output.WriteInt64(NumFixedBooleans);
10452 if (_unknownFields !=
null) {
10453 _unknownFields.WriteTo(output);
10458 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10460 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10461 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
10462 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
10463 output.WriteRawTag(8);
10464 output.WriteEnum((
int) Status);
10466 solution_.WriteTo(ref output, _repeated_solution_codec);
10467 if (ObjectiveValue != 0D) {
10468 output.WriteRawTag(25);
10469 output.WriteDouble(ObjectiveValue);
10471 if (BestObjectiveBound != 0D) {
10472 output.WriteRawTag(33);
10473 output.WriteDouble(BestObjectiveBound);
10475 if (NumBooleans != 0L) {
10476 output.WriteRawTag(80);
10477 output.WriteInt64(NumBooleans);
10479 if (NumConflicts != 0L) {
10480 output.WriteRawTag(88);
10481 output.WriteInt64(NumConflicts);
10483 if (NumBranches != 0L) {
10484 output.WriteRawTag(96);
10485 output.WriteInt64(NumBranches);
10487 if (NumBinaryPropagations != 0L) {
10488 output.WriteRawTag(104);
10489 output.WriteInt64(NumBinaryPropagations);
10491 if (NumIntegerPropagations != 0L) {
10492 output.WriteRawTag(112);
10493 output.WriteInt64(NumIntegerPropagations);
10495 if (WallTime != 0D) {
10496 output.WriteRawTag(121);
10497 output.WriteDouble(WallTime);
10499 if (UserTime != 0D) {
10500 output.WriteRawTag(129, 1);
10501 output.WriteDouble(UserTime);
10503 if (DeterministicTime != 0D) {
10504 output.WriteRawTag(137, 1);
10505 output.WriteDouble(DeterministicTime);
10507 if (SolutionInfo.Length != 0) {
10508 output.WriteRawTag(162, 1);
10509 output.WriteString(SolutionInfo);
10511 tightenedVariables_.WriteTo(ref output, _repeated_tightenedVariables_codec);
10512 if (GapIntegral != 0D) {
10513 output.WriteRawTag(177, 1);
10514 output.WriteDouble(GapIntegral);
10516 sufficientAssumptionsForInfeasibility_.WriteTo(ref output, _repeated_sufficientAssumptionsForInfeasibility_codec);
10517 if (NumRestarts != 0L) {
10518 output.WriteRawTag(192, 1);
10519 output.WriteInt64(NumRestarts);
10521 if (NumLpIterations != 0L) {
10522 output.WriteRawTag(200, 1);
10523 output.WriteInt64(NumLpIterations);
10525 if (SolveLog.Length != 0) {
10526 output.WriteRawTag(210, 1);
10527 output.WriteString(SolveLog);
10529 additionalSolutions_.WriteTo(ref output, _repeated_additionalSolutions_codec);
10530 if (integerObjective_ !=
null) {
10531 output.WriteRawTag(226, 1);
10532 output.WriteMessage(IntegerObjective);
10534 if (InnerObjectiveLowerBound != 0L) {
10535 output.WriteRawTag(232, 1);
10536 output.WriteInt64(InnerObjectiveLowerBound);
10538 if (NumIntegers != 0L) {
10539 output.WriteRawTag(240, 1);
10540 output.WriteInt64(NumIntegers);
10542 if (NumFixedBooleans != 0L) {
10543 output.WriteRawTag(248, 1);
10544 output.WriteInt64(NumFixedBooleans);
10546 if (_unknownFields !=
null) {
10547 _unknownFields.WriteTo(ref output);
10552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10553 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10554 public int CalculateSize() {
10556 if (Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
10557 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) Status);
10559 size += solution_.CalculateSize(_repeated_solution_codec);
10560 if (ObjectiveValue != 0D) {
10563 if (BestObjectiveBound != 0D) {
10566 size += additionalSolutions_.CalculateSize(_repeated_additionalSolutions_codec);
10567 size += tightenedVariables_.CalculateSize(_repeated_tightenedVariables_codec);
10568 size += sufficientAssumptionsForInfeasibility_.CalculateSize(_repeated_sufficientAssumptionsForInfeasibility_codec);
10569 if (integerObjective_ !=
null) {
10570 size += 2 + pb::CodedOutputStream.ComputeMessageSize(IntegerObjective);
10572 if (InnerObjectiveLowerBound != 0L) {
10573 size += 2 + pb::CodedOutputStream.ComputeInt64Size(InnerObjectiveLowerBound);
10575 if (NumIntegers != 0L) {
10576 size += 2 + pb::CodedOutputStream.ComputeInt64Size(NumIntegers);
10578 if (NumBooleans != 0L) {
10579 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBooleans);
10581 if (NumFixedBooleans != 0L) {
10582 size += 2 + pb::CodedOutputStream.ComputeInt64Size(NumFixedBooleans);
10584 if (NumConflicts != 0L) {
10585 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumConflicts);
10587 if (NumBranches != 0L) {
10588 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBranches);
10590 if (NumBinaryPropagations != 0L) {
10591 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumBinaryPropagations);
10593 if (NumIntegerPropagations != 0L) {
10594 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NumIntegerPropagations);
10596 if (NumRestarts != 0L) {
10597 size += 2 + pb::CodedOutputStream.ComputeInt64Size(NumRestarts);
10599 if (NumLpIterations != 0L) {
10600 size += 2 + pb::CodedOutputStream.ComputeInt64Size(NumLpIterations);
10602 if (WallTime != 0D) {
10605 if (UserTime != 0D) {
10608 if (DeterministicTime != 0D) {
10611 if (GapIntegral != 0D) {
10615 size += 2 + pb::CodedOutputStream.ComputeStringSize(
SolutionInfo);
10617 if (SolveLog.Length != 0) {
10618 size += 2 + pb::CodedOutputStream.ComputeStringSize(SolveLog);
10620 if (_unknownFields !=
null) {
10621 size += _unknownFields.CalculateSize();
10626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10627 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10628 public void MergeFrom(CpSolverResponse other) {
10629 if (other ==
null) {
10632 if (other.Status != global::Google.OrTools.Sat.CpSolverStatus.Unknown) {
10633 Status = other.Status;
10635 solution_.Add(other.solution_);
10636 if (other.ObjectiveValue != 0D) {
10637 ObjectiveValue = other.ObjectiveValue;
10639 if (other.BestObjectiveBound != 0D) {
10640 BestObjectiveBound = other.BestObjectiveBound;
10642 additionalSolutions_.Add(other.additionalSolutions_);
10643 tightenedVariables_.Add(other.tightenedVariables_);
10644 sufficientAssumptionsForInfeasibility_.Add(other.sufficientAssumptionsForInfeasibility_);
10645 if (other.integerObjective_ !=
null) {
10646 if (integerObjective_ ==
null) {
10647 IntegerObjective =
new global::Google.OrTools.Sat.CpObjectiveProto();
10649 IntegerObjective.MergeFrom(other.IntegerObjective);
10651 if (other.InnerObjectiveLowerBound != 0L) {
10652 InnerObjectiveLowerBound = other.InnerObjectiveLowerBound;
10654 if (other.NumIntegers != 0L) {
10655 NumIntegers = other.NumIntegers;
10657 if (other.NumBooleans != 0L) {
10658 NumBooleans = other.NumBooleans;
10660 if (other.NumFixedBooleans != 0L) {
10661 NumFixedBooleans = other.NumFixedBooleans;
10663 if (other.NumConflicts != 0L) {
10664 NumConflicts = other.NumConflicts;
10666 if (other.NumBranches != 0L) {
10667 NumBranches = other.NumBranches;
10669 if (other.NumBinaryPropagations != 0L) {
10670 NumBinaryPropagations = other.NumBinaryPropagations;
10672 if (other.NumIntegerPropagations != 0L) {
10673 NumIntegerPropagations = other.NumIntegerPropagations;
10675 if (other.NumRestarts != 0L) {
10676 NumRestarts = other.NumRestarts;
10678 if (other.NumLpIterations != 0L) {
10679 NumLpIterations = other.NumLpIterations;
10681 if (other.WallTime != 0D) {
10682 WallTime = other.WallTime;
10684 if (other.UserTime != 0D) {
10685 UserTime = other.UserTime;
10687 if (other.DeterministicTime != 0D) {
10690 if (other.GapIntegral != 0D) {
10691 GapIntegral = other.GapIntegral;
10693 if (other.SolutionInfo.Length != 0) {
10694 SolutionInfo = other.SolutionInfo;
10696 if (other.SolveLog.Length != 0) {
10697 SolveLog = other.SolveLog;
10699 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
10702 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10703 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10704 public void MergeFrom(pb::CodedInputStream input) {
10705 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10706 input.ReadRawMessage(
this);
10709 while ((tag = input.ReadTag()) != 0) {
10710 if ((tag & 7) == 4) {
10716 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
10719 Status = (global::Google.OrTools.Sat.CpSolverStatus) input.ReadEnum();
10724 solution_.AddEntriesFrom(input, _repeated_solution_codec);
10728 ObjectiveValue = input.ReadDouble();
10732 BestObjectiveBound = input.ReadDouble();
10736 NumBooleans = input.ReadInt64();
10740 NumConflicts = input.ReadInt64();
10744 NumBranches = input.ReadInt64();
10748 NumBinaryPropagations = input.ReadInt64();
10752 NumIntegerPropagations = input.ReadInt64();
10756 WallTime = input.ReadDouble();
10760 UserTime = input.ReadDouble();
10768 SolutionInfo = input.ReadString();
10772 tightenedVariables_.AddEntriesFrom(input, _repeated_tightenedVariables_codec);
10776 GapIntegral = input.ReadDouble();
10781 sufficientAssumptionsForInfeasibility_.AddEntriesFrom(input, _repeated_sufficientAssumptionsForInfeasibility_codec);
10785 NumRestarts = input.ReadInt64();
10789 NumLpIterations = input.ReadInt64();
10793 SolveLog = input.ReadString();
10797 additionalSolutions_.AddEntriesFrom(input, _repeated_additionalSolutions_codec);
10801 if (integerObjective_ ==
null) {
10802 IntegerObjective =
new global::Google.OrTools.Sat.CpObjectiveProto();
10804 input.ReadMessage(IntegerObjective);
10808 InnerObjectiveLowerBound = input.ReadInt64();
10812 NumIntegers = input.ReadInt64();
10816 NumFixedBooleans = input.ReadInt64();
10824 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10825 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10826 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
10827 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
10829 while ((tag = input.ReadTag()) != 0) {
10830 if ((tag & 7) == 4) {
10836 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
10839 Status = (global::Google.OrTools.Sat.CpSolverStatus) input.ReadEnum();
10844 solution_.AddEntriesFrom(ref input, _repeated_solution_codec);
10848 ObjectiveValue = input.ReadDouble();
10852 BestObjectiveBound = input.ReadDouble();
10856 NumBooleans = input.ReadInt64();
10860 NumConflicts = input.ReadInt64();
10864 NumBranches = input.ReadInt64();
10868 NumBinaryPropagations = input.ReadInt64();
10872 NumIntegerPropagations = input.ReadInt64();
10876 WallTime = input.ReadDouble();
10880 UserTime = input.ReadDouble();
10884 DeterministicTime = input.ReadDouble();
10888 SolutionInfo = input.ReadString();
10892 tightenedVariables_.AddEntriesFrom(ref input, _repeated_tightenedVariables_codec);
10896 GapIntegral = input.ReadDouble();
10901 sufficientAssumptionsForInfeasibility_.AddEntriesFrom(ref input, _repeated_sufficientAssumptionsForInfeasibility_codec);
10905 NumRestarts = input.ReadInt64();
10909 NumLpIterations = input.ReadInt64();
10913 SolveLog = input.ReadString();
10917 additionalSolutions_.AddEntriesFrom(ref input, _repeated_additionalSolutions_codec);
10921 if (integerObjective_ ==
null) {
10922 IntegerObjective =
new global::Google.OrTools.Sat.CpObjectiveProto();
10924 input.ReadMessage(IntegerObjective);
10928 InnerObjectiveLowerBound = input.ReadInt64();
10932 NumIntegers = input.ReadInt64();
10936 NumFixedBooleans = input.ReadInt64();
10950#endregion Designer generated code
global::Google.Protobuf pb
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc