Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research_algorithmsPINVOKE.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (https://www.swig.org).
5// Version 4.2.1
6//
7// Do not make changes to this file unless you know what you are doing - modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
12
13class operations_research_algorithmsPINVOKE {
14
15 protected class SWIGExceptionHelper {
16
17 public delegate void ExceptionDelegate(string message);
18 public delegate void ExceptionArgumentDelegate(string message, string paramName);
20 static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException);
21 static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException);
22 static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException);
23 static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException);
24 static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException);
25 static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException);
26 static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException);
27 static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException);
28 static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException);
29 static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException);
30 static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException);
31
32 static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException);
33 static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException);
34 static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException);
35
36 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="SWIGRegisterExceptionCallbacks_operations_research_algorithms")]
38 ExceptionDelegate applicationDelegate,
39 ExceptionDelegate arithmeticDelegate,
40 ExceptionDelegate divideByZeroDelegate,
41 ExceptionDelegate indexOutOfRangeDelegate,
42 ExceptionDelegate invalidCastDelegate,
43 ExceptionDelegate invalidOperationDelegate,
44 ExceptionDelegate ioDelegate,
45 ExceptionDelegate nullReferenceDelegate,
46 ExceptionDelegate outOfMemoryDelegate,
47 ExceptionDelegate overflowDelegate,
48 ExceptionDelegate systemExceptionDelegate);
49
50 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_operations_research_algorithms")]
52 ExceptionArgumentDelegate argumentDelegate,
53 ExceptionArgumentDelegate argumentNullDelegate,
54 ExceptionArgumentDelegate argumentOutOfRangeDelegate);
55
56 static void SetPendingApplicationException(string message) {
57 SWIGPendingException.Set(new global::System.ApplicationException(message, SWIGPendingException.Retrieve()));
58 }
59 static void SetPendingArithmeticException(string message) {
60 SWIGPendingException.Set(new global::System.ArithmeticException(message, SWIGPendingException.Retrieve()));
61 }
62 static void SetPendingDivideByZeroException(string message) {
63 SWIGPendingException.Set(new global::System.DivideByZeroException(message, SWIGPendingException.Retrieve()));
64 }
65 static void SetPendingIndexOutOfRangeException(string message) {
66 SWIGPendingException.Set(new global::System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve()));
67 }
68 static void SetPendingInvalidCastException(string message) {
69 SWIGPendingException.Set(new global::System.InvalidCastException(message, SWIGPendingException.Retrieve()));
70 }
71 static void SetPendingInvalidOperationException(string message) {
72 SWIGPendingException.Set(new global::System.InvalidOperationException(message, SWIGPendingException.Retrieve()));
73 }
74 static void SetPendingIOException(string message) {
75 SWIGPendingException.Set(new global::System.IO.IOException(message, SWIGPendingException.Retrieve()));
76 }
77 static void SetPendingNullReferenceException(string message) {
78 SWIGPendingException.Set(new global::System.NullReferenceException(message, SWIGPendingException.Retrieve()));
79 }
80 static void SetPendingOutOfMemoryException(string message) {
81 SWIGPendingException.Set(new global::System.OutOfMemoryException(message, SWIGPendingException.Retrieve()));
82 }
83 static void SetPendingOverflowException(string message) {
84 SWIGPendingException.Set(new global::System.OverflowException(message, SWIGPendingException.Retrieve()));
85 }
86 static void SetPendingSystemException(string message) {
87 SWIGPendingException.Set(new global::System.SystemException(message, SWIGPendingException.Retrieve()));
88 }
89
90 static void SetPendingArgumentException(string message, string paramName) {
91 SWIGPendingException.Set(new global::System.ArgumentException(message, paramName, SWIGPendingException.Retrieve()));
92 }
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));
97 }
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));
102 }
103
104 static SWIGExceptionHelper() {
106 applicationDelegate,
107 arithmeticDelegate,
108 divideByZeroDelegate,
109 indexOutOfRangeDelegate,
110 invalidCastDelegate,
111 invalidOperationDelegate,
112 ioDelegate,
113 nullReferenceDelegate,
114 outOfMemoryDelegate,
115 overflowDelegate,
116 systemDelegate);
117
119 argumentDelegate,
120 argumentNullDelegate,
121 argumentOutOfRangeDelegate);
122 }
123 }
124
125 protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper();
126
127 public class SWIGPendingException {
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;
132
133 public static bool Pending {
134 get {
135 bool pending = false;
136 if (numExceptionsPending > 0)
137 if (pendingException != null)
138 pending = true;
139 return pending;
140 }
141 }
142
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++;
149 }
150 }
151
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--;
160 }
161 }
162 }
163 return e;
164 }
165
166 static SWIGPendingException() {
167 exceptionsLock = new global::System.Object();
168 }
169 }
170
171
172 protected class SWIGStringHelper {
173
174 public delegate string SWIGStringDelegate(string message);
175 static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString);
177 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="SWIGRegisterStringCallback_operations_research_algorithms")]
179
180 static string CreateString(string cString) {
181 return cString;
182 }
183
184 static SWIGStringHelper() {
186 }
187 }
188
189 static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();
190
193 }
194
195
196 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_new_Int64Vector__SWIG_0___")]
197 public static extern global::System.IntPtr new_Int64Vector__SWIG_0();
198
199 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_new_Int64Vector__SWIG_1___")]
200 public static extern global::System.IntPtr new_Int64Vector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);
201
202 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Clear___")]
203 public static extern void Int64Vector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1);
204
205 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Add___")]
206 public static extern void Int64Vector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
207
208 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_size___")]
209 public static extern uint Int64Vector_size(global::System.Runtime.InteropServices.HandleRef jarg1);
210
211 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_empty___")]
212 public static extern bool Int64Vector_empty(global::System.Runtime.InteropServices.HandleRef jarg1);
213
214 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_capacity___")]
215 public static extern uint Int64Vector_capacity(global::System.Runtime.InteropServices.HandleRef jarg1);
216
217 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_reserve___")]
218 public static extern void Int64Vector_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);
219
220 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_new_Int64Vector__SWIG_2___")]
221 public static extern global::System.IntPtr new_Int64Vector__SWIG_2(int jarg1);
222
223 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_getitemcopy___")]
224 public static extern long Int64Vector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
225
226 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_getitem___")]
227 public static extern long Int64Vector_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
228
229 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_setitem___")]
230 public static extern void Int64Vector_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3);
231
232 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_AddRange___")]
233 public static extern void Int64Vector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
234
235 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_GetRange___")]
236 public static extern global::System.IntPtr Int64Vector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
237
238 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Insert___")]
239 public static extern void Int64Vector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3);
240
241 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_InsertRange___")]
242 public static extern void Int64Vector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
243
244 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_RemoveAt___")]
245 public static extern void Int64Vector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
246
247 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_RemoveRange___")]
248 public static extern void Int64Vector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
249
250 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Repeat___")]
251 public static extern global::System.IntPtr Int64Vector_Repeat(long jarg1, int jarg2);
252
253 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Reverse__SWIG_0___")]
254 public static extern void Int64Vector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1);
255
256 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Reverse__SWIG_1___")]
257 public static extern void Int64Vector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
258
259 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_SetRange___")]
260 public static extern void Int64Vector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
261
262 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Contains___")]
263 public static extern bool Int64Vector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
264
265 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_IndexOf___")]
266 public static extern int Int64Vector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
267
268 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_LastIndexOf___")]
269 public static extern int Int64Vector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
270
271 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Vector_Remove___")]
272 public static extern bool Int64Vector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
273
274 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_delete_Int64Vector___")]
275 public static extern void delete_Int64Vector(global::System.Runtime.InteropServices.HandleRef jarg1);
276
277 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_new_Int64Matrix__SWIG_0___")]
278 public static extern global::System.IntPtr new_Int64Matrix__SWIG_0();
279
280 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_new_Int64Matrix__SWIG_1___")]
281 public static extern global::System.IntPtr new_Int64Matrix__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);
282
283 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_Clear___")]
284 public static extern void Int64Matrix_Clear(global::System.Runtime.InteropServices.HandleRef jarg1);
285
286 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_Add___")]
287 public static extern void Int64Matrix_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
288
289 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_size___")]
290 public static extern uint Int64Matrix_size(global::System.Runtime.InteropServices.HandleRef jarg1);
291
292 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_empty___")]
293 public static extern bool Int64Matrix_empty(global::System.Runtime.InteropServices.HandleRef jarg1);
294
295 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_capacity___")]
296 public static extern uint Int64Matrix_capacity(global::System.Runtime.InteropServices.HandleRef jarg1);
297
298 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_reserve___")]
299 public static extern void Int64Matrix_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);
300
301 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_new_Int64Matrix__SWIG_2___")]
302 public static extern global::System.IntPtr new_Int64Matrix__SWIG_2(int jarg1);
303
304 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_getitemcopy___")]
305 public static extern global::System.IntPtr Int64Matrix_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
306
307 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_getitem___")]
308 public static extern global::System.IntPtr Int64Matrix_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
309
310 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_setitem___")]
311 public static extern void Int64Matrix_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
312
313 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_AddRange___")]
314 public static extern void Int64Matrix_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
315
316 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_GetRange___")]
317 public static extern global::System.IntPtr Int64Matrix_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
318
319 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_Insert___")]
320 public static extern void Int64Matrix_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
321
322 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_InsertRange___")]
323 public static extern void Int64Matrix_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
324
325 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_RemoveAt___")]
326 public static extern void Int64Matrix_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
327
328 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_RemoveRange___")]
329 public static extern void Int64Matrix_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
330
331 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_Repeat___")]
332 public static extern global::System.IntPtr Int64Matrix_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
333
334 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_Reverse__SWIG_0___")]
335 public static extern void Int64Matrix_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1);
336
337 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_Reverse__SWIG_1___")]
338 public static extern void Int64Matrix_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
339
340 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_Int64Matrix_SetRange___")]
341 public static extern void Int64Matrix_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
342
343 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_delete_Int64Matrix___")]
344 public static extern void delete_Int64Matrix(global::System.Runtime.InteropServices.HandleRef jarg1);
345
346 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_new_KnapsackSolver__SWIG_0___")]
347 public static extern global::System.IntPtr new_KnapsackSolver__SWIG_0(string jarg1);
348
349 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_new_KnapsackSolver__SWIG_1___")]
350 public static extern global::System.IntPtr new_KnapsackSolver__SWIG_1(int jarg1, string jarg2);
351
352 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_delete_KnapsackSolver___")]
353 public static extern void delete_KnapsackSolver(global::System.Runtime.InteropServices.HandleRef jarg1);
354
355 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_Init___")]
356 public static extern void KnapsackSolver_Init(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2,
357 int len3_1, int len3_2, long[]
358 jarg3, int length4, long[] jarg4);
359
360 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_Solve___")]
361 public static extern long KnapsackSolver_Solve(global::System.Runtime.InteropServices.HandleRef jarg1);
362
363 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_BestSolutionContains___")]
364 public static extern bool KnapsackSolver_BestSolutionContains(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
365
366 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_IsSolutionOptimal___")]
367 public static extern bool KnapsackSolver_IsSolutionOptimal(global::System.Runtime.InteropServices.HandleRef jarg1);
368
369 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_GetName___")]
370 public static extern string KnapsackSolver_GetName(global::System.Runtime.InteropServices.HandleRef jarg1);
371
372 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_UseReduction___")]
373 public static extern bool KnapsackSolver_UseReduction(global::System.Runtime.InteropServices.HandleRef jarg1);
374
375 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_SetUseReduction___")]
376 public static extern void KnapsackSolver_SetUseReduction(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);
377
378 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfAlgorithms_KnapsackSolver_set_time_limit___")]
379 public static extern void KnapsackSolver_set_time_limit(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2);
380}
382}
delegate void ExceptionArgumentDelegate(string message, string paramName)
static void SWIGRegisterExceptionCallbacks_operations_research_algorithms(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)
static void SWIGRegisterExceptionCallbacksArgument_operations_research_algorithms(ExceptionArgumentDelegate argumentDelegate, ExceptionArgumentDelegate argumentNullDelegate, ExceptionArgumentDelegate argumentOutOfRangeDelegate)
static void SWIGRegisterStringCallback_operations_research_algorithms(SWIGStringDelegate stringDelegate)
static global::System.IntPtr new_Int64Matrix__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Vector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void Int64Vector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Matrix_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void Int64Matrix_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static int Int64Vector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr new_KnapsackSolver__SWIG_1(int jarg1, string jarg2)
static global::System.IntPtr Int64Vector_Repeat(long jarg1, int jarg2)
static void delete_KnapsackSolver(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Matrix_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void Int64Matrix_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Matrix_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void KnapsackSolver_SetUseReduction(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void Int64Matrix_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Int64Vector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void Int64Vector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static long KnapsackSolver_Solve(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Vector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3)
static global::System.IntPtr Int64Matrix_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static uint Int64Vector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr new_Int64Vector__SWIG_2(int jarg1)
static bool Int64Vector_empty(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Int64Vector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static string KnapsackSolver_GetName(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr new_Int64Vector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool KnapsackSolver_UseReduction(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Matrix_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static bool Int64Matrix_empty(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Vector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Int64Matrix_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void KnapsackSolver_Init(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2, int len3_1, int len3_2, long[] jarg3, int length4, long[] jarg4)
static bool KnapsackSolver_BestSolutionContains(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void Int64Matrix_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Int64Vector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.IntPtr new_Int64Matrix__SWIG_2(int jarg1)
static long Int64Vector_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool Int64Vector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr new_KnapsackSolver__SWIG_0(string jarg1)
static int Int64Vector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void Int64Vector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void delete_Int64Vector(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Vector_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
static bool KnapsackSolver_IsSolutionOptimal(global::System.Runtime.InteropServices.HandleRef jarg1)
static uint Int64Matrix_capacity(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Int64Matrix_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void Int64Matrix_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr Int64Matrix_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr Int64Vector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void Int64Vector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static long Int64Vector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void Int64Matrix_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static uint Int64Matrix_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static uint Int64Vector_capacity(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Int64Matrix_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void KnapsackSolver_set_time_limit(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void Int64Matrix_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
static void delete_Int64Matrix(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Vector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Vector_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3)