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();
196 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_IntVector__SWIG_0___")]
199 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_IntVector__SWIG_1___")]
200 public static extern global::System.IntPtr
new_IntVector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);
202 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Clear___")]
203 public static extern void IntVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1);
205 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Add___")]
206 public static extern void IntVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
208 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_size___")]
209 public static extern uint
IntVector_size(global::System.Runtime.InteropServices.HandleRef jarg1);
211 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_empty___")]
212 public static extern bool IntVector_empty(global::System.Runtime.InteropServices.HandleRef jarg1);
214 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_capacity___")]
215 public static extern uint
IntVector_capacity(global::System.Runtime.InteropServices.HandleRef jarg1);
217 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_reserve___")]
218 public static extern void IntVector_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);
220 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_IntVector__SWIG_2___")]
223 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_getitemcopy___")]
224 public static extern int IntVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
226 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_getitem___")]
227 public static extern int IntVector_getitem(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
229 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_setitem___")]
230 public static extern void IntVector_setitem(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
232 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_AddRange___")]
233 public static extern void IntVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
235 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_GetRange___")]
236 public static extern global::System.IntPtr
IntVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
238 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Insert___")]
239 public static extern void IntVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
241 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_InsertRange___")]
242 public static extern void IntVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
244 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_RemoveAt___")]
245 public static extern void IntVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
247 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_RemoveRange___")]
248 public static extern void IntVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
250 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Repeat___")]
251 public static extern global::System.IntPtr
IntVector_Repeat(
int jarg1,
int jarg2);
253 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Reverse__SWIG_0___")]
256 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Reverse__SWIG_1___")]
257 public static extern void IntVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
259 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_SetRange___")]
260 public static extern void IntVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
262 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Contains___")]
263 public static extern bool IntVector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
265 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_IndexOf___")]
266 public static extern int IntVector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
268 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_LastIndexOf___")]
269 public static extern int IntVector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
271 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_IntVector_Remove___")]
272 public static extern bool IntVector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
274 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_delete_IntVector___")]
275 public static extern void delete_IntVector(global::System.Runtime.InteropServices.HandleRef jarg1);
277 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_DoubleVector__SWIG_0___")]
280 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_DoubleVector__SWIG_1___")]
281 public static extern global::System.IntPtr
new_DoubleVector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);
283 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Clear___")]
284 public static extern void DoubleVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1);
286 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Add___")]
287 public static extern void DoubleVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1,
double jarg2);
289 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_size___")]
290 public static extern uint
DoubleVector_size(global::System.Runtime.InteropServices.HandleRef jarg1);
292 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_empty___")]
293 public static extern bool DoubleVector_empty(global::System.Runtime.InteropServices.HandleRef jarg1);
295 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_capacity___")]
296 public static extern uint
DoubleVector_capacity(global::System.Runtime.InteropServices.HandleRef jarg1);
298 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_reserve___")]
299 public static extern void DoubleVector_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);
301 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_DoubleVector__SWIG_2___")]
304 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_getitemcopy___")]
305 public static extern double DoubleVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
307 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_getitem___")]
308 public static extern double DoubleVector_getitem(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
310 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_setitem___")]
311 public static extern void DoubleVector_setitem(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
double jarg3);
313 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_AddRange___")]
314 public static extern void DoubleVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
316 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_GetRange___")]
317 public static extern global::System.IntPtr
DoubleVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
319 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Insert___")]
320 public static extern void DoubleVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
double jarg3);
322 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_InsertRange___")]
323 public static extern void DoubleVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
325 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_RemoveAt___")]
326 public static extern void DoubleVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2);
328 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_RemoveRange___")]
329 public static extern void DoubleVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
int jarg3);
331 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Repeat___")]
334 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Reverse__SWIG_0___")]
337 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Reverse__SWIG_1___")]
340 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_SetRange___")]
341 public static extern void DoubleVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
343 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Contains___")]
344 public static extern bool DoubleVector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1,
double jarg2);
346 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_IndexOf___")]
347 public static extern int DoubleVector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1,
double jarg2);
349 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_LastIndexOf___")]
350 public static extern int DoubleVector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1,
double jarg2);
352 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_DoubleVector_Remove___")]
353 public static extern bool DoubleVector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1,
double jarg2);
355 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_delete_DoubleVector___")]
356 public static extern void delete_DoubleVector(global::System.Runtime.InteropServices.HandleRef jarg1);
358 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_OverwriteModel___")]
359 public static extern void ModelBuilderHelper_OverwriteModel(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
361 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ReadModelFromProtoFile___")]
364 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_WriteModelToProtoFile___")]
367 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ImportFromMpsString___")]
370 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ImportFromMpsFile___")]
373 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ImportFromLpString___")]
376 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ImportFromLpFile___")]
379 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddVar___")]
382 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetVarLowerBound___")]
385 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetVarUpperBound___")]
388 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetVarIntegrality___")]
391 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetVarObjectiveCoefficient___")]
394 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetVarName___")]
397 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VarLowerBound___")]
400 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VarUpperBound___")]
403 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VarIsIntegral___")]
406 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VarObjectiveCoefficient___")]
409 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VarName___")]
412 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintLowerBound___")]
415 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintUpperBound___")]
418 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddLinearConstraint___")]
421 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintName___")]
424 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintCoefficients___")]
427 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintVarIndices___")]
430 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddConstraintTerm___")]
433 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ClearConstraintTerms___")]
436 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SafeAddConstraintTerm___")]
439 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetConstraintCoefficient___")]
442 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetConstraintLowerBound___")]
445 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetConstraintName___")]
448 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetConstraintUpperBound___")]
451 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedIndicatorValue___")]
454 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_IsEnforcedConstraint___")]
457 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedConstraintLowerBound___")]
460 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedConstraintUpperBound___")]
463 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddEnforcedLinearConstraint___")]
466 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedIndicatorVariableIndex___")]
469 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedConstraintName___")]
472 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedConstraintCoefficients___")]
475 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_EnforcedConstraintVarIndices___")]
478 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddEnforcedConstraintTerm___")]
481 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ClearEnforcedConstraintTerms___")]
484 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SafeAddEnforcedConstraintTerm___")]
487 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedConstraintCoefficient___")]
490 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedConstraintLowerBound___")]
493 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedConstraintName___")]
496 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedConstraintUpperBound___")]
499 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedIndicatorValue___")]
502 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetEnforcedIndicatorVariableIndex___")]
505 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ConstraintsCount___")]
508 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_VariablesCount___")]
511 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_Name___")]
514 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetName___")]
517 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ClearObjective___")]
520 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_Maximize___")]
523 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetMaximize___")]
526 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ObjectiveOffset___")]
529 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_SetObjectiveOffset___")]
532 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ClearHints___")]
535 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_AddHint___")]
536 public static extern void ModelBuilderHelper_AddHint(global::System.Runtime.InteropServices.HandleRef jarg1,
int jarg2,
double jarg3);
538 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ExportToMpsString___")]
541 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_ExportToLpString___")]
544 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelBuilderHelper_WriteToMpsFile___")]
547 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_ModelBuilderHelper___")]
550 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_delete_ModelBuilderHelper___")]
553 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_delete_MbLogCallback___")]
554 public static extern void delete_MbLogCallback(global::System.Runtime.InteropServices.HandleRef jarg1);
556 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_MbLogCallback_NewMessage___")]
557 public static extern void MbLogCallback_NewMessage(global::System.Runtime.InteropServices.HandleRef jarg1,
string jarg2);
559 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_MbLogCallback___")]
562 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_MbLogCallback_director_connect___")]
565 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_new_ModelSolverHelper___")]
568 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_SolverIsSupported___")]
571 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_Solve___")]
572 public static extern void ModelSolverHelper_Solve(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
574 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_InterruptSolve___")]
577 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_SetLogCallbackFromDirectorClass___")]
580 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_ClearLogCallback___")]
583 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_HasResponse___")]
586 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_HasSolution___")]
589 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_Status___")]
592 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_ObjectiveValue___")]
595 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_BestObjectiveBound___")]
598 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_VariableValue___")]
601 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_ReducedCost___")]
604 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_DualValue___")]
607 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_Activity___")]
610 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_StatusString___")]
613 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_WallTime___")]
616 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_UserTime___")]
619 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_SetTimeLimitInSeconds___")]
622 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_SetSolverSpecificParameters___")]
625 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_ModelSolverHelper_EnableOutput___")]
628 [global::System.Runtime.InteropServices.DllImport(
"google-ortools-native", EntryPoint=
"CSharp_GooglefOrToolsfModelBuilder_delete_ModelSolverHelper___")]