36 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"SWIGRegisterExceptionCallbacks_operations_research_model_builder")]
50 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"SWIGRegisterExceptionArgumentCallbacks_operations_research_model_builder")]
56 static void SetPendingApplicationException(
string message) {
59 static void SetPendingArithmeticException(
string message) {
62 static void SetPendingDivideByZeroException(
string message) {
63 SWIGPendingException.Set(
new global::System.DivideByZeroException(message, SWIGPendingException.Retrieve()));
65 static void SetPendingIndexOutOfRangeException(
string message) {
66 SWIGPendingException.Set(
new global::System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve()));
68 static void SetPendingInvalidCastException(
string message) {
69 SWIGPendingException.Set(
new global::System.InvalidCastException(message, SWIGPendingException.Retrieve()));
71 static void SetPendingInvalidOperationException(
string message) {
72 SWIGPendingException.Set(
new global::System.InvalidOperationException(message, SWIGPendingException.Retrieve()));
74 static void SetPendingIOException(
string message) {
75 SWIGPendingException.Set(
new global::System.IO.IOException(message, SWIGPendingException.Retrieve()));
77 static void SetPendingNullReferenceException(
string message) {
78 SWIGPendingException.Set(
new global::System.NullReferenceException(message, SWIGPendingException.Retrieve()));
80 static void SetPendingOutOfMemoryException(
string message) {
81 SWIGPendingException.Set(
new global::System.OutOfMemoryException(message, SWIGPendingException.Retrieve()));
83 static void SetPendingOverflowException(
string message) {
84 SWIGPendingException.Set(
new global::System.OverflowException(message, SWIGPendingException.Retrieve()));
86 static void SetPendingSystemException(
string message) {
87 SWIGPendingException.Set(
new global::System.SystemException(message, SWIGPendingException.Retrieve()));
90 static void SetPendingArgumentException(
string message,
string paramName) {
91 SWIGPendingException.Set(
new global::System.ArgumentException(message, paramName, SWIGPendingException.Retrieve()));
93 static void SetPendingArgumentNullException(
string message,
string paramName) {
94 global::System.Exception e = SWIGPendingException.Retrieve();
95 if (e !=
null) message = message +
" Inner Exception: " + e.Message;
96 SWIGPendingException.Set(
new global::System.ArgumentNullException(paramName, message));
98 static void SetPendingArgumentOutOfRangeException(
string message,
string paramName) {
99 global::System.Exception e = SWIGPendingException.Retrieve();
100 if (e !=
null) message = message +
" Inner Exception: " + e.Message;
101 SWIGPendingException.Set(
new global::System.ArgumentOutOfRangeException(paramName, message));
104 static SWIGExceptionHelper() {
108 divideByZeroDelegate,
109 indexOutOfRangeDelegate,
111 invalidOperationDelegate,
113 nullReferenceDelegate,
120 argumentNullDelegate,
121 argumentOutOfRangeDelegate);
128 [global::System.ThreadStatic]
129 private static global::System.Exception pendingException =
null;
130 private static int numExceptionsPending = 0;
131 private static global::System.Object exceptionsLock =
null;
135 bool pending =
false;
136 if (numExceptionsPending > 0)
137 if (pendingException !=
null)
143 public static void Set(global::System.Exception e) {
144 if (pendingException !=
null)
145 throw new global::System.ApplicationException(
"FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() +
")", e);
146 pendingException = e;
147 lock(exceptionsLock) {
148 numExceptionsPending++;
152 public static global::System.Exception
Retrieve() {
153 global::System.Exception e =
null;
154 if (numExceptionsPending > 0) {
155 if (pendingException !=
null) {
156 e = pendingException;
157 pendingException =
null;
158 lock(exceptionsLock) {
159 numExceptionsPending--;
166 static SWIGPendingException() {
167 exceptionsLock =
new global::System.Object();
172 protected class SWIGStringHelper {
177 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"SWIGRegisterStringCallback_operations_research_model_builder")]
180 static string CreateString(
string cString) {
189 static protected SWIGStringHelper
swigStringHelper =
new SWIGStringHelper();
194 [global::System.Runtime.InteropServices.DllImport(
"operations_research_model_builder", EntryPoint=
"SWIG_csharp_string_to_c")]
195 private static extern global::System.IntPtr SWIG_csharp_string_to_c0(
int size,
int len, [global::System.Runtime.InteropServices.In,global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr, SizeParamIndex=0)]
string str);
197 [global::System.Runtime.InteropServices.DllImport(
"operations_research_model_builder", EntryPoint=
"SWIG_csharp_string_size")]
198 private static extern int SWIG_csharp_string_size(global::System.IntPtr str);
200 [global::System.Runtime.InteropServices.DllImport(
"operations_research_model_builder", EntryPoint=
"SWIG_csharp_string_str")]
201 private static extern global::System.IntPtr SWIG_csharp_string_str(global::System.IntPtr str);
205 return global::System.IntPtr.Zero;
206 global::System.Text.Encoding utf8 = global::System.Text.Encoding.UTF8;
207 return SWIG_csharp_string_to_c0(utf8.GetByteCount(str), str.Length, str);
211 int size = SWIG_csharp_string_size(str);
213 global::System.IntPtr s = SWIG_csharp_string_str(str);
214 byte[] b =
new byte[size];
215 global::System.Runtime.InteropServices.Marshal.Copy(s, b, 0, size);
216 global::System.Text.Encoding utf8 = global::System.Text.Encoding.UTF8;
217 return utf8.GetString(b);
224 static operations_research_model_builderPINVOKE() {
228 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_IntVector__SWIG_0___")]
231 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_IntVector__SWIG_1___")]
232 public static extern global::System.IntPtr
new_IntVector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);
234 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Clear___")]
235 public static extern void IntVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1);
237 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Add___")]
238 public static extern void IntVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
240 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_size___")]
241 public static extern uint
IntVector_size(global::System.Runtime.InteropServices.HandleRef jarg1);
243 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_empty___")]
244 public static extern bool IntVector_empty(global::System.Runtime.InteropServices.HandleRef jarg1);
246 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_capacity___")]
247 public static extern uint
IntVector_capacity(global::System.Runtime.InteropServices.HandleRef jarg1);
249 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_reserve___")]
250 public static extern void IntVector_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);
252 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_IntVector__SWIG_2___")]
255 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_getitemcopy___")]
256 public static extern int IntVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
258 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_getitem___")]
259 public static extern int IntVector_getitem(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
261 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_setitem___")]
262 public static extern void IntVector_setitem(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
264 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_AddRange___")]
265 public static extern void IntVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
267 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_GetRange___")]
268 public static extern global::System.IntPtr
IntVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
270 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Insert___")]
271 public static extern void IntVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
273 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_InsertRange___")]
274 public static extern void IntVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
276 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_RemoveAt___")]
277 public static extern void IntVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
279 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_RemoveRange___")]
280 public static extern void IntVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
282 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Repeat___")]
283 public static extern global::System.IntPtr
IntVector_Repeat(
int jarg1,
int jarg2);
285 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Reverse__SWIG_0___")]
288 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Reverse__SWIG_1___")]
289 public static extern void IntVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
291 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_SetRange___")]
292 public static extern void IntVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
294 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Contains___")]
295 public static extern bool IntVector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
297 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_IndexOf___")]
298 public static extern int IntVector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
300 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_LastIndexOf___")]
301 public static extern int IntVector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
303 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Remove___")]
304 public static extern bool IntVector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
306 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_delete_IntVector___")]
307 public static extern void delete_IntVector(global::System.Runtime.InteropServices.HandleRef jarg1);
309 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_DoubleVector__SWIG_0___")]
312 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_DoubleVector__SWIG_1___")]
313 public static extern global::System.IntPtr
new_DoubleVector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);
315 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Clear___")]
316 public static extern void DoubleVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1);
318 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Add___")]
319 public static extern void DoubleVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1,
double jarg2);
321 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_size___")]
322 public static extern uint
DoubleVector_size(global::System.Runtime.InteropServices.HandleRef jarg1);
324 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_empty___")]
325 public static extern bool DoubleVector_empty(global::System.Runtime.InteropServices.HandleRef jarg1);
327 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_capacity___")]
328 public static extern uint
DoubleVector_capacity(global::System.Runtime.InteropServices.HandleRef jarg1);
330 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_reserve___")]
331 public static extern void DoubleVector_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);
333 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_DoubleVector__SWIG_2___")]
336 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_getitemcopy___")]
337 public static extern double DoubleVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
339 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_getitem___")]
340 public static extern double DoubleVector_getitem(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
342 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_setitem___")]
343 public static extern void DoubleVector_setitem(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
double jarg3);
345 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_AddRange___")]
346 public static extern void DoubleVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
348 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_GetRange___")]
349 public static extern global::System.IntPtr
DoubleVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
351 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Insert___")]
352 public static extern void DoubleVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
double jarg3);
354 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_InsertRange___")]
355 public static extern void DoubleVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
357 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_RemoveAt___")]
358 public static extern void DoubleVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
360 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_RemoveRange___")]
361 public static extern void DoubleVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
363 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Repeat___")]
366 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Reverse__SWIG_0___")]
369 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Reverse__SWIG_1___")]
372 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_SetRange___")]
373 public static extern void DoubleVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
375 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Contains___")]
376 public static extern bool DoubleVector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1,
double jarg2);
378 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_IndexOf___")]
379 public static extern int DoubleVector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1,
double jarg2);
381 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_LastIndexOf___")]
382 public static extern int DoubleVector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1,
double jarg2);
384 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Remove___")]
385 public static extern bool DoubleVector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1,
double jarg2);
387 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_delete_DoubleVector___")]
388 public static extern void delete_DoubleVector(global::System.Runtime.InteropServices.HandleRef jarg1);
390 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_OverwriteModel___")]
391 public static extern void ModelBuilderHelper_OverwriteModel(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
393 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ReadModelFromProtoFile___")]
396 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_WriteModelToProtoFile___")]
399 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ImportFromMpsString___")]
402 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ImportFromMpsFile___")]
405 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ImportFromLpString___")]
408 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ImportFromLpFile___")]
411 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddVar___")]
414 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetVarLowerBound___")]
417 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetVarUpperBound___")]
420 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetVarIntegrality___")]
423 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetVarObjectiveCoefficient___")]
426 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetVarName___")]
429 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VarLowerBound___")]
432 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VarUpperBound___")]
435 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VarIsIntegral___")]
438 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VarObjectiveCoefficient___")]
441 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VarName___")]
444 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintLowerBound___")]
447 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintUpperBound___")]
450 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddLinearConstraint___")]
453 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintName___")]
456 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintCoefficients___")]
459 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintVarIndices___")]
462 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddConstraintTerm___")]
465 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ClearConstraintTerms___")]
468 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SafeAddConstraintTerm___")]
471 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetConstraintCoefficient___")]
474 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetConstraintLowerBound___")]
477 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetConstraintName___")]
480 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetConstraintUpperBound___")]
483 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedIndicatorValue___")]
486 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_IsEnforcedConstraint___")]
489 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedConstraintLowerBound___")]
492 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedConstraintUpperBound___")]
495 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddEnforcedLinearConstraint___")]
498 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedIndicatorVariableIndex___")]
501 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedConstraintName___")]
504 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedConstraintCoefficients___")]
507 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedConstraintVarIndices___")]
510 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddEnforcedConstraintTerm___")]
513 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ClearEnforcedConstraintTerms___")]
516 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SafeAddEnforcedConstraintTerm___")]
519 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedConstraintCoefficient___")]
522 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedConstraintLowerBound___")]
525 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedConstraintName___")]
528 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedConstraintUpperBound___")]
531 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedIndicatorValue___")]
534 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedIndicatorVariableIndex___")]
537 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintsCount___")]
540 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VariablesCount___")]
543 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_Name___")]
546 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetName___")]
549 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ClearObjective___")]
552 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_Maximize___")]
555 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetMaximize___")]
558 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ObjectiveOffset___")]
561 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetObjectiveOffset___")]
564 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ClearHints___")]
567 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddHint___")]
568 public static extern void ModelBuilderHelper_AddHint(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
double jarg3);
570 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ExportToMpsString___")]
573 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ExportToLpString___")]
576 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_WriteToMpsFile___")]
579 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_ModelBuilderHelper___")]
582 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_delete_ModelBuilderHelper___")]
585 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_delete_MbLogCallback___")]
586 public static extern void delete_MbLogCallback(global::System.Runtime.InteropServices.HandleRef jarg1);
588 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_MbLogCallback_NewMessage___")]
589 public static extern void MbLogCallback_NewMessage(global::System.Runtime.InteropServices.HandleRef jarg1,
string jarg2);
591 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_MbLogCallback___")]
594 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_MbLogCallback_director_connect___")]
597 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_ModelSolverHelper___")]
600 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_SolverIsSupported___")]
603 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_Solve___")]
604 public static extern void ModelSolverHelper_Solve(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
606 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_InterruptSolve___")]
609 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_SetLogCallbackFromDirectorClass___")]
612 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_ClearLogCallback___")]
615 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_HasResponse___")]
618 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_HasSolution___")]
621 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_Status___")]
624 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_ObjectiveValue___")]
627 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_BestObjectiveBound___")]
630 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_VariableValue___")]
633 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_ReducedCost___")]
636 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_DualValue___")]
639 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_Activity___")]
642 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_StatusString___")]
645 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_WallTime___")]
648 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_UserTime___")]
651 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_SetTimeLimitInSeconds___")]
654 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_SetSolverSpecificParameters___")]
657 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_EnableOutput___")]
660 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_delete_ModelSolverHelper___")]