OR-Tools  9.0
linear_solver_csharp_wrap.cc
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 4.0.2
4  *
5  * This file is not intended to be easily readable and contains a number of
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG
8  * interface file instead.
9  * ----------------------------------------------------------------------------- */
10 
11 
12 #ifndef SWIGCSHARP
13 #define SWIGCSHARP
14 #endif
15 
16 
17 
18 #ifdef __cplusplus
19 /* SwigValueWrapper is described in swig.swg */
20 template<typename T> class SwigValueWrapper {
21  struct SwigMovePointer {
22  T *ptr;
23  SwigMovePointer(T *p) : ptr(p) { }
24  ~SwigMovePointer() { delete ptr; }
25  SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
26  } pointer;
27  SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
28  SwigValueWrapper(const SwigValueWrapper<T>& rhs);
29 public:
30  SwigValueWrapper() : pointer(0) { }
31  SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
32  operator T&() const { return *pointer.ptr; }
33  T *operator&() { return pointer.ptr; }
34 };
35 
36 template <typename T> T SwigValueInit() {
37  return T();
38 }
39 #endif
40 
41 /* -----------------------------------------------------------------------------
42  * This section contains generic SWIG labels for method/variable
43  * declarations/attributes, and other compiler dependent labels.
44  * ----------------------------------------------------------------------------- */
45 
46 /* template workaround for compilers that cannot correctly implement the C++ standard */
47 #ifndef SWIGTEMPLATEDISAMBIGUATOR
48 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
49 # define SWIGTEMPLATEDISAMBIGUATOR template
50 # elif defined(__HP_aCC)
51 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
52 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
53 # define SWIGTEMPLATEDISAMBIGUATOR template
54 # else
55 # define SWIGTEMPLATEDISAMBIGUATOR
56 # endif
57 #endif
58 
59 /* inline attribute */
60 #ifndef SWIGINLINE
61 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
62 # define SWIGINLINE inline
63 # else
64 # define SWIGINLINE
65 # endif
66 #endif
67 
68 /* attribute recognised by some compilers to avoid 'unused' warnings */
69 #ifndef SWIGUNUSED
70 # if defined(__GNUC__)
71 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
72 # define SWIGUNUSED __attribute__ ((__unused__))
73 # else
74 # define SWIGUNUSED
75 # endif
76 # elif defined(__ICC)
77 # define SWIGUNUSED __attribute__ ((__unused__))
78 # else
79 # define SWIGUNUSED
80 # endif
81 #endif
82 
83 #ifndef SWIG_MSC_UNSUPPRESS_4505
84 # if defined(_MSC_VER)
85 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
86 # endif
87 #endif
88 
89 #ifndef SWIGUNUSEDPARM
90 # ifdef __cplusplus
91 # define SWIGUNUSEDPARM(p)
92 # else
93 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
94 # endif
95 #endif
96 
97 /* internal SWIG method */
98 #ifndef SWIGINTERN
99 # define SWIGINTERN static SWIGUNUSED
100 #endif
101 
102 /* internal inline SWIG method */
103 #ifndef SWIGINTERNINLINE
104 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
105 #endif
106 
107 /* exporting methods */
108 #if defined(__GNUC__)
109 # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
110 # ifndef GCC_HASCLASSVISIBILITY
111 # define GCC_HASCLASSVISIBILITY
112 # endif
113 # endif
114 #endif
115 
116 #ifndef SWIGEXPORT
117 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
118 # if defined(STATIC_LINKED)
119 # define SWIGEXPORT
120 # else
121 # define SWIGEXPORT __declspec(dllexport)
122 # endif
123 # else
124 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
125 # define SWIGEXPORT __attribute__ ((visibility("default")))
126 # else
127 # define SWIGEXPORT
128 # endif
129 # endif
130 #endif
131 
132 /* calling conventions for Windows */
133 #ifndef SWIGSTDCALL
134 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
135 # define SWIGSTDCALL __stdcall
136 # else
137 # define SWIGSTDCALL
138 # endif
139 #endif
140 
141 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
142 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
143 # define _CRT_SECURE_NO_DEPRECATE
144 #endif
145 
146 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
147 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
148 # define _SCL_SECURE_NO_DEPRECATE
149 #endif
150 
151 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
152 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
153 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
154 #endif
155 
156 /* Intel's compiler complains if a variable which was never initialised is
157  * cast to void, which is a common idiom which we use to indicate that we
158  * are aware a variable isn't used. So we just silence that warning.
159  * See: https://github.com/swig/swig/issues/192 for more discussion.
160  */
161 #ifdef __INTEL_COMPILER
162 # pragma warning disable 592
163 #endif
164 
165 
166 #include <stdlib.h>
167 #include <string.h>
168 #include <stdio.h>
169 
170 
171 /* Support for throwing C# exceptions from C/C++. There are two types:
172  * Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */
173 typedef enum {
186 
187 typedef enum {
192 
193 typedef void (SWIGSTDCALL* SWIG_CSharpExceptionCallback_t)(const char *);
194 typedef void (SWIGSTDCALL* SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *);
195 
196 typedef struct {
200 
201 typedef struct {
205 
213  { SWIG_CSharpIOException, NULL },
218 };
219 
224 };
225 
228  if ((size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) {
230  }
231  callback(msg);
232 }
233 
234 static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) {
236  if ((size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) {
238  }
239  callback(msg, param_name);
240 }
241 
242 
243 #ifdef __cplusplus
244 extern "C"
245 #endif
247  SWIG_CSharpExceptionCallback_t applicationCallback,
248  SWIG_CSharpExceptionCallback_t arithmeticCallback,
249  SWIG_CSharpExceptionCallback_t divideByZeroCallback,
250  SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback,
251  SWIG_CSharpExceptionCallback_t invalidCastCallback,
252  SWIG_CSharpExceptionCallback_t invalidOperationCallback,
254  SWIG_CSharpExceptionCallback_t nullReferenceCallback,
255  SWIG_CSharpExceptionCallback_t outOfMemoryCallback,
256  SWIG_CSharpExceptionCallback_t overflowCallback,
257  SWIG_CSharpExceptionCallback_t systemCallback) {
269 }
270 
271 #ifdef __cplusplus
272 extern "C"
273 #endif
276  SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback,
277  SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback) {
281 }
282 
283 
284 /* Callback for returning strings to C# without leaking memory */
285 typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *);
287 
288 
289 #ifdef __cplusplus
290 extern "C"
291 #endif
294 }
295 
296 
297 /* Contract support */
298 
299 #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else
300 
301 
302 #include <stdint.h> // Use the C99 official header
303 
304 
305 #define SWIGWORDSIZE64
306 #ifndef LONG_MAX
307 #include <limits.h>
308 #endif
309 #if (__WORDSIZE == 32) || (LONG_MAX == INT_MAX)
310 # error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32"
311 #endif
312 
313 
314 #include <typeinfo>
315 #include <stdexcept>
316 
317 
318 #include <vector>
319 #include <algorithm>
320 #include <stdexcept>
321 
322 
323 #include <cstdint>
324 #include <string>
325 #include <vector>
326 
327 #include "ortools/base/basictypes.h"
328 
329 
330 #include <string>
331 
332 
333 #include <vector>
335 
337  std::vector< int >* pv = 0;
338  if (capacity >= 0) {
339  pv = new std::vector< int >();
340  pv->reserve(capacity);
341  } else {
342  throw std::out_of_range("capacity");
343  }
344  return pv;
345  }
346 SWIGINTERN int std_vector_Sl_int_Sg__getitemcopy(std::vector< int > *self,int index){
347  if (index>=0 && index<(int)self->size())
348  return (*self)[index];
349  else
350  throw std::out_of_range("index");
351  }
352 SWIGINTERN std::vector< int >::value_type const &std_vector_Sl_int_Sg__getitem(std::vector< int > *self,int index){
353  if (index>=0 && index<(int)self->size())
354  return (*self)[index];
355  else
356  throw std::out_of_range("index");
357  }
358 SWIGINTERN void std_vector_Sl_int_Sg__setitem(std::vector< int > *self,int index,int const &val){
359  if (index>=0 && index<(int)self->size())
360  (*self)[index] = val;
361  else
362  throw std::out_of_range("index");
363  }
364 SWIGINTERN void std_vector_Sl_int_Sg__AddRange(std::vector< int > *self,std::vector< int > const &values){
365  self->insert(self->end(), values.begin(), values.end());
366  }
367 SWIGINTERN std::vector< int > *std_vector_Sl_int_Sg__GetRange(std::vector< int > *self,int index,int count){
368  if (index < 0)
369  throw std::out_of_range("index");
370  if (count < 0)
371  throw std::out_of_range("count");
372  if (index >= (int)self->size()+1 || index+count > (int)self->size())
373  throw std::invalid_argument("invalid range");
374  return new std::vector< int >(self->begin()+index, self->begin()+index+count);
375  }
376 SWIGINTERN void std_vector_Sl_int_Sg__Insert(std::vector< int > *self,int index,int const &x){
377  if (index>=0 && index<(int)self->size()+1)
378  self->insert(self->begin()+index, x);
379  else
380  throw std::out_of_range("index");
381  }
382 SWIGINTERN void std_vector_Sl_int_Sg__InsertRange(std::vector< int > *self,int index,std::vector< int > const &values){
383  if (index>=0 && index<(int)self->size()+1)
384  self->insert(self->begin()+index, values.begin(), values.end());
385  else
386  throw std::out_of_range("index");
387  }
388 SWIGINTERN void std_vector_Sl_int_Sg__RemoveAt(std::vector< int > *self,int index){
389  if (index>=0 && index<(int)self->size())
390  self->erase(self->begin() + index);
391  else
392  throw std::out_of_range("index");
393  }
394 SWIGINTERN void std_vector_Sl_int_Sg__RemoveRange(std::vector< int > *self,int index,int count){
395  if (index < 0)
396  throw std::out_of_range("index");
397  if (count < 0)
398  throw std::out_of_range("count");
399  if (index >= (int)self->size()+1 || index+count > (int)self->size())
400  throw std::invalid_argument("invalid range");
401  self->erase(self->begin()+index, self->begin()+index+count);
402  }
403 SWIGINTERN std::vector< int > *std_vector_Sl_int_Sg__Repeat(int const &value,int count){
404  if (count < 0)
405  throw std::out_of_range("count");
406  return new std::vector< int >(count, value);
407  }
408 SWIGINTERN void std_vector_Sl_int_Sg__Reverse__SWIG_0(std::vector< int > *self){
409  std::reverse(self->begin(), self->end());
410  }
411 SWIGINTERN void std_vector_Sl_int_Sg__Reverse__SWIG_1(std::vector< int > *self,int index,int count){
412  if (index < 0)
413  throw std::out_of_range("index");
414  if (count < 0)
415  throw std::out_of_range("count");
416  if (index >= (int)self->size()+1 || index+count > (int)self->size())
417  throw std::invalid_argument("invalid range");
418  std::reverse(self->begin()+index, self->begin()+index+count);
419  }
420 SWIGINTERN void std_vector_Sl_int_Sg__SetRange(std::vector< int > *self,int index,std::vector< int > const &values){
421  if (index < 0)
422  throw std::out_of_range("index");
423  if (index+values.size() > self->size())
424  throw std::out_of_range("index");
425  std::copy(values.begin(), values.end(), self->begin()+index);
426  }
427 SWIGINTERN bool std_vector_Sl_int_Sg__Contains(std::vector< int > *self,int const &value){
428  return std::find(self->begin(), self->end(), value) != self->end();
429  }
430 SWIGINTERN int std_vector_Sl_int_Sg__IndexOf(std::vector< int > *self,int const &value){
431  int index = -1;
432  std::vector< int >::iterator it = std::find(self->begin(), self->end(), value);
433  if (it != self->end())
434  index = (int)(it - self->begin());
435  return index;
436  }
437 SWIGINTERN int std_vector_Sl_int_Sg__LastIndexOf(std::vector< int > *self,int const &value){
438  int index = -1;
439  std::vector< int >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value);
440  if (rit != self->rend())
441  index = (int)(self->rend() - 1 - rit);
442  return index;
443  }
444 SWIGINTERN bool std_vector_Sl_int_Sg__Remove(std::vector< int > *self,int const &value){
445  std::vector< int >::iterator it = std::find(self->begin(), self->end(), value);
446  if (it != self->end()) {
447  self->erase(it);
448  return true;
449  }
450  return false;
451  }
453  std::vector< std::vector< int > >* pv = 0;
454  if (capacity >= 0) {
455  pv = new std::vector< std::vector< int > >();
456  pv->reserve(capacity);
457  } else {
458  throw std::out_of_range("capacity");
459  }
460  return pv;
461  }
462 SWIGINTERN std::vector< int > std_vector_Sl_std_vector_Sl_int_Sg__Sg__getitemcopy(std::vector< std::vector< int > > *self,int index){
463  if (index>=0 && index<(int)self->size())
464  return (*self)[index];
465  else
466  throw std::out_of_range("index");
467  }
468 SWIGINTERN std::vector< std::vector< int > >::value_type const &std_vector_Sl_std_vector_Sl_int_Sg__Sg__getitem(std::vector< std::vector< int > > *self,int index){
469  if (index>=0 && index<(int)self->size())
470  return (*self)[index];
471  else
472  throw std::out_of_range("index");
473  }
474 SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__setitem(std::vector< std::vector< int > > *self,int index,std::vector< int > const &val){
475  if (index>=0 && index<(int)self->size())
476  (*self)[index] = val;
477  else
478  throw std::out_of_range("index");
479  }
480 SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__AddRange(std::vector< std::vector< int > > *self,std::vector< std::vector< int > > const &values){
481  self->insert(self->end(), values.begin(), values.end());
482  }
483 SWIGINTERN std::vector< std::vector< int > > *std_vector_Sl_std_vector_Sl_int_Sg__Sg__GetRange(std::vector< std::vector< int > > *self,int index,int count){
484  if (index < 0)
485  throw std::out_of_range("index");
486  if (count < 0)
487  throw std::out_of_range("count");
488  if (index >= (int)self->size()+1 || index+count > (int)self->size())
489  throw std::invalid_argument("invalid range");
490  return new std::vector< std::vector< int > >(self->begin()+index, self->begin()+index+count);
491  }
492 SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__Insert(std::vector< std::vector< int > > *self,int index,std::vector< int > const &x){
493  if (index>=0 && index<(int)self->size()+1)
494  self->insert(self->begin()+index, x);
495  else
496  throw std::out_of_range("index");
497  }
498 SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__InsertRange(std::vector< std::vector< int > > *self,int index,std::vector< std::vector< int > > const &values){
499  if (index>=0 && index<(int)self->size()+1)
500  self->insert(self->begin()+index, values.begin(), values.end());
501  else
502  throw std::out_of_range("index");
503  }
504 SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__RemoveAt(std::vector< std::vector< int > > *self,int index){
505  if (index>=0 && index<(int)self->size())
506  self->erase(self->begin() + index);
507  else
508  throw std::out_of_range("index");
509  }
510 SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__RemoveRange(std::vector< std::vector< int > > *self,int index,int count){
511  if (index < 0)
512  throw std::out_of_range("index");
513  if (count < 0)
514  throw std::out_of_range("count");
515  if (index >= (int)self->size()+1 || index+count > (int)self->size())
516  throw std::invalid_argument("invalid range");
517  self->erase(self->begin()+index, self->begin()+index+count);
518  }
519 SWIGINTERN std::vector< std::vector< int > > *std_vector_Sl_std_vector_Sl_int_Sg__Sg__Repeat(std::vector< int > const &value,int count){
520  if (count < 0)
521  throw std::out_of_range("count");
522  return new std::vector< std::vector< int > >(count, value);
523  }
524 SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__Reverse__SWIG_0(std::vector< std::vector< int > > *self){
525  std::reverse(self->begin(), self->end());
526  }
527 SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__Reverse__SWIG_1(std::vector< std::vector< int > > *self,int index,int count){
528  if (index < 0)
529  throw std::out_of_range("index");
530  if (count < 0)
531  throw std::out_of_range("count");
532  if (index >= (int)self->size()+1 || index+count > (int)self->size())
533  throw std::invalid_argument("invalid range");
534  std::reverse(self->begin()+index, self->begin()+index+count);
535  }
536 SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__SetRange(std::vector< std::vector< int > > *self,int index,std::vector< std::vector< int > > const &values){
537  if (index < 0)
538  throw std::out_of_range("index");
539  if (index+values.size() > self->size())
540  throw std::out_of_range("index");
541  std::copy(values.begin(), values.end(), self->begin()+index);
542  }
544  std::vector< long >* pv = 0;
545  if (capacity >= 0) {
546  pv = new std::vector< long >();
547  pv->reserve(capacity);
548  } else {
549  throw std::out_of_range("capacity");
550  }
551  return pv;
552  }
553 SWIGINTERN long std_vector_Sl_int64_t_Sg__getitemcopy(std::vector< int64_t > *self,int index){
554  if (index>=0 && index<(int)self->size())
555  return (*self)[index];
556  else
557  throw std::out_of_range("index");
558  }
559 SWIGINTERN std::vector< long >::value_type const &std_vector_Sl_int64_t_Sg__getitem(std::vector< int64_t > *self,int index){
560  if (index>=0 && index<(int)self->size())
561  return (*self)[index];
562  else
563  throw std::out_of_range("index");
564  }
565 SWIGINTERN void std_vector_Sl_int64_t_Sg__setitem(std::vector< int64_t > *self,int index,long const &val){
566  if (index>=0 && index<(int)self->size())
567  (*self)[index] = val;
568  else
569  throw std::out_of_range("index");
570  }
571 SWIGINTERN void std_vector_Sl_int64_t_Sg__AddRange(std::vector< int64_t > *self,std::vector< long > const &values){
572  self->insert(self->end(), values.begin(), values.end());
573  }
574 SWIGINTERN std::vector< long > *std_vector_Sl_int64_t_Sg__GetRange(std::vector< int64_t > *self,int index,int count){
575  if (index < 0)
576  throw std::out_of_range("index");
577  if (count < 0)
578  throw std::out_of_range("count");
579  if (index >= (int)self->size()+1 || index+count > (int)self->size())
580  throw std::invalid_argument("invalid range");
581  return new std::vector< long >(self->begin()+index, self->begin()+index+count);
582  }
583 SWIGINTERN void std_vector_Sl_int64_t_Sg__Insert(std::vector< int64_t > *self,int index,long const &x){
584  if (index>=0 && index<(int)self->size()+1)
585  self->insert(self->begin()+index, x);
586  else
587  throw std::out_of_range("index");
588  }
589 SWIGINTERN void std_vector_Sl_int64_t_Sg__InsertRange(std::vector< int64_t > *self,int index,std::vector< long > const &values){
590  if (index>=0 && index<(int)self->size()+1)
591  self->insert(self->begin()+index, values.begin(), values.end());
592  else
593  throw std::out_of_range("index");
594  }
595 SWIGINTERN void std_vector_Sl_int64_t_Sg__RemoveAt(std::vector< int64_t > *self,int index){
596  if (index>=0 && index<(int)self->size())
597  self->erase(self->begin() + index);
598  else
599  throw std::out_of_range("index");
600  }
601 SWIGINTERN void std_vector_Sl_int64_t_Sg__RemoveRange(std::vector< int64_t > *self,int index,int count){
602  if (index < 0)
603  throw std::out_of_range("index");
604  if (count < 0)
605  throw std::out_of_range("count");
606  if (index >= (int)self->size()+1 || index+count > (int)self->size())
607  throw std::invalid_argument("invalid range");
608  self->erase(self->begin()+index, self->begin()+index+count);
609  }
610 SWIGINTERN std::vector< long > *std_vector_Sl_int64_t_Sg__Repeat(long const &value,int count){
611  if (count < 0)
612  throw std::out_of_range("count");
613  return new std::vector< long >(count, value);
614  }
615 SWIGINTERN void std_vector_Sl_int64_t_Sg__Reverse__SWIG_0(std::vector< int64_t > *self){
616  std::reverse(self->begin(), self->end());
617  }
618 SWIGINTERN void std_vector_Sl_int64_t_Sg__Reverse__SWIG_1(std::vector< int64_t > *self,int index,int count){
619  if (index < 0)
620  throw std::out_of_range("index");
621  if (count < 0)
622  throw std::out_of_range("count");
623  if (index >= (int)self->size()+1 || index+count > (int)self->size())
624  throw std::invalid_argument("invalid range");
625  std::reverse(self->begin()+index, self->begin()+index+count);
626  }
627 SWIGINTERN void std_vector_Sl_int64_t_Sg__SetRange(std::vector< int64_t > *self,int index,std::vector< long > const &values){
628  if (index < 0)
629  throw std::out_of_range("index");
630  if (index+values.size() > self->size())
631  throw std::out_of_range("index");
632  std::copy(values.begin(), values.end(), self->begin()+index);
633  }
634 SWIGINTERN bool std_vector_Sl_int64_t_Sg__Contains(std::vector< int64_t > *self,long const &value){
635  return std::find(self->begin(), self->end(), value) != self->end();
636  }
637 SWIGINTERN int std_vector_Sl_int64_t_Sg__IndexOf(std::vector< int64_t > *self,long const &value){
638  int index = -1;
639  std::vector< long >::iterator it = std::find(self->begin(), self->end(), value);
640  if (it != self->end())
641  index = (int)(it - self->begin());
642  return index;
643  }
644 SWIGINTERN int std_vector_Sl_int64_t_Sg__LastIndexOf(std::vector< int64_t > *self,long const &value){
645  int index = -1;
646  std::vector< long >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value);
647  if (rit != self->rend())
648  index = (int)(self->rend() - 1 - rit);
649  return index;
650  }
651 SWIGINTERN bool std_vector_Sl_int64_t_Sg__Remove(std::vector< int64_t > *self,long const &value){
652  std::vector< long >::iterator it = std::find(self->begin(), self->end(), value);
653  if (it != self->end()) {
654  self->erase(it);
655  return true;
656  }
657  return false;
658  }
660  std::vector< std::vector< int64_t > >* pv = 0;
661  if (capacity >= 0) {
662  pv = new std::vector< std::vector< int64_t > >();
663  pv->reserve(capacity);
664  } else {
665  throw std::out_of_range("capacity");
666  }
667  return pv;
668  }
669 SWIGINTERN std::vector< int64_t > std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__getitemcopy(std::vector< std::vector< int64_t > > *self,int index){
670  if (index>=0 && index<(int)self->size())
671  return (*self)[index];
672  else
673  throw std::out_of_range("index");
674  }
675 SWIGINTERN std::vector< std::vector< long > >::value_type const &std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__getitem(std::vector< std::vector< int64_t > > *self,int index){
676  if (index>=0 && index<(int)self->size())
677  return (*self)[index];
678  else
679  throw std::out_of_range("index");
680  }
681 SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__setitem(std::vector< std::vector< int64_t > > *self,int index,std::vector< int64_t > const &val){
682  if (index>=0 && index<(int)self->size())
683  (*self)[index] = val;
684  else
685  throw std::out_of_range("index");
686  }
687 SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__AddRange(std::vector< std::vector< int64_t > > *self,std::vector< std::vector< int64_t > > const &values){
688  self->insert(self->end(), values.begin(), values.end());
689  }
690 SWIGINTERN std::vector< std::vector< int64_t > > *std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__GetRange(std::vector< std::vector< int64_t > > *self,int index,int count){
691  if (index < 0)
692  throw std::out_of_range("index");
693  if (count < 0)
694  throw std::out_of_range("count");
695  if (index >= (int)self->size()+1 || index+count > (int)self->size())
696  throw std::invalid_argument("invalid range");
697  return new std::vector< std::vector< int64_t > >(self->begin()+index, self->begin()+index+count);
698  }
699 SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Insert(std::vector< std::vector< int64_t > > *self,int index,std::vector< int64_t > const &x){
700  if (index>=0 && index<(int)self->size()+1)
701  self->insert(self->begin()+index, x);
702  else
703  throw std::out_of_range("index");
704  }
705 SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__InsertRange(std::vector< std::vector< int64_t > > *self,int index,std::vector< std::vector< int64_t > > const &values){
706  if (index>=0 && index<(int)self->size()+1)
707  self->insert(self->begin()+index, values.begin(), values.end());
708  else
709  throw std::out_of_range("index");
710  }
711 SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__RemoveAt(std::vector< std::vector< int64_t > > *self,int index){
712  if (index>=0 && index<(int)self->size())
713  self->erase(self->begin() + index);
714  else
715  throw std::out_of_range("index");
716  }
717 SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__RemoveRange(std::vector< std::vector< int64_t > > *self,int index,int count){
718  if (index < 0)
719  throw std::out_of_range("index");
720  if (count < 0)
721  throw std::out_of_range("count");
722  if (index >= (int)self->size()+1 || index+count > (int)self->size())
723  throw std::invalid_argument("invalid range");
724  self->erase(self->begin()+index, self->begin()+index+count);
725  }
726 SWIGINTERN std::vector< std::vector< int64_t > > *std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Repeat(std::vector< int64_t > const &value,int count){
727  if (count < 0)
728  throw std::out_of_range("count");
729  return new std::vector< std::vector< int64_t > >(count, value);
730  }
731 SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Reverse__SWIG_0(std::vector< std::vector< int64_t > > *self){
732  std::reverse(self->begin(), self->end());
733  }
734 SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Reverse__SWIG_1(std::vector< std::vector< int64_t > > *self,int index,int count){
735  if (index < 0)
736  throw std::out_of_range("index");
737  if (count < 0)
738  throw std::out_of_range("count");
739  if (index >= (int)self->size()+1 || index+count > (int)self->size())
740  throw std::invalid_argument("invalid range");
741  std::reverse(self->begin()+index, self->begin()+index+count);
742  }
743 SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__SetRange(std::vector< std::vector< int64_t > > *self,int index,std::vector< std::vector< int64_t > > const &values){
744  if (index < 0)
745  throw std::out_of_range("index");
746  if (index+values.size() > self->size())
747  throw std::out_of_range("index");
748  std::copy(values.begin(), values.end(), self->begin()+index);
749  }
750 
754 
756  std::vector< double >* pv = 0;
757  if (capacity >= 0) {
758  pv = new std::vector< double >();
759  pv->reserve(capacity);
760  } else {
761  throw std::out_of_range("capacity");
762  }
763  return pv;
764  }
765 SWIGINTERN double std_vector_Sl_double_Sg__getitemcopy(std::vector< double > *self,int index){
766  if (index>=0 && index<(int)self->size())
767  return (*self)[index];
768  else
769  throw std::out_of_range("index");
770  }
771 SWIGINTERN std::vector< double >::value_type const &std_vector_Sl_double_Sg__getitem(std::vector< double > *self,int index){
772  if (index>=0 && index<(int)self->size())
773  return (*self)[index];
774  else
775  throw std::out_of_range("index");
776  }
777 SWIGINTERN void std_vector_Sl_double_Sg__setitem(std::vector< double > *self,int index,double const &val){
778  if (index>=0 && index<(int)self->size())
779  (*self)[index] = val;
780  else
781  throw std::out_of_range("index");
782  }
783 SWIGINTERN void std_vector_Sl_double_Sg__AddRange(std::vector< double > *self,std::vector< double > const &values){
784  self->insert(self->end(), values.begin(), values.end());
785  }
786 SWIGINTERN std::vector< double > *std_vector_Sl_double_Sg__GetRange(std::vector< double > *self,int index,int count){
787  if (index < 0)
788  throw std::out_of_range("index");
789  if (count < 0)
790  throw std::out_of_range("count");
791  if (index >= (int)self->size()+1 || index+count > (int)self->size())
792  throw std::invalid_argument("invalid range");
793  return new std::vector< double >(self->begin()+index, self->begin()+index+count);
794  }
795 SWIGINTERN void std_vector_Sl_double_Sg__Insert(std::vector< double > *self,int index,double const &x){
796  if (index>=0 && index<(int)self->size()+1)
797  self->insert(self->begin()+index, x);
798  else
799  throw std::out_of_range("index");
800  }
801 SWIGINTERN void std_vector_Sl_double_Sg__InsertRange(std::vector< double > *self,int index,std::vector< double > const &values){
802  if (index>=0 && index<(int)self->size()+1)
803  self->insert(self->begin()+index, values.begin(), values.end());
804  else
805  throw std::out_of_range("index");
806  }
807 SWIGINTERN void std_vector_Sl_double_Sg__RemoveAt(std::vector< double > *self,int index){
808  if (index>=0 && index<(int)self->size())
809  self->erase(self->begin() + index);
810  else
811  throw std::out_of_range("index");
812  }
813 SWIGINTERN void std_vector_Sl_double_Sg__RemoveRange(std::vector< double > *self,int index,int count){
814  if (index < 0)
815  throw std::out_of_range("index");
816  if (count < 0)
817  throw std::out_of_range("count");
818  if (index >= (int)self->size()+1 || index+count > (int)self->size())
819  throw std::invalid_argument("invalid range");
820  self->erase(self->begin()+index, self->begin()+index+count);
821  }
822 SWIGINTERN std::vector< double > *std_vector_Sl_double_Sg__Repeat(double const &value,int count){
823  if (count < 0)
824  throw std::out_of_range("count");
825  return new std::vector< double >(count, value);
826  }
827 SWIGINTERN void std_vector_Sl_double_Sg__Reverse__SWIG_0(std::vector< double > *self){
828  std::reverse(self->begin(), self->end());
829  }
830 SWIGINTERN void std_vector_Sl_double_Sg__Reverse__SWIG_1(std::vector< double > *self,int index,int count){
831  if (index < 0)
832  throw std::out_of_range("index");
833  if (count < 0)
834  throw std::out_of_range("count");
835  if (index >= (int)self->size()+1 || index+count > (int)self->size())
836  throw std::invalid_argument("invalid range");
837  std::reverse(self->begin()+index, self->begin()+index+count);
838  }
839 SWIGINTERN void std_vector_Sl_double_Sg__SetRange(std::vector< double > *self,int index,std::vector< double > const &values){
840  if (index < 0)
841  throw std::out_of_range("index");
842  if (index+values.size() > self->size())
843  throw std::out_of_range("index");
844  std::copy(values.begin(), values.end(), self->begin()+index);
845  }
846 SWIGINTERN bool std_vector_Sl_double_Sg__Contains(std::vector< double > *self,double const &value){
847  return std::find(self->begin(), self->end(), value) != self->end();
848  }
849 SWIGINTERN int std_vector_Sl_double_Sg__IndexOf(std::vector< double > *self,double const &value){
850  int index = -1;
851  std::vector< double >::iterator it = std::find(self->begin(), self->end(), value);
852  if (it != self->end())
853  index = (int)(it - self->begin());
854  return index;
855  }
856 SWIGINTERN int std_vector_Sl_double_Sg__LastIndexOf(std::vector< double > *self,double const &value){
857  int index = -1;
858  std::vector< double >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value);
859  if (rit != self->rend())
860  index = (int)(self->rend() - 1 - rit);
861  return index;
862  }
863 SWIGINTERN bool std_vector_Sl_double_Sg__Remove(std::vector< double > *self,double const &value){
864  std::vector< double >::iterator it = std::find(self->begin(), self->end(), value);
865  if (it != self->end()) {
866  self->erase(it);
867  return true;
868  }
869  return false;
870  }
871 SWIGINTERN std::vector< operations_research::MPConstraint * > *new_std_vector_Sl_operations_research_MPConstraint_Sm__Sg___SWIG_2(int capacity){
872  std::vector< operations_research::MPConstraint* >* pv = 0;
873  if (capacity >= 0) {
874  pv = new std::vector< operations_research::MPConstraint* >();
875  pv->reserve(capacity);
876  } else {
877  throw std::out_of_range("capacity");
878  }
879  return pv;
880  }
882  if (index>=0 && index<(int)self->size())
883  return (*self)[index];
884  else
885  throw std::out_of_range("index");
886  }
887 SWIGINTERN std::vector< operations_research::MPConstraint * >::value_type const &std_vector_Sl_operations_research_MPConstraint_Sm__Sg__getitem(std::vector< operations_research::MPConstraint * > *self,int index){
888  if (index>=0 && index<(int)self->size())
889  return (*self)[index];
890  else
891  throw std::out_of_range("index");
892  }
893 SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__setitem(std::vector< operations_research::MPConstraint * > *self,int index,operations_research::MPConstraint *const &val){
894  if (index>=0 && index<(int)self->size())
895  (*self)[index] = val;
896  else
897  throw std::out_of_range("index");
898  }
899 SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__AddRange(std::vector< operations_research::MPConstraint * > *self,std::vector< operations_research::MPConstraint * > const &values){
900  self->insert(self->end(), values.begin(), values.end());
901  }
902 SWIGINTERN std::vector< operations_research::MPConstraint * > *std_vector_Sl_operations_research_MPConstraint_Sm__Sg__GetRange(std::vector< operations_research::MPConstraint * > *self,int index,int count){
903  if (index < 0)
904  throw std::out_of_range("index");
905  if (count < 0)
906  throw std::out_of_range("count");
907  if (index >= (int)self->size()+1 || index+count > (int)self->size())
908  throw std::invalid_argument("invalid range");
909  return new std::vector< operations_research::MPConstraint* >(self->begin()+index, self->begin()+index+count);
910  }
911 SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Insert(std::vector< operations_research::MPConstraint * > *self,int index,operations_research::MPConstraint *const &x){
912  if (index>=0 && index<(int)self->size()+1)
913  self->insert(self->begin()+index, x);
914  else
915  throw std::out_of_range("index");
916  }
917 SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__InsertRange(std::vector< operations_research::MPConstraint * > *self,int index,std::vector< operations_research::MPConstraint * > const &values){
918  if (index>=0 && index<(int)self->size()+1)
919  self->insert(self->begin()+index, values.begin(), values.end());
920  else
921  throw std::out_of_range("index");
922  }
923 SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__RemoveAt(std::vector< operations_research::MPConstraint * > *self,int index){
924  if (index>=0 && index<(int)self->size())
925  self->erase(self->begin() + index);
926  else
927  throw std::out_of_range("index");
928  }
929 SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__RemoveRange(std::vector< operations_research::MPConstraint * > *self,int index,int count){
930  if (index < 0)
931  throw std::out_of_range("index");
932  if (count < 0)
933  throw std::out_of_range("count");
934  if (index >= (int)self->size()+1 || index+count > (int)self->size())
935  throw std::invalid_argument("invalid range");
936  self->erase(self->begin()+index, self->begin()+index+count);
937  }
938 SWIGINTERN std::vector< operations_research::MPConstraint * > *std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Repeat(operations_research::MPConstraint *const &value,int count){
939  if (count < 0)
940  throw std::out_of_range("count");
941  return new std::vector< operations_research::MPConstraint* >(count, value);
942  }
943 SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Reverse__SWIG_0(std::vector< operations_research::MPConstraint * > *self){
944  std::reverse(self->begin(), self->end());
945  }
946 SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Reverse__SWIG_1(std::vector< operations_research::MPConstraint * > *self,int index,int count){
947  if (index < 0)
948  throw std::out_of_range("index");
949  if (count < 0)
950  throw std::out_of_range("count");
951  if (index >= (int)self->size()+1 || index+count > (int)self->size())
952  throw std::invalid_argument("invalid range");
953  std::reverse(self->begin()+index, self->begin()+index+count);
954  }
955 SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__SetRange(std::vector< operations_research::MPConstraint * > *self,int index,std::vector< operations_research::MPConstraint * > const &values){
956  if (index < 0)
957  throw std::out_of_range("index");
958  if (index+values.size() > self->size())
959  throw std::out_of_range("index");
960  std::copy(values.begin(), values.end(), self->begin()+index);
961  }
962 SWIGINTERN bool std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Contains(std::vector< operations_research::MPConstraint * > *self,operations_research::MPConstraint *const &value){
963  return std::find(self->begin(), self->end(), value) != self->end();
964  }
965 SWIGINTERN int std_vector_Sl_operations_research_MPConstraint_Sm__Sg__IndexOf(std::vector< operations_research::MPConstraint * > *self,operations_research::MPConstraint *const &value){
966  int index = -1;
967  std::vector< operations_research::MPConstraint* >::iterator it = std::find(self->begin(), self->end(), value);
968  if (it != self->end())
969  index = (int)(it - self->begin());
970  return index;
971  }
973  int index = -1;
974  std::vector< operations_research::MPConstraint* >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value);
975  if (rit != self->rend())
976  index = (int)(self->rend() - 1 - rit);
977  return index;
978  }
979 SWIGINTERN bool std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Remove(std::vector< operations_research::MPConstraint * > *self,operations_research::MPConstraint *const &value){
980  std::vector< operations_research::MPConstraint* >::iterator it = std::find(self->begin(), self->end(), value);
981  if (it != self->end()) {
982  self->erase(it);
983  return true;
984  }
985  return false;
986  }
987 SWIGINTERN std::vector< operations_research::MPVariable * > *new_std_vector_Sl_operations_research_MPVariable_Sm__Sg___SWIG_2(int capacity){
988  std::vector< operations_research::MPVariable* >* pv = 0;
989  if (capacity >= 0) {
990  pv = new std::vector< operations_research::MPVariable* >();
991  pv->reserve(capacity);
992  } else {
993  throw std::out_of_range("capacity");
994  }
995  return pv;
996  }
998  if (index>=0 && index<(int)self->size())
999  return (*self)[index];
1000  else
1001  throw std::out_of_range("index");
1002  }
1003 SWIGINTERN std::vector< operations_research::MPVariable * >::value_type const &std_vector_Sl_operations_research_MPVariable_Sm__Sg__getitem(std::vector< operations_research::MPVariable * > *self,int index){
1004  if (index>=0 && index<(int)self->size())
1005  return (*self)[index];
1006  else
1007  throw std::out_of_range("index");
1008  }
1009 SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__setitem(std::vector< operations_research::MPVariable * > *self,int index,operations_research::MPVariable *const &val){
1010  if (index>=0 && index<(int)self->size())
1011  (*self)[index] = val;
1012  else
1013  throw std::out_of_range("index");
1014  }
1015 SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__AddRange(std::vector< operations_research::MPVariable * > *self,std::vector< operations_research::MPVariable * > const &values){
1016  self->insert(self->end(), values.begin(), values.end());
1017  }
1018 SWIGINTERN std::vector< operations_research::MPVariable * > *std_vector_Sl_operations_research_MPVariable_Sm__Sg__GetRange(std::vector< operations_research::MPVariable * > *self,int index,int count){
1019  if (index < 0)
1020  throw std::out_of_range("index");
1021  if (count < 0)
1022  throw std::out_of_range("count");
1023  if (index >= (int)self->size()+1 || index+count > (int)self->size())
1024  throw std::invalid_argument("invalid range");
1025  return new std::vector< operations_research::MPVariable* >(self->begin()+index, self->begin()+index+count);
1026  }
1027 SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__Insert(std::vector< operations_research::MPVariable * > *self,int index,operations_research::MPVariable *const &x){
1028  if (index>=0 && index<(int)self->size()+1)
1029  self->insert(self->begin()+index, x);
1030  else
1031  throw std::out_of_range("index");
1032  }
1033 SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__InsertRange(std::vector< operations_research::MPVariable * > *self,int index,std::vector< operations_research::MPVariable * > const &values){
1034  if (index>=0 && index<(int)self->size()+1)
1035  self->insert(self->begin()+index, values.begin(), values.end());
1036  else
1037  throw std::out_of_range("index");
1038  }
1039 SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__RemoveAt(std::vector< operations_research::MPVariable * > *self,int index){
1040  if (index>=0 && index<(int)self->size())
1041  self->erase(self->begin() + index);
1042  else
1043  throw std::out_of_range("index");
1044  }
1045 SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__RemoveRange(std::vector< operations_research::MPVariable * > *self,int index,int count){
1046  if (index < 0)
1047  throw std::out_of_range("index");
1048  if (count < 0)
1049  throw std::out_of_range("count");
1050  if (index >= (int)self->size()+1 || index+count > (int)self->size())
1051  throw std::invalid_argument("invalid range");
1052  self->erase(self->begin()+index, self->begin()+index+count);
1053  }
1054 SWIGINTERN std::vector< operations_research::MPVariable * > *std_vector_Sl_operations_research_MPVariable_Sm__Sg__Repeat(operations_research::MPVariable *const &value,int count){
1055  if (count < 0)
1056  throw std::out_of_range("count");
1057  return new std::vector< operations_research::MPVariable* >(count, value);
1058  }
1059 SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__Reverse__SWIG_0(std::vector< operations_research::MPVariable * > *self){
1060  std::reverse(self->begin(), self->end());
1061  }
1062 SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__Reverse__SWIG_1(std::vector< operations_research::MPVariable * > *self,int index,int count){
1063  if (index < 0)
1064  throw std::out_of_range("index");
1065  if (count < 0)
1066  throw std::out_of_range("count");
1067  if (index >= (int)self->size()+1 || index+count > (int)self->size())
1068  throw std::invalid_argument("invalid range");
1069  std::reverse(self->begin()+index, self->begin()+index+count);
1070  }
1071 SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__SetRange(std::vector< operations_research::MPVariable * > *self,int index,std::vector< operations_research::MPVariable * > const &values){
1072  if (index < 0)
1073  throw std::out_of_range("index");
1074  if (index+values.size() > self->size())
1075  throw std::out_of_range("index");
1076  std::copy(values.begin(), values.end(), self->begin()+index);
1077  }
1078 SWIGINTERN bool std_vector_Sl_operations_research_MPVariable_Sm__Sg__Contains(std::vector< operations_research::MPVariable * > *self,operations_research::MPVariable *const &value){
1079  return std::find(self->begin(), self->end(), value) != self->end();
1080  }
1081 SWIGINTERN int std_vector_Sl_operations_research_MPVariable_Sm__Sg__IndexOf(std::vector< operations_research::MPVariable * > *self,operations_research::MPVariable *const &value){
1082  int index = -1;
1083  std::vector< operations_research::MPVariable* >::iterator it = std::find(self->begin(), self->end(), value);
1084  if (it != self->end())
1085  index = (int)(it - self->begin());
1086  return index;
1087  }
1089  int index = -1;
1090  std::vector< operations_research::MPVariable* >::reverse_iterator rit = std::find(self->rbegin(), self->rend(), value);
1091  if (rit != self->rend())
1092  index = (int)(self->rend() - 1 - rit);
1093  return index;
1094  }
1095 SWIGINTERN bool std_vector_Sl_operations_research_MPVariable_Sm__Sg__Remove(std::vector< operations_research::MPVariable * > *self,operations_research::MPVariable *const &value){
1096  std::vector< operations_research::MPVariable* >::iterator it = std::find(self->begin(), self->end(), value);
1097  if (it != self->end()) {
1098  self->erase(it);
1099  return true;
1100  }
1101  return false;
1102  }
1105  options.obfuscate = obfuscated;
1106  operations_research::MPModelProto model;
1107  self->ExportModelToProto(&model);
1108  return ExportModelAsLpFormat(model, options).value_or("");
1109  }
1112  options.obfuscate = obfuscated;
1113  operations_research::MPModelProto model;
1114  self->ExportModelToProto(&model);
1115  return ExportModelAsMpsFormat(model, options).value_or("");
1116  }
1117 SWIGINTERN void operations_research_MPSolver_SetHint(operations_research::MPSolver *self,std::vector< operations_research::MPVariable * > const &variables,std::vector< double > const &values){
1118  if (variables.size() != values.size()) {
1119  LOG(FATAL) << "Different number of variables and values when setting "
1120  << "hint.";
1121  }
1122  std::vector<std::pair<const operations_research::MPVariable*, double> >
1123  hint(variables.size());
1124  for (int i = 0; i < variables.size(); ++i) {
1125  hint[i] = std::make_pair(variables[i], values[i]);
1126  }
1127  self->SetHint(hint);
1128  }
1130  return self->SetNumThreads(num_theads).ok();
1131  }
1132 
1133 #ifdef __cplusplus
1134 extern "C" {
1135 #endif
1136 
1138  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1139 
1140  arg1 = (std::vector< int > *)jarg1;
1141  (arg1)->clear();
1142 }
1143 
1144 
1146  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1147  int *arg2 = 0 ;
1148  int temp2 ;
1149 
1150  arg1 = (std::vector< int > *)jarg1;
1151  temp2 = (int)jarg2;
1152  arg2 = &temp2;
1153  (arg1)->push_back((int const &)*arg2);
1154 }
1155 
1156 
1158  unsigned long jresult ;
1159  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1160  std::vector< int >::size_type result;
1161 
1162  arg1 = (std::vector< int > *)jarg1;
1163  result = ((std::vector< int > const *)arg1)->size();
1164  jresult = (unsigned long)result;
1165  return jresult;
1166 }
1167 
1168 
1170  unsigned long jresult ;
1171  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1172  std::vector< int >::size_type result;
1173 
1174  arg1 = (std::vector< int > *)jarg1;
1175  result = ((std::vector< int > const *)arg1)->capacity();
1176  jresult = (unsigned long)result;
1177  return jresult;
1178 }
1179 
1180 
1182  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1183  std::vector< int >::size_type arg2 ;
1184 
1185  arg1 = (std::vector< int > *)jarg1;
1186  arg2 = (std::vector< int >::size_type)jarg2;
1187  (arg1)->reserve(arg2);
1188 }
1189 
1190 
1192  void * jresult ;
1193  std::vector< int > *result = 0 ;
1194 
1195  result = (std::vector< int > *)new std::vector< int >();
1196  jresult = (void *)result;
1197  return jresult;
1198 }
1199 
1200 
1202  void * jresult ;
1203  std::vector< int > *arg1 = 0 ;
1204  std::vector< int > *result = 0 ;
1205 
1206  arg1 = (std::vector< int > *)jarg1;
1207  if (!arg1) {
1208  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int > const & type is null", 0);
1209  return 0;
1210  }
1211  result = (std::vector< int > *)new std::vector< int >((std::vector< int > const &)*arg1);
1212  jresult = (void *)result;
1213  return jresult;
1214 }
1215 
1216 
1218  void * jresult ;
1219  int arg1 ;
1220  std::vector< int > *result = 0 ;
1221 
1222  arg1 = (int)jarg1;
1223  try {
1224  result = (std::vector< int > *)new_std_vector_Sl_int_Sg___SWIG_2(arg1);
1225  } catch(std::out_of_range &_e) {
1227  return 0;
1228  }
1229  jresult = (void *)result;
1230  return jresult;
1231 }
1232 
1233 
1235  int jresult ;
1236  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1237  int arg2 ;
1238  int result;
1239 
1240  arg1 = (std::vector< int > *)jarg1;
1241  arg2 = (int)jarg2;
1242  try {
1243  result = (int)std_vector_Sl_int_Sg__getitemcopy(arg1,arg2);
1244  } catch(std::out_of_range &_e) {
1246  return 0;
1247  }
1248  jresult = result;
1249  return jresult;
1250 }
1251 
1252 
1254  int jresult ;
1255  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1256  int arg2 ;
1257  std::vector< int >::value_type *result = 0 ;
1258 
1259  arg1 = (std::vector< int > *)jarg1;
1260  arg2 = (int)jarg2;
1261  try {
1262  result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg__getitem(arg1,arg2);
1263  } catch(std::out_of_range &_e) {
1265  return 0;
1266  }
1267  jresult = *result;
1268  return jresult;
1269 }
1270 
1271 
1273  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1274  int arg2 ;
1275  int *arg3 = 0 ;
1276  int temp3 ;
1277 
1278  arg1 = (std::vector< int > *)jarg1;
1279  arg2 = (int)jarg2;
1280  temp3 = (int)jarg3;
1281  arg3 = &temp3;
1282  try {
1283  std_vector_Sl_int_Sg__setitem(arg1,arg2,(int const &)*arg3);
1284  } catch(std::out_of_range &_e) {
1286  return ;
1287  }
1288 }
1289 
1290 
1292  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1293  std::vector< int > *arg2 = 0 ;
1294 
1295  arg1 = (std::vector< int > *)jarg1;
1296  arg2 = (std::vector< int > *)jarg2;
1297  if (!arg2) {
1298  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int > const & type is null", 0);
1299  return ;
1300  }
1301  std_vector_Sl_int_Sg__AddRange(arg1,(std::vector< int > const &)*arg2);
1302 }
1303 
1304 
1306  void * jresult ;
1307  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1308  int arg2 ;
1309  int arg3 ;
1310  std::vector< int > *result = 0 ;
1311 
1312  arg1 = (std::vector< int > *)jarg1;
1313  arg2 = (int)jarg2;
1314  arg3 = (int)jarg3;
1315  try {
1316  result = (std::vector< int > *)std_vector_Sl_int_Sg__GetRange(arg1,arg2,arg3);
1317  } catch(std::out_of_range &_e) {
1319  return 0;
1320  } catch(std::invalid_argument &_e) {
1322  return 0;
1323  }
1324  jresult = (void *)result;
1325  return jresult;
1326 }
1327 
1328 
1330  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1331  int arg2 ;
1332  int *arg3 = 0 ;
1333  int temp3 ;
1334 
1335  arg1 = (std::vector< int > *)jarg1;
1336  arg2 = (int)jarg2;
1337  temp3 = (int)jarg3;
1338  arg3 = &temp3;
1339  try {
1340  std_vector_Sl_int_Sg__Insert(arg1,arg2,(int const &)*arg3);
1341  } catch(std::out_of_range &_e) {
1343  return ;
1344  }
1345 }
1346 
1347 
1349  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1350  int arg2 ;
1351  std::vector< int > *arg3 = 0 ;
1352 
1353  arg1 = (std::vector< int > *)jarg1;
1354  arg2 = (int)jarg2;
1355  arg3 = (std::vector< int > *)jarg3;
1356  if (!arg3) {
1357  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int > const & type is null", 0);
1358  return ;
1359  }
1360  try {
1361  std_vector_Sl_int_Sg__InsertRange(arg1,arg2,(std::vector< int > const &)*arg3);
1362  } catch(std::out_of_range &_e) {
1364  return ;
1365  }
1366 }
1367 
1368 
1370  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1371  int arg2 ;
1372 
1373  arg1 = (std::vector< int > *)jarg1;
1374  arg2 = (int)jarg2;
1375  try {
1376  std_vector_Sl_int_Sg__RemoveAt(arg1,arg2);
1377  } catch(std::out_of_range &_e) {
1379  return ;
1380  }
1381 }
1382 
1383 
1385  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1386  int arg2 ;
1387  int arg3 ;
1388 
1389  arg1 = (std::vector< int > *)jarg1;
1390  arg2 = (int)jarg2;
1391  arg3 = (int)jarg3;
1392  try {
1393  std_vector_Sl_int_Sg__RemoveRange(arg1,arg2,arg3);
1394  } catch(std::out_of_range &_e) {
1396  return ;
1397  } catch(std::invalid_argument &_e) {
1399  return ;
1400  }
1401 }
1402 
1403 
1405  void * jresult ;
1406  int *arg1 = 0 ;
1407  int arg2 ;
1408  int temp1 ;
1409  std::vector< int > *result = 0 ;
1410 
1411  temp1 = (int)jarg1;
1412  arg1 = &temp1;
1413  arg2 = (int)jarg2;
1414  try {
1415  result = (std::vector< int > *)std_vector_Sl_int_Sg__Repeat((int const &)*arg1,arg2);
1416  } catch(std::out_of_range &_e) {
1418  return 0;
1419  }
1420  jresult = (void *)result;
1421  return jresult;
1422 }
1423 
1424 
1426  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1427 
1428  arg1 = (std::vector< int > *)jarg1;
1430 }
1431 
1432 
1434  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1435  int arg2 ;
1436  int arg3 ;
1437 
1438  arg1 = (std::vector< int > *)jarg1;
1439  arg2 = (int)jarg2;
1440  arg3 = (int)jarg3;
1441  try {
1442  std_vector_Sl_int_Sg__Reverse__SWIG_1(arg1,arg2,arg3);
1443  } catch(std::out_of_range &_e) {
1445  return ;
1446  } catch(std::invalid_argument &_e) {
1448  return ;
1449  }
1450 }
1451 
1452 
1454  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1455  int arg2 ;
1456  std::vector< int > *arg3 = 0 ;
1457 
1458  arg1 = (std::vector< int > *)jarg1;
1459  arg2 = (int)jarg2;
1460  arg3 = (std::vector< int > *)jarg3;
1461  if (!arg3) {
1462  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int > const & type is null", 0);
1463  return ;
1464  }
1465  try {
1466  std_vector_Sl_int_Sg__SetRange(arg1,arg2,(std::vector< int > const &)*arg3);
1467  } catch(std::out_of_range &_e) {
1469  return ;
1470  }
1471 }
1472 
1473 
1475  unsigned int jresult ;
1476  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1477  int *arg2 = 0 ;
1478  int temp2 ;
1479  bool result;
1480 
1481  arg1 = (std::vector< int > *)jarg1;
1482  temp2 = (int)jarg2;
1483  arg2 = &temp2;
1484  result = (bool)std_vector_Sl_int_Sg__Contains(arg1,(int const &)*arg2);
1485  jresult = result;
1486  return jresult;
1487 }
1488 
1489 
1491  int jresult ;
1492  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1493  int *arg2 = 0 ;
1494  int temp2 ;
1495  int result;
1496 
1497  arg1 = (std::vector< int > *)jarg1;
1498  temp2 = (int)jarg2;
1499  arg2 = &temp2;
1500  result = (int)std_vector_Sl_int_Sg__IndexOf(arg1,(int const &)*arg2);
1501  jresult = result;
1502  return jresult;
1503 }
1504 
1505 
1507  int jresult ;
1508  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1509  int *arg2 = 0 ;
1510  int temp2 ;
1511  int result;
1512 
1513  arg1 = (std::vector< int > *)jarg1;
1514  temp2 = (int)jarg2;
1515  arg2 = &temp2;
1516  result = (int)std_vector_Sl_int_Sg__LastIndexOf(arg1,(int const &)*arg2);
1517  jresult = result;
1518  return jresult;
1519 }
1520 
1521 
1523  unsigned int jresult ;
1524  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1525  int *arg2 = 0 ;
1526  int temp2 ;
1527  bool result;
1528 
1529  arg1 = (std::vector< int > *)jarg1;
1530  temp2 = (int)jarg2;
1531  arg2 = &temp2;
1532  result = (bool)std_vector_Sl_int_Sg__Remove(arg1,(int const &)*arg2);
1533  jresult = result;
1534  return jresult;
1535 }
1536 
1537 
1539  std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1540 
1541  arg1 = (std::vector< int > *)jarg1;
1542  delete arg1;
1543 }
1544 
1545 
1547  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1548 
1549  arg1 = (std::vector< std::vector< int > > *)jarg1;
1550  (arg1)->clear();
1551 }
1552 
1553 
1555  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1556  std::vector< int > *arg2 = 0 ;
1557 
1558  arg1 = (std::vector< std::vector< int > > *)jarg1;
1559  arg2 = (std::vector< int > *)jarg2;
1560  if (!arg2) {
1561  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int > const & type is null", 0);
1562  return ;
1563  }
1564  (arg1)->push_back((std::vector< int > const &)*arg2);
1565 }
1566 
1567 
1569  unsigned long jresult ;
1570  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1571  std::vector< std::vector< int > >::size_type result;
1572 
1573  arg1 = (std::vector< std::vector< int > > *)jarg1;
1574  result = ((std::vector< std::vector< int > > const *)arg1)->size();
1575  jresult = (unsigned long)result;
1576  return jresult;
1577 }
1578 
1579 
1581  unsigned long jresult ;
1582  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1583  std::vector< std::vector< int > >::size_type result;
1584 
1585  arg1 = (std::vector< std::vector< int > > *)jarg1;
1586  result = ((std::vector< std::vector< int > > const *)arg1)->capacity();
1587  jresult = (unsigned long)result;
1588  return jresult;
1589 }
1590 
1591 
1593  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1594  std::vector< std::vector< int > >::size_type arg2 ;
1595 
1596  arg1 = (std::vector< std::vector< int > > *)jarg1;
1597  arg2 = (std::vector< std::vector< int > >::size_type)jarg2;
1598  (arg1)->reserve(arg2);
1599 }
1600 
1601 
1603  void * jresult ;
1604  std::vector< std::vector< int > > *result = 0 ;
1605 
1606  result = (std::vector< std::vector< int > > *)new std::vector< std::vector< int > >();
1607  jresult = (void *)result;
1608  return jresult;
1609 }
1610 
1611 
1613  void * jresult ;
1614  std::vector< std::vector< int > > *arg1 = 0 ;
1615  std::vector< std::vector< int > > *result = 0 ;
1616 
1617  arg1 = (std::vector< std::vector< int > > *)jarg1;
1618  if (!arg1) {
1619  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< int > > const & type is null", 0);
1620  return 0;
1621  }
1622  result = (std::vector< std::vector< int > > *)new std::vector< std::vector< int > >((std::vector< std::vector< int > > const &)*arg1);
1623  jresult = (void *)result;
1624  return jresult;
1625 }
1626 
1627 
1629  void * jresult ;
1630  int arg1 ;
1631  std::vector< std::vector< int > > *result = 0 ;
1632 
1633  arg1 = (int)jarg1;
1634  try {
1635  result = (std::vector< std::vector< int > > *)new_std_vector_Sl_std_vector_Sl_int_Sg__Sg___SWIG_2(arg1);
1636  } catch(std::out_of_range &_e) {
1638  return 0;
1639  }
1640  jresult = (void *)result;
1641  return jresult;
1642 }
1643 
1644 
1646  void * jresult ;
1647  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1648  int arg2 ;
1649  std::vector< int > result;
1650 
1651  arg1 = (std::vector< std::vector< int > > *)jarg1;
1652  arg2 = (int)jarg2;
1653  try {
1655  } catch(std::out_of_range &_e) {
1657  return 0;
1658  }
1659  jresult = new std::vector< int >((const std::vector< int > &)result);
1660  return jresult;
1661 }
1662 
1663 
1665  void * jresult ;
1666  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1667  int arg2 ;
1668  std::vector< std::vector< int > >::value_type *result = 0 ;
1669 
1670  arg1 = (std::vector< std::vector< int > > *)jarg1;
1671  arg2 = (int)jarg2;
1672  try {
1673  result = (std::vector< std::vector< int > >::value_type *) &std_vector_Sl_std_vector_Sl_int_Sg__Sg__getitem(arg1,arg2);
1674  } catch(std::out_of_range &_e) {
1676  return 0;
1677  }
1678  jresult = (void *)result;
1679  return jresult;
1680 }
1681 
1682 
1684  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1685  int arg2 ;
1686  std::vector< int > *arg3 = 0 ;
1687 
1688  arg1 = (std::vector< std::vector< int > > *)jarg1;
1689  arg2 = (int)jarg2;
1690  arg3 = (std::vector< int > *)jarg3;
1691  if (!arg3) {
1692  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int > const & type is null", 0);
1693  return ;
1694  }
1695  try {
1696  std_vector_Sl_std_vector_Sl_int_Sg__Sg__setitem(arg1,arg2,(std::vector< int > const &)*arg3);
1697  } catch(std::out_of_range &_e) {
1699  return ;
1700  }
1701 }
1702 
1703 
1705  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1706  std::vector< std::vector< int > > *arg2 = 0 ;
1707 
1708  arg1 = (std::vector< std::vector< int > > *)jarg1;
1709  arg2 = (std::vector< std::vector< int > > *)jarg2;
1710  if (!arg2) {
1711  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< int > > const & type is null", 0);
1712  return ;
1713  }
1714  std_vector_Sl_std_vector_Sl_int_Sg__Sg__AddRange(arg1,(std::vector< std::vector< int > > const &)*arg2);
1715 }
1716 
1717 
1719  void * jresult ;
1720  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1721  int arg2 ;
1722  int arg3 ;
1723  std::vector< std::vector< int > > *result = 0 ;
1724 
1725  arg1 = (std::vector< std::vector< int > > *)jarg1;
1726  arg2 = (int)jarg2;
1727  arg3 = (int)jarg3;
1728  try {
1729  result = (std::vector< std::vector< int > > *)std_vector_Sl_std_vector_Sl_int_Sg__Sg__GetRange(arg1,arg2,arg3);
1730  } catch(std::out_of_range &_e) {
1732  return 0;
1733  } catch(std::invalid_argument &_e) {
1735  return 0;
1736  }
1737  jresult = (void *)result;
1738  return jresult;
1739 }
1740 
1741 
1743  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1744  int arg2 ;
1745  std::vector< int > *arg3 = 0 ;
1746 
1747  arg1 = (std::vector< std::vector< int > > *)jarg1;
1748  arg2 = (int)jarg2;
1749  arg3 = (std::vector< int > *)jarg3;
1750  if (!arg3) {
1751  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int > const & type is null", 0);
1752  return ;
1753  }
1754  try {
1755  std_vector_Sl_std_vector_Sl_int_Sg__Sg__Insert(arg1,arg2,(std::vector< int > const &)*arg3);
1756  } catch(std::out_of_range &_e) {
1758  return ;
1759  }
1760 }
1761 
1762 
1764  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1765  int arg2 ;
1766  std::vector< std::vector< int > > *arg3 = 0 ;
1767 
1768  arg1 = (std::vector< std::vector< int > > *)jarg1;
1769  arg2 = (int)jarg2;
1770  arg3 = (std::vector< std::vector< int > > *)jarg3;
1771  if (!arg3) {
1772  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< int > > const & type is null", 0);
1773  return ;
1774  }
1775  try {
1776  std_vector_Sl_std_vector_Sl_int_Sg__Sg__InsertRange(arg1,arg2,(std::vector< std::vector< int > > const &)*arg3);
1777  } catch(std::out_of_range &_e) {
1779  return ;
1780  }
1781 }
1782 
1783 
1785  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1786  int arg2 ;
1787 
1788  arg1 = (std::vector< std::vector< int > > *)jarg1;
1789  arg2 = (int)jarg2;
1790  try {
1792  } catch(std::out_of_range &_e) {
1794  return ;
1795  }
1796 }
1797 
1798 
1800  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1801  int arg2 ;
1802  int arg3 ;
1803 
1804  arg1 = (std::vector< std::vector< int > > *)jarg1;
1805  arg2 = (int)jarg2;
1806  arg3 = (int)jarg3;
1807  try {
1809  } catch(std::out_of_range &_e) {
1811  return ;
1812  } catch(std::invalid_argument &_e) {
1814  return ;
1815  }
1816 }
1817 
1818 
1820  void * jresult ;
1821  std::vector< int > *arg1 = 0 ;
1822  int arg2 ;
1823  std::vector< std::vector< int > > *result = 0 ;
1824 
1825  arg1 = (std::vector< int > *)jarg1;
1826  if (!arg1) {
1827  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int > const & type is null", 0);
1828  return 0;
1829  }
1830  arg2 = (int)jarg2;
1831  try {
1832  result = (std::vector< std::vector< int > > *)std_vector_Sl_std_vector_Sl_int_Sg__Sg__Repeat((std::vector< int > const &)*arg1,arg2);
1833  } catch(std::out_of_range &_e) {
1835  return 0;
1836  }
1837  jresult = (void *)result;
1838  return jresult;
1839 }
1840 
1841 
1843  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1844 
1845  arg1 = (std::vector< std::vector< int > > *)jarg1;
1847 }
1848 
1849 
1851  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1852  int arg2 ;
1853  int arg3 ;
1854 
1855  arg1 = (std::vector< std::vector< int > > *)jarg1;
1856  arg2 = (int)jarg2;
1857  arg3 = (int)jarg3;
1858  try {
1860  } catch(std::out_of_range &_e) {
1862  return ;
1863  } catch(std::invalid_argument &_e) {
1865  return ;
1866  }
1867 }
1868 
1869 
1871  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1872  int arg2 ;
1873  std::vector< std::vector< int > > *arg3 = 0 ;
1874 
1875  arg1 = (std::vector< std::vector< int > > *)jarg1;
1876  arg2 = (int)jarg2;
1877  arg3 = (std::vector< std::vector< int > > *)jarg3;
1878  if (!arg3) {
1879  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< int > > const & type is null", 0);
1880  return ;
1881  }
1882  try {
1883  std_vector_Sl_std_vector_Sl_int_Sg__Sg__SetRange(arg1,arg2,(std::vector< std::vector< int > > const &)*arg3);
1884  } catch(std::out_of_range &_e) {
1886  return ;
1887  }
1888 }
1889 
1890 
1892  std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1893 
1894  arg1 = (std::vector< std::vector< int > > *)jarg1;
1895  delete arg1;
1896 }
1897 
1898 
1900  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1901 
1902  arg1 = (std::vector< int64_t > *)jarg1;
1903  (arg1)->clear();
1904 }
1905 
1906 
1908  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1909  long *arg2 = 0 ;
1910  long temp2 ;
1911 
1912  arg1 = (std::vector< int64_t > *)jarg1;
1913  temp2 = (long)jarg2;
1914  arg2 = &temp2;
1915  (arg1)->push_back((long const &)*arg2);
1916 }
1917 
1918 
1920  unsigned long jresult ;
1921  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1922  std::vector< long >::size_type result;
1923 
1924  arg1 = (std::vector< int64_t > *)jarg1;
1925  result = ((std::vector< int64_t > const *)arg1)->size();
1926  jresult = (unsigned long)result;
1927  return jresult;
1928 }
1929 
1930 
1932  unsigned long jresult ;
1933  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1934  std::vector< long >::size_type result;
1935 
1936  arg1 = (std::vector< int64_t > *)jarg1;
1937  result = ((std::vector< int64_t > const *)arg1)->capacity();
1938  jresult = (unsigned long)result;
1939  return jresult;
1940 }
1941 
1942 
1944  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1945  std::vector< long >::size_type arg2 ;
1946 
1947  arg1 = (std::vector< int64_t > *)jarg1;
1948  arg2 = (std::vector< long >::size_type)jarg2;
1949  (arg1)->reserve(arg2);
1950 }
1951 
1952 
1954  void * jresult ;
1955  std::vector< int64_t > *result = 0 ;
1956 
1957  result = (std::vector< int64_t > *)new std::vector< int64_t >();
1958  jresult = (void *)result;
1959  return jresult;
1960 }
1961 
1962 
1964  void * jresult ;
1965  std::vector< int64_t > *arg1 = 0 ;
1966  std::vector< int64_t > *result = 0 ;
1967 
1968  arg1 = (std::vector< int64_t > *)jarg1;
1969  if (!arg1) {
1970  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int64_t > const & type is null", 0);
1971  return 0;
1972  }
1973  result = (std::vector< int64_t > *)new std::vector< int64_t >((std::vector< int64_t > const &)*arg1);
1974  jresult = (void *)result;
1975  return jresult;
1976 }
1977 
1978 
1980  void * jresult ;
1981  int arg1 ;
1982  std::vector< int64_t > *result = 0 ;
1983 
1984  arg1 = (int)jarg1;
1985  try {
1986  result = (std::vector< int64_t > *)new_std_vector_Sl_int64_t_Sg___SWIG_2(arg1);
1987  } catch(std::out_of_range &_e) {
1989  return 0;
1990  }
1991  jresult = (void *)result;
1992  return jresult;
1993 }
1994 
1995 
1997  long long jresult ;
1998  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
1999  int arg2 ;
2000  long result;
2001 
2002  arg1 = (std::vector< int64_t > *)jarg1;
2003  arg2 = (int)jarg2;
2004  try {
2005  result = (long)std_vector_Sl_int64_t_Sg__getitemcopy(arg1,arg2);
2006  } catch(std::out_of_range &_e) {
2008  return 0;
2009  }
2010  jresult = result;
2011  return jresult;
2012 }
2013 
2014 
2016  long long jresult ;
2017  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2018  int arg2 ;
2019  std::vector< long >::value_type *result = 0 ;
2020 
2021  arg1 = (std::vector< int64_t > *)jarg1;
2022  arg2 = (int)jarg2;
2023  try {
2024  result = (std::vector< long >::value_type *) &std_vector_Sl_int64_t_Sg__getitem(arg1,arg2);
2025  } catch(std::out_of_range &_e) {
2027  return 0;
2028  }
2029  jresult = *result;
2030  return jresult;
2031 }
2032 
2033 
2035  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2036  int arg2 ;
2037  long *arg3 = 0 ;
2038  long temp3 ;
2039 
2040  arg1 = (std::vector< int64_t > *)jarg1;
2041  arg2 = (int)jarg2;
2042  temp3 = (long)jarg3;
2043  arg3 = &temp3;
2044  try {
2045  std_vector_Sl_int64_t_Sg__setitem(arg1,arg2,(long const &)*arg3);
2046  } catch(std::out_of_range &_e) {
2048  return ;
2049  }
2050 }
2051 
2052 
2054  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2055  std::vector< long > *arg2 = 0 ;
2056 
2057  arg1 = (std::vector< int64_t > *)jarg1;
2058  arg2 = (std::vector< long > *)jarg2;
2059  if (!arg2) {
2060  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< long > const & type is null", 0);
2061  return ;
2062  }
2063  std_vector_Sl_int64_t_Sg__AddRange(arg1,(std::vector< long > const &)*arg2);
2064 }
2065 
2066 
2068  void * jresult ;
2069  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2070  int arg2 ;
2071  int arg3 ;
2072  std::vector< long > *result = 0 ;
2073 
2074  arg1 = (std::vector< int64_t > *)jarg1;
2075  arg2 = (int)jarg2;
2076  arg3 = (int)jarg3;
2077  try {
2078  result = (std::vector< long > *)std_vector_Sl_int64_t_Sg__GetRange(arg1,arg2,arg3);
2079  } catch(std::out_of_range &_e) {
2081  return 0;
2082  } catch(std::invalid_argument &_e) {
2084  return 0;
2085  }
2086  jresult = (void *)result;
2087  return jresult;
2088 }
2089 
2090 
2092  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2093  int arg2 ;
2094  long *arg3 = 0 ;
2095  long temp3 ;
2096 
2097  arg1 = (std::vector< int64_t > *)jarg1;
2098  arg2 = (int)jarg2;
2099  temp3 = (long)jarg3;
2100  arg3 = &temp3;
2101  try {
2102  std_vector_Sl_int64_t_Sg__Insert(arg1,arg2,(long const &)*arg3);
2103  } catch(std::out_of_range &_e) {
2105  return ;
2106  }
2107 }
2108 
2109 
2111  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2112  int arg2 ;
2113  std::vector< long > *arg3 = 0 ;
2114 
2115  arg1 = (std::vector< int64_t > *)jarg1;
2116  arg2 = (int)jarg2;
2117  arg3 = (std::vector< long > *)jarg3;
2118  if (!arg3) {
2119  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< long > const & type is null", 0);
2120  return ;
2121  }
2122  try {
2123  std_vector_Sl_int64_t_Sg__InsertRange(arg1,arg2,(std::vector< long > const &)*arg3);
2124  } catch(std::out_of_range &_e) {
2126  return ;
2127  }
2128 }
2129 
2130 
2132  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2133  int arg2 ;
2134 
2135  arg1 = (std::vector< int64_t > *)jarg1;
2136  arg2 = (int)jarg2;
2137  try {
2139  } catch(std::out_of_range &_e) {
2141  return ;
2142  }
2143 }
2144 
2145 
2147  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2148  int arg2 ;
2149  int arg3 ;
2150 
2151  arg1 = (std::vector< int64_t > *)jarg1;
2152  arg2 = (int)jarg2;
2153  arg3 = (int)jarg3;
2154  try {
2155  std_vector_Sl_int64_t_Sg__RemoveRange(arg1,arg2,arg3);
2156  } catch(std::out_of_range &_e) {
2158  return ;
2159  } catch(std::invalid_argument &_e) {
2161  return ;
2162  }
2163 }
2164 
2165 
2167  void * jresult ;
2168  long *arg1 = 0 ;
2169  int arg2 ;
2170  long temp1 ;
2171  std::vector< long > *result = 0 ;
2172 
2173  temp1 = (long)jarg1;
2174  arg1 = &temp1;
2175  arg2 = (int)jarg2;
2176  try {
2177  result = (std::vector< long > *)std_vector_Sl_int64_t_Sg__Repeat((long const &)*arg1,arg2);
2178  } catch(std::out_of_range &_e) {
2180  return 0;
2181  }
2182  jresult = (void *)result;
2183  return jresult;
2184 }
2185 
2186 
2188  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2189 
2190  arg1 = (std::vector< int64_t > *)jarg1;
2192 }
2193 
2194 
2196  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2197  int arg2 ;
2198  int arg3 ;
2199 
2200  arg1 = (std::vector< int64_t > *)jarg1;
2201  arg2 = (int)jarg2;
2202  arg3 = (int)jarg3;
2203  try {
2205  } catch(std::out_of_range &_e) {
2207  return ;
2208  } catch(std::invalid_argument &_e) {
2210  return ;
2211  }
2212 }
2213 
2214 
2216  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2217  int arg2 ;
2218  std::vector< long > *arg3 = 0 ;
2219 
2220  arg1 = (std::vector< int64_t > *)jarg1;
2221  arg2 = (int)jarg2;
2222  arg3 = (std::vector< long > *)jarg3;
2223  if (!arg3) {
2224  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< long > const & type is null", 0);
2225  return ;
2226  }
2227  try {
2228  std_vector_Sl_int64_t_Sg__SetRange(arg1,arg2,(std::vector< long > const &)*arg3);
2229  } catch(std::out_of_range &_e) {
2231  return ;
2232  }
2233 }
2234 
2235 
2237  unsigned int jresult ;
2238  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2239  long *arg2 = 0 ;
2240  long temp2 ;
2241  bool result;
2242 
2243  arg1 = (std::vector< int64_t > *)jarg1;
2244  temp2 = (long)jarg2;
2245  arg2 = &temp2;
2246  result = (bool)std_vector_Sl_int64_t_Sg__Contains(arg1,(long const &)*arg2);
2247  jresult = result;
2248  return jresult;
2249 }
2250 
2251 
2253  int jresult ;
2254  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2255  long *arg2 = 0 ;
2256  long temp2 ;
2257  int result;
2258 
2259  arg1 = (std::vector< int64_t > *)jarg1;
2260  temp2 = (long)jarg2;
2261  arg2 = &temp2;
2262  result = (int)std_vector_Sl_int64_t_Sg__IndexOf(arg1,(long const &)*arg2);
2263  jresult = result;
2264  return jresult;
2265 }
2266 
2267 
2269  int jresult ;
2270  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2271  long *arg2 = 0 ;
2272  long temp2 ;
2273  int result;
2274 
2275  arg1 = (std::vector< int64_t > *)jarg1;
2276  temp2 = (long)jarg2;
2277  arg2 = &temp2;
2278  result = (int)std_vector_Sl_int64_t_Sg__LastIndexOf(arg1,(long const &)*arg2);
2279  jresult = result;
2280  return jresult;
2281 }
2282 
2283 
2285  unsigned int jresult ;
2286  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2287  long *arg2 = 0 ;
2288  long temp2 ;
2289  bool result;
2290 
2291  arg1 = (std::vector< int64_t > *)jarg1;
2292  temp2 = (long)jarg2;
2293  arg2 = &temp2;
2294  result = (bool)std_vector_Sl_int64_t_Sg__Remove(arg1,(long const &)*arg2);
2295  jresult = result;
2296  return jresult;
2297 }
2298 
2299 
2301  std::vector< int64_t > *arg1 = (std::vector< int64_t > *) 0 ;
2302 
2303  arg1 = (std::vector< int64_t > *)jarg1;
2304  delete arg1;
2305 }
2306 
2307 
2309  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2310 
2311  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2312  (arg1)->clear();
2313 }
2314 
2315 
2317  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2318  std::vector< int64_t > *arg2 = 0 ;
2319 
2320  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2321  arg2 = (std::vector< int64_t > *)jarg2;
2322  if (!arg2) {
2323  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int64_t > const & type is null", 0);
2324  return ;
2325  }
2326  (arg1)->push_back((std::vector< int64_t > const &)*arg2);
2327 }
2328 
2329 
2331  unsigned long jresult ;
2332  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2333  std::vector< std::vector< long > >::size_type result;
2334 
2335  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2336  result = ((std::vector< std::vector< int64_t > > const *)arg1)->size();
2337  jresult = (unsigned long)result;
2338  return jresult;
2339 }
2340 
2341 
2343  unsigned long jresult ;
2344  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2345  std::vector< std::vector< long > >::size_type result;
2346 
2347  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2348  result = ((std::vector< std::vector< int64_t > > const *)arg1)->capacity();
2349  jresult = (unsigned long)result;
2350  return jresult;
2351 }
2352 
2353 
2355  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2356  std::vector< std::vector< long > >::size_type arg2 ;
2357 
2358  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2359  arg2 = (std::vector< std::vector< long > >::size_type)jarg2;
2360  (arg1)->reserve(arg2);
2361 }
2362 
2363 
2365  void * jresult ;
2366  std::vector< std::vector< int64_t > > *result = 0 ;
2367 
2368  result = (std::vector< std::vector< int64_t > > *)new std::vector< std::vector< int64_t > >();
2369  jresult = (void *)result;
2370  return jresult;
2371 }
2372 
2373 
2375  void * jresult ;
2376  std::vector< std::vector< int64_t > > *arg1 = 0 ;
2377  std::vector< std::vector< int64_t > > *result = 0 ;
2378 
2379  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2380  if (!arg1) {
2381  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< int64_t > > const & type is null", 0);
2382  return 0;
2383  }
2384  result = (std::vector< std::vector< int64_t > > *)new std::vector< std::vector< int64_t > >((std::vector< std::vector< int64_t > > const &)*arg1);
2385  jresult = (void *)result;
2386  return jresult;
2387 }
2388 
2389 
2391  void * jresult ;
2392  int arg1 ;
2393  std::vector< std::vector< int64_t > > *result = 0 ;
2394 
2395  arg1 = (int)jarg1;
2396  try {
2397  result = (std::vector< std::vector< int64_t > > *)new_std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg___SWIG_2(arg1);
2398  } catch(std::out_of_range &_e) {
2400  return 0;
2401  }
2402  jresult = (void *)result;
2403  return jresult;
2404 }
2405 
2406 
2408  void * jresult ;
2409  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2410  int arg2 ;
2411  std::vector< int64_t > result;
2412 
2413  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2414  arg2 = (int)jarg2;
2415  try {
2417  } catch(std::out_of_range &_e) {
2419  return 0;
2420  }
2421  jresult = new std::vector< int64_t >((const std::vector< int64_t > &)result);
2422  return jresult;
2423 }
2424 
2425 
2427  void * jresult ;
2428  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2429  int arg2 ;
2430  std::vector< std::vector< long > >::value_type *result = 0 ;
2431 
2432  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2433  arg2 = (int)jarg2;
2434  try {
2435  result = (std::vector< std::vector< long > >::value_type *) &std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__getitem(arg1,arg2);
2436  } catch(std::out_of_range &_e) {
2438  return 0;
2439  }
2440  jresult = (void *)result;
2441  return jresult;
2442 }
2443 
2444 
2446  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2447  int arg2 ;
2448  std::vector< int64_t > *arg3 = 0 ;
2449 
2450  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2451  arg2 = (int)jarg2;
2452  arg3 = (std::vector< int64_t > *)jarg3;
2453  if (!arg3) {
2454  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int64_t > const & type is null", 0);
2455  return ;
2456  }
2457  try {
2458  std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__setitem(arg1,arg2,(std::vector< long > const &)*arg3);
2459  } catch(std::out_of_range &_e) {
2461  return ;
2462  }
2463 }
2464 
2465 
2467  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2468  std::vector< std::vector< int64_t > > *arg2 = 0 ;
2469 
2470  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2471  arg2 = (std::vector< std::vector< int64_t > > *)jarg2;
2472  if (!arg2) {
2473  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< int64_t > > const & type is null", 0);
2474  return ;
2475  }
2476  std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__AddRange(arg1,(std::vector< std::vector< long > > const &)*arg2);
2477 }
2478 
2479 
2481  void * jresult ;
2482  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2483  int arg2 ;
2484  int arg3 ;
2485  std::vector< std::vector< int64_t > > *result = 0 ;
2486 
2487  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2488  arg2 = (int)jarg2;
2489  arg3 = (int)jarg3;
2490  try {
2491  result = (std::vector< std::vector< int64_t > > *)std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__GetRange(arg1,arg2,arg3);
2492  } catch(std::out_of_range &_e) {
2494  return 0;
2495  } catch(std::invalid_argument &_e) {
2497  return 0;
2498  }
2499  jresult = (void *)result;
2500  return jresult;
2501 }
2502 
2503 
2505  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2506  int arg2 ;
2507  std::vector< int64_t > *arg3 = 0 ;
2508 
2509  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2510  arg2 = (int)jarg2;
2511  arg3 = (std::vector< int64_t > *)jarg3;
2512  if (!arg3) {
2513  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int64_t > const & type is null", 0);
2514  return ;
2515  }
2516  try {
2517  std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Insert(arg1,arg2,(std::vector< long > const &)*arg3);
2518  } catch(std::out_of_range &_e) {
2520  return ;
2521  }
2522 }
2523 
2524 
2526  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2527  int arg2 ;
2528  std::vector< std::vector< int64_t > > *arg3 = 0 ;
2529 
2530  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2531  arg2 = (int)jarg2;
2532  arg3 = (std::vector< std::vector< int64_t > > *)jarg3;
2533  if (!arg3) {
2534  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< int64_t > > const & type is null", 0);
2535  return ;
2536  }
2537  try {
2538  std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__InsertRange(arg1,arg2,(std::vector< std::vector< long > > const &)*arg3);
2539  } catch(std::out_of_range &_e) {
2541  return ;
2542  }
2543 }
2544 
2545 
2547  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2548  int arg2 ;
2549 
2550  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2551  arg2 = (int)jarg2;
2552  try {
2554  } catch(std::out_of_range &_e) {
2556  return ;
2557  }
2558 }
2559 
2560 
2562  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2563  int arg2 ;
2564  int arg3 ;
2565 
2566  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2567  arg2 = (int)jarg2;
2568  arg3 = (int)jarg3;
2569  try {
2571  } catch(std::out_of_range &_e) {
2573  return ;
2574  } catch(std::invalid_argument &_e) {
2576  return ;
2577  }
2578 }
2579 
2580 
2582  void * jresult ;
2583  std::vector< int64_t > *arg1 = 0 ;
2584  int arg2 ;
2585  std::vector< std::vector< int64_t > > *result = 0 ;
2586 
2587  arg1 = (std::vector< int64_t > *)jarg1;
2588  if (!arg1) {
2589  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< int64_t > const & type is null", 0);
2590  return 0;
2591  }
2592  arg2 = (int)jarg2;
2593  try {
2594  result = (std::vector< std::vector< int64_t > > *)std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Repeat((std::vector< long > const &)*arg1,arg2);
2595  } catch(std::out_of_range &_e) {
2597  return 0;
2598  }
2599  jresult = (void *)result;
2600  return jresult;
2601 }
2602 
2603 
2605  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2606 
2607  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2609 }
2610 
2611 
2613  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2614  int arg2 ;
2615  int arg3 ;
2616 
2617  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2618  arg2 = (int)jarg2;
2619  arg3 = (int)jarg3;
2620  try {
2622  } catch(std::out_of_range &_e) {
2624  return ;
2625  } catch(std::invalid_argument &_e) {
2627  return ;
2628  }
2629 }
2630 
2631 
2633  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2634  int arg2 ;
2635  std::vector< std::vector< int64_t > > *arg3 = 0 ;
2636 
2637  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2638  arg2 = (int)jarg2;
2639  arg3 = (std::vector< std::vector< int64_t > > *)jarg3;
2640  if (!arg3) {
2641  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< std::vector< int64_t > > const & type is null", 0);
2642  return ;
2643  }
2644  try {
2645  std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__SetRange(arg1,arg2,(std::vector< std::vector< long > > const &)*arg3);
2646  } catch(std::out_of_range &_e) {
2648  return ;
2649  }
2650 }
2651 
2652 
2654  std::vector< std::vector< int64_t > > *arg1 = (std::vector< std::vector< int64_t > > *) 0 ;
2655 
2656  arg1 = (std::vector< std::vector< int64_t > > *)jarg1;
2657  delete arg1;
2658 }
2659 
2660 
2662  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2663 
2664  arg1 = (std::vector< double > *)jarg1;
2665  (arg1)->clear();
2666 }
2667 
2668 
2670  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2671  double *arg2 = 0 ;
2672  double temp2 ;
2673 
2674  arg1 = (std::vector< double > *)jarg1;
2675  temp2 = (double)jarg2;
2676  arg2 = &temp2;
2677  (arg1)->push_back((double const &)*arg2);
2678 }
2679 
2680 
2682  unsigned long jresult ;
2683  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2684  std::vector< double >::size_type result;
2685 
2686  arg1 = (std::vector< double > *)jarg1;
2687  result = ((std::vector< double > const *)arg1)->size();
2688  jresult = (unsigned long)result;
2689  return jresult;
2690 }
2691 
2692 
2694  unsigned long jresult ;
2695  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2696  std::vector< double >::size_type result;
2697 
2698  arg1 = (std::vector< double > *)jarg1;
2699  result = ((std::vector< double > const *)arg1)->capacity();
2700  jresult = (unsigned long)result;
2701  return jresult;
2702 }
2703 
2704 
2706  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2707  std::vector< double >::size_type arg2 ;
2708 
2709  arg1 = (std::vector< double > *)jarg1;
2710  arg2 = (std::vector< double >::size_type)jarg2;
2711  (arg1)->reserve(arg2);
2712 }
2713 
2714 
2716  void * jresult ;
2717  std::vector< double > *result = 0 ;
2718 
2719  result = (std::vector< double > *)new std::vector< double >();
2720  jresult = (void *)result;
2721  return jresult;
2722 }
2723 
2724 
2726  void * jresult ;
2727  std::vector< double > *arg1 = 0 ;
2728  std::vector< double > *result = 0 ;
2729 
2730  arg1 = (std::vector< double > *)jarg1;
2731  if (!arg1) {
2732  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< double > const & type is null", 0);
2733  return 0;
2734  }
2735  result = (std::vector< double > *)new std::vector< double >((std::vector< double > const &)*arg1);
2736  jresult = (void *)result;
2737  return jresult;
2738 }
2739 
2740 
2742  void * jresult ;
2743  int arg1 ;
2744  std::vector< double > *result = 0 ;
2745 
2746  arg1 = (int)jarg1;
2747  try {
2748  result = (std::vector< double > *)new_std_vector_Sl_double_Sg___SWIG_2(arg1);
2749  } catch(std::out_of_range &_e) {
2751  return 0;
2752  }
2753  jresult = (void *)result;
2754  return jresult;
2755 }
2756 
2757 
2759  double jresult ;
2760  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2761  int arg2 ;
2762  double result;
2763 
2764  arg1 = (std::vector< double > *)jarg1;
2765  arg2 = (int)jarg2;
2766  try {
2767  result = (double)std_vector_Sl_double_Sg__getitemcopy(arg1,arg2);
2768  } catch(std::out_of_range &_e) {
2770  return 0;
2771  }
2772  jresult = result;
2773  return jresult;
2774 }
2775 
2776 
2778  double jresult ;
2779  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2780  int arg2 ;
2781  std::vector< double >::value_type *result = 0 ;
2782 
2783  arg1 = (std::vector< double > *)jarg1;
2784  arg2 = (int)jarg2;
2785  try {
2786  result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg__getitem(arg1,arg2);
2787  } catch(std::out_of_range &_e) {
2789  return 0;
2790  }
2791  jresult = *result;
2792  return jresult;
2793 }
2794 
2795 
2797  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2798  int arg2 ;
2799  double *arg3 = 0 ;
2800  double temp3 ;
2801 
2802  arg1 = (std::vector< double > *)jarg1;
2803  arg2 = (int)jarg2;
2804  temp3 = (double)jarg3;
2805  arg3 = &temp3;
2806  try {
2807  std_vector_Sl_double_Sg__setitem(arg1,arg2,(double const &)*arg3);
2808  } catch(std::out_of_range &_e) {
2810  return ;
2811  }
2812 }
2813 
2814 
2816  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2817  std::vector< double > *arg2 = 0 ;
2818 
2819  arg1 = (std::vector< double > *)jarg1;
2820  arg2 = (std::vector< double > *)jarg2;
2821  if (!arg2) {
2822  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< double > const & type is null", 0);
2823  return ;
2824  }
2825  std_vector_Sl_double_Sg__AddRange(arg1,(std::vector< double > const &)*arg2);
2826 }
2827 
2828 
2830  void * jresult ;
2831  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2832  int arg2 ;
2833  int arg3 ;
2834  std::vector< double > *result = 0 ;
2835 
2836  arg1 = (std::vector< double > *)jarg1;
2837  arg2 = (int)jarg2;
2838  arg3 = (int)jarg3;
2839  try {
2840  result = (std::vector< double > *)std_vector_Sl_double_Sg__GetRange(arg1,arg2,arg3);
2841  } catch(std::out_of_range &_e) {
2843  return 0;
2844  } catch(std::invalid_argument &_e) {
2846  return 0;
2847  }
2848  jresult = (void *)result;
2849  return jresult;
2850 }
2851 
2852 
2854  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2855  int arg2 ;
2856  double *arg3 = 0 ;
2857  double temp3 ;
2858 
2859  arg1 = (std::vector< double > *)jarg1;
2860  arg2 = (int)jarg2;
2861  temp3 = (double)jarg3;
2862  arg3 = &temp3;
2863  try {
2864  std_vector_Sl_double_Sg__Insert(arg1,arg2,(double const &)*arg3);
2865  } catch(std::out_of_range &_e) {
2867  return ;
2868  }
2869 }
2870 
2871 
2873  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2874  int arg2 ;
2875  std::vector< double > *arg3 = 0 ;
2876 
2877  arg1 = (std::vector< double > *)jarg1;
2878  arg2 = (int)jarg2;
2879  arg3 = (std::vector< double > *)jarg3;
2880  if (!arg3) {
2881  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< double > const & type is null", 0);
2882  return ;
2883  }
2884  try {
2885  std_vector_Sl_double_Sg__InsertRange(arg1,arg2,(std::vector< double > const &)*arg3);
2886  } catch(std::out_of_range &_e) {
2888  return ;
2889  }
2890 }
2891 
2892 
2894  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2895  int arg2 ;
2896 
2897  arg1 = (std::vector< double > *)jarg1;
2898  arg2 = (int)jarg2;
2899  try {
2901  } catch(std::out_of_range &_e) {
2903  return ;
2904  }
2905 }
2906 
2907 
2909  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2910  int arg2 ;
2911  int arg3 ;
2912 
2913  arg1 = (std::vector< double > *)jarg1;
2914  arg2 = (int)jarg2;
2915  arg3 = (int)jarg3;
2916  try {
2917  std_vector_Sl_double_Sg__RemoveRange(arg1,arg2,arg3);
2918  } catch(std::out_of_range &_e) {
2920  return ;
2921  } catch(std::invalid_argument &_e) {
2923  return ;
2924  }
2925 }
2926 
2927 
2929  void * jresult ;
2930  double *arg1 = 0 ;
2931  int arg2 ;
2932  double temp1 ;
2933  std::vector< double > *result = 0 ;
2934 
2935  temp1 = (double)jarg1;
2936  arg1 = &temp1;
2937  arg2 = (int)jarg2;
2938  try {
2939  result = (std::vector< double > *)std_vector_Sl_double_Sg__Repeat((double const &)*arg1,arg2);
2940  } catch(std::out_of_range &_e) {
2942  return 0;
2943  }
2944  jresult = (void *)result;
2945  return jresult;
2946 }
2947 
2948 
2950  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2951 
2952  arg1 = (std::vector< double > *)jarg1;
2954 }
2955 
2956 
2958  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2959  int arg2 ;
2960  int arg3 ;
2961 
2962  arg1 = (std::vector< double > *)jarg1;
2963  arg2 = (int)jarg2;
2964  arg3 = (int)jarg3;
2965  try {
2967  } catch(std::out_of_range &_e) {
2969  return ;
2970  } catch(std::invalid_argument &_e) {
2972  return ;
2973  }
2974 }
2975 
2976 
2978  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2979  int arg2 ;
2980  std::vector< double > *arg3 = 0 ;
2981 
2982  arg1 = (std::vector< double > *)jarg1;
2983  arg2 = (int)jarg2;
2984  arg3 = (std::vector< double > *)jarg3;
2985  if (!arg3) {
2986  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< double > const & type is null", 0);
2987  return ;
2988  }
2989  try {
2990  std_vector_Sl_double_Sg__SetRange(arg1,arg2,(std::vector< double > const &)*arg3);
2991  } catch(std::out_of_range &_e) {
2993  return ;
2994  }
2995 }
2996 
2997 
2999  unsigned int jresult ;
3000  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3001  double *arg2 = 0 ;
3002  double temp2 ;
3003  bool result;
3004 
3005  arg1 = (std::vector< double > *)jarg1;
3006  temp2 = (double)jarg2;
3007  arg2 = &temp2;
3008  result = (bool)std_vector_Sl_double_Sg__Contains(arg1,(double const &)*arg2);
3009  jresult = result;
3010  return jresult;
3011 }
3012 
3013 
3015  int jresult ;
3016  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3017  double *arg2 = 0 ;
3018  double temp2 ;
3019  int result;
3020 
3021  arg1 = (std::vector< double > *)jarg1;
3022  temp2 = (double)jarg2;
3023  arg2 = &temp2;
3024  result = (int)std_vector_Sl_double_Sg__IndexOf(arg1,(double const &)*arg2);
3025  jresult = result;
3026  return jresult;
3027 }
3028 
3029 
3031  int jresult ;
3032  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3033  double *arg2 = 0 ;
3034  double temp2 ;
3035  int result;
3036 
3037  arg1 = (std::vector< double > *)jarg1;
3038  temp2 = (double)jarg2;
3039  arg2 = &temp2;
3040  result = (int)std_vector_Sl_double_Sg__LastIndexOf(arg1,(double const &)*arg2);
3041  jresult = result;
3042  return jresult;
3043 }
3044 
3045 
3047  unsigned int jresult ;
3048  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3049  double *arg2 = 0 ;
3050  double temp2 ;
3051  bool result;
3052 
3053  arg1 = (std::vector< double > *)jarg1;
3054  temp2 = (double)jarg2;
3055  arg2 = &temp2;
3056  result = (bool)std_vector_Sl_double_Sg__Remove(arg1,(double const &)*arg2);
3057  jresult = result;
3058  return jresult;
3059 }
3060 
3061 
3063  std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3064 
3065  arg1 = (std::vector< double > *)jarg1;
3066  delete arg1;
3067 }
3068 
3069 
3071  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3072 
3073  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3074  (arg1)->clear();
3075 }
3076 
3077 
3079  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3082 
3083  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3084  temp2 = (operations_research::MPConstraint *)jarg2;
3085  arg2 = (operations_research::MPConstraint **)&temp2;
3086  (arg1)->push_back((operations_research::MPConstraint *const &)*arg2);
3087 }
3088 
3089 
3091  unsigned long jresult ;
3092  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3093  std::vector< operations_research::MPConstraint * >::size_type result;
3094 
3095  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3096  result = ((std::vector< operations_research::MPConstraint * > const *)arg1)->size();
3097  jresult = (unsigned long)result;
3098  return jresult;
3099 }
3100 
3101 
3103  unsigned long jresult ;
3104  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3105  std::vector< operations_research::MPConstraint * >::size_type result;
3106 
3107  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3108  result = ((std::vector< operations_research::MPConstraint * > const *)arg1)->capacity();
3109  jresult = (unsigned long)result;
3110  return jresult;
3111 }
3112 
3113 
3115  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3116  std::vector< operations_research::MPConstraint * >::size_type arg2 ;
3117 
3118  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3119  arg2 = (std::vector< operations_research::MPConstraint * >::size_type)jarg2;
3120  (arg1)->reserve(arg2);
3121 }
3122 
3123 
3125  void * jresult ;
3126  std::vector< operations_research::MPConstraint * > *result = 0 ;
3127 
3128  result = (std::vector< operations_research::MPConstraint * > *)new std::vector< operations_research::MPConstraint * >();
3129  jresult = (void *)result;
3130  return jresult;
3131 }
3132 
3133 
3135  void * jresult ;
3136  std::vector< operations_research::MPConstraint * > *arg1 = 0 ;
3137  std::vector< operations_research::MPConstraint * > *result = 0 ;
3138 
3139  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3140  if (!arg1) {
3141  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< operations_research::MPConstraint * > const & type is null", 0);
3142  return 0;
3143  }
3144  result = (std::vector< operations_research::MPConstraint * > *)new std::vector< operations_research::MPConstraint * >((std::vector< operations_research::MPConstraint * > const &)*arg1);
3145  jresult = (void *)result;
3146  return jresult;
3147 }
3148 
3149 
3151  void * jresult ;
3152  int arg1 ;
3153  std::vector< operations_research::MPConstraint * > *result = 0 ;
3154 
3155  arg1 = (int)jarg1;
3156  try {
3157  result = (std::vector< operations_research::MPConstraint * > *)new_std_vector_Sl_operations_research_MPConstraint_Sm__Sg___SWIG_2(arg1);
3158  } catch(std::out_of_range &_e) {
3160  return 0;
3161  }
3162  jresult = (void *)result;
3163  return jresult;
3164 }
3165 
3166 
3168  void * jresult ;
3169  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3170  int arg2 ;
3171  operations_research::MPConstraint *result = 0 ;
3172 
3173  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3174  arg2 = (int)jarg2;
3175  try {
3177  } catch(std::out_of_range &_e) {
3179  return 0;
3180  }
3181  jresult = (void *)result;
3182  return jresult;
3183 }
3184 
3185 
3187  void * jresult ;
3188  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3189  int arg2 ;
3190  std::vector< operations_research::MPConstraint * >::value_type *result = 0 ;
3191 
3192  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3193  arg2 = (int)jarg2;
3194  try {
3195  result = (std::vector< operations_research::MPConstraint * >::value_type *) &std_vector_Sl_operations_research_MPConstraint_Sm__Sg__getitem(arg1,arg2);
3196  } catch(std::out_of_range &_e) {
3198  return 0;
3199  }
3200  jresult = (void *)*result;
3201  return jresult;
3202 }
3203 
3204 
3206  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3207  int arg2 ;
3210 
3211  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3212  arg2 = (int)jarg2;
3213  temp3 = (operations_research::MPConstraint *)jarg3;
3214  arg3 = (operations_research::MPConstraint **)&temp3;
3215  try {
3217  } catch(std::out_of_range &_e) {
3219  return ;
3220  }
3221 }
3222 
3223 
3225  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3226  std::vector< operations_research::MPConstraint * > *arg2 = 0 ;
3227 
3228  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3229  arg2 = (std::vector< operations_research::MPConstraint * > *)jarg2;
3230  if (!arg2) {
3231  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< operations_research::MPConstraint * > const & type is null", 0);
3232  return ;
3233  }
3234  std_vector_Sl_operations_research_MPConstraint_Sm__Sg__AddRange(arg1,(std::vector< operations_research::MPConstraint * > const &)*arg2);
3235 }
3236 
3237 
3239  void * jresult ;
3240  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3241  int arg2 ;
3242  int arg3 ;
3243  std::vector< operations_research::MPConstraint * > *result = 0 ;
3244 
3245  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3246  arg2 = (int)jarg2;
3247  arg3 = (int)jarg3;
3248  try {
3249  result = (std::vector< operations_research::MPConstraint * > *)std_vector_Sl_operations_research_MPConstraint_Sm__Sg__GetRange(arg1,arg2,arg3);
3250  } catch(std::out_of_range &_e) {
3252  return 0;
3253  } catch(std::invalid_argument &_e) {
3255  return 0;
3256  }
3257  jresult = (void *)result;
3258  return jresult;
3259 }
3260 
3261 
3263  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3264  int arg2 ;
3267 
3268  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3269  arg2 = (int)jarg2;
3270  temp3 = (operations_research::MPConstraint *)jarg3;
3271  arg3 = (operations_research::MPConstraint **)&temp3;
3272  try {
3274  } catch(std::out_of_range &_e) {
3276  return ;
3277  }
3278 }
3279 
3280 
3282  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3283  int arg2 ;
3284  std::vector< operations_research::MPConstraint * > *arg3 = 0 ;
3285 
3286  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3287  arg2 = (int)jarg2;
3288  arg3 = (std::vector< operations_research::MPConstraint * > *)jarg3;
3289  if (!arg3) {
3290  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< operations_research::MPConstraint * > const & type is null", 0);
3291  return ;
3292  }
3293  try {
3294  std_vector_Sl_operations_research_MPConstraint_Sm__Sg__InsertRange(arg1,arg2,(std::vector< operations_research::MPConstraint * > const &)*arg3);
3295  } catch(std::out_of_range &_e) {
3297  return ;
3298  }
3299 }
3300 
3301 
3303  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3304  int arg2 ;
3305 
3306  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3307  arg2 = (int)jarg2;
3308  try {
3310  } catch(std::out_of_range &_e) {
3312  return ;
3313  }
3314 }
3315 
3316 
3318  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3319  int arg2 ;
3320  int arg3 ;
3321 
3322  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3323  arg2 = (int)jarg2;
3324  arg3 = (int)jarg3;
3325  try {
3327  } catch(std::out_of_range &_e) {
3329  return ;
3330  } catch(std::invalid_argument &_e) {
3332  return ;
3333  }
3334 }
3335 
3336 
3338  void * jresult ;
3340  int arg2 ;
3342  std::vector< operations_research::MPConstraint * > *result = 0 ;
3343 
3344  temp1 = (operations_research::MPConstraint *)jarg1;
3345  arg1 = (operations_research::MPConstraint **)&temp1;
3346  arg2 = (int)jarg2;
3347  try {
3348  result = (std::vector< operations_research::MPConstraint * > *)std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Repeat((operations_research::MPConstraint *const &)*arg1,arg2);
3349  } catch(std::out_of_range &_e) {
3351  return 0;
3352  }
3353  jresult = (void *)result;
3354  return jresult;
3355 }
3356 
3357 
3359  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3360 
3361  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3363 }
3364 
3365 
3367  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3368  int arg2 ;
3369  int arg3 ;
3370 
3371  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3372  arg2 = (int)jarg2;
3373  arg3 = (int)jarg3;
3374  try {
3376  } catch(std::out_of_range &_e) {
3378  return ;
3379  } catch(std::invalid_argument &_e) {
3381  return ;
3382  }
3383 }
3384 
3385 
3387  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3388  int arg2 ;
3389  std::vector< operations_research::MPConstraint * > *arg3 = 0 ;
3390 
3391  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3392  arg2 = (int)jarg2;
3393  arg3 = (std::vector< operations_research::MPConstraint * > *)jarg3;
3394  if (!arg3) {
3395  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< operations_research::MPConstraint * > const & type is null", 0);
3396  return ;
3397  }
3398  try {
3399  std_vector_Sl_operations_research_MPConstraint_Sm__Sg__SetRange(arg1,arg2,(std::vector< operations_research::MPConstraint * > const &)*arg3);
3400  } catch(std::out_of_range &_e) {
3402  return ;
3403  }
3404 }
3405 
3406 
3408  unsigned int jresult ;
3409  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3412  bool result;
3413 
3414  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3415  temp2 = (operations_research::MPConstraint *)jarg2;
3416  arg2 = (operations_research::MPConstraint **)&temp2;
3418  jresult = result;
3419  return jresult;
3420 }
3421 
3422 
3424  int jresult ;
3425  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3428  int result;
3429 
3430  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3431  temp2 = (operations_research::MPConstraint *)jarg2;
3432  arg2 = (operations_research::MPConstraint **)&temp2;
3434  jresult = result;
3435  return jresult;
3436 }
3437 
3438 
3440  int jresult ;
3441  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3444  int result;
3445 
3446  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3447  temp2 = (operations_research::MPConstraint *)jarg2;
3448  arg2 = (operations_research::MPConstraint **)&temp2;
3450  jresult = result;
3451  return jresult;
3452 }
3453 
3454 
3456  unsigned int jresult ;
3457  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3460  bool result;
3461 
3462  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3463  temp2 = (operations_research::MPConstraint *)jarg2;
3464  arg2 = (operations_research::MPConstraint **)&temp2;
3466  jresult = result;
3467  return jresult;
3468 }
3469 
3470 
3472  std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3473 
3474  arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3475  delete arg1;
3476 }
3477 
3478 
3480  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3481 
3482  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3483  (arg1)->clear();
3484 }
3485 
3486 
3488  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3489  operations_research::MPVariable **arg2 = 0 ;
3490  operations_research::MPVariable *temp2 = 0 ;
3491 
3492  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3493  temp2 = (operations_research::MPVariable *)jarg2;
3494  arg2 = (operations_research::MPVariable **)&temp2;
3495  (arg1)->push_back((operations_research::MPVariable *const &)*arg2);
3496 }
3497 
3498 
3500  unsigned long jresult ;
3501  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3502  std::vector< operations_research::MPVariable * >::size_type result;
3503 
3504  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3505  result = ((std::vector< operations_research::MPVariable * > const *)arg1)->size();
3506  jresult = (unsigned long)result;
3507  return jresult;
3508 }
3509 
3510 
3512  unsigned long jresult ;
3513  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3514  std::vector< operations_research::MPVariable * >::size_type result;
3515 
3516  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3517  result = ((std::vector< operations_research::MPVariable * > const *)arg1)->capacity();
3518  jresult = (unsigned long)result;
3519  return jresult;
3520 }
3521 
3522 
3524  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3525  std::vector< operations_research::MPVariable * >::size_type arg2 ;
3526 
3527  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3528  arg2 = (std::vector< operations_research::MPVariable * >::size_type)jarg2;
3529  (arg1)->reserve(arg2);
3530 }
3531 
3532 
3534  void * jresult ;
3535  std::vector< operations_research::MPVariable * > *result = 0 ;
3536 
3537  result = (std::vector< operations_research::MPVariable * > *)new std::vector< operations_research::MPVariable * >();
3538  jresult = (void *)result;
3539  return jresult;
3540 }
3541 
3542 
3544  void * jresult ;
3545  std::vector< operations_research::MPVariable * > *arg1 = 0 ;
3546  std::vector< operations_research::MPVariable * > *result = 0 ;
3547 
3548  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3549  if (!arg1) {
3550  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< operations_research::MPVariable * > const & type is null", 0);
3551  return 0;
3552  }
3553  result = (std::vector< operations_research::MPVariable * > *)new std::vector< operations_research::MPVariable * >((std::vector< operations_research::MPVariable * > const &)*arg1);
3554  jresult = (void *)result;
3555  return jresult;
3556 }
3557 
3558 
3560  void * jresult ;
3561  int arg1 ;
3562  std::vector< operations_research::MPVariable * > *result = 0 ;
3563 
3564  arg1 = (int)jarg1;
3565  try {
3566  result = (std::vector< operations_research::MPVariable * > *)new_std_vector_Sl_operations_research_MPVariable_Sm__Sg___SWIG_2(arg1);
3567  } catch(std::out_of_range &_e) {
3569  return 0;
3570  }
3571  jresult = (void *)result;
3572  return jresult;
3573 }
3574 
3575 
3577  void * jresult ;
3578  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3579  int arg2 ;
3580  operations_research::MPVariable *result = 0 ;
3581 
3582  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3583  arg2 = (int)jarg2;
3584  try {
3586  } catch(std::out_of_range &_e) {
3588  return 0;
3589  }
3590  jresult = (void *)result;
3591  return jresult;
3592 }
3593 
3594 
3596  void * jresult ;
3597  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3598  int arg2 ;
3599  std::vector< operations_research::MPVariable * >::value_type *result = 0 ;
3600 
3601  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3602  arg2 = (int)jarg2;
3603  try {
3604  result = (std::vector< operations_research::MPVariable * >::value_type *) &std_vector_Sl_operations_research_MPVariable_Sm__Sg__getitem(arg1,arg2);
3605  } catch(std::out_of_range &_e) {
3607  return 0;
3608  }
3609  jresult = (void *)*result;
3610  return jresult;
3611 }
3612 
3613 
3615  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3616  int arg2 ;
3617  operations_research::MPVariable **arg3 = 0 ;
3618  operations_research::MPVariable *temp3 = 0 ;
3619 
3620  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3621  arg2 = (int)jarg2;
3622  temp3 = (operations_research::MPVariable *)jarg3;
3623  arg3 = (operations_research::MPVariable **)&temp3;
3624  try {
3626  } catch(std::out_of_range &_e) {
3628  return ;
3629  }
3630 }
3631 
3632 
3634  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3635  std::vector< operations_research::MPVariable * > *arg2 = 0 ;
3636 
3637  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3638  arg2 = (std::vector< operations_research::MPVariable * > *)jarg2;
3639  if (!arg2) {
3640  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< operations_research::MPVariable * > const & type is null", 0);
3641  return ;
3642  }
3643  std_vector_Sl_operations_research_MPVariable_Sm__Sg__AddRange(arg1,(std::vector< operations_research::MPVariable * > const &)*arg2);
3644 }
3645 
3646 
3648  void * jresult ;
3649  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3650  int arg2 ;
3651  int arg3 ;
3652  std::vector< operations_research::MPVariable * > *result = 0 ;
3653 
3654  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3655  arg2 = (int)jarg2;
3656  arg3 = (int)jarg3;
3657  try {
3658  result = (std::vector< operations_research::MPVariable * > *)std_vector_Sl_operations_research_MPVariable_Sm__Sg__GetRange(arg1,arg2,arg3);
3659  } catch(std::out_of_range &_e) {
3661  return 0;
3662  } catch(std::invalid_argument &_e) {
3664  return 0;
3665  }
3666  jresult = (void *)result;
3667  return jresult;
3668 }
3669 
3670 
3672  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3673  int arg2 ;
3674  operations_research::MPVariable **arg3 = 0 ;
3675  operations_research::MPVariable *temp3 = 0 ;
3676 
3677  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3678  arg2 = (int)jarg2;
3679  temp3 = (operations_research::MPVariable *)jarg3;
3680  arg3 = (operations_research::MPVariable **)&temp3;
3681  try {
3683  } catch(std::out_of_range &_e) {
3685  return ;
3686  }
3687 }
3688 
3689 
3691  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3692  int arg2 ;
3693  std::vector< operations_research::MPVariable * > *arg3 = 0 ;
3694 
3695  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3696  arg2 = (int)jarg2;
3697  arg3 = (std::vector< operations_research::MPVariable * > *)jarg3;
3698  if (!arg3) {
3699  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< operations_research::MPVariable * > const & type is null", 0);
3700  return ;
3701  }
3702  try {
3703  std_vector_Sl_operations_research_MPVariable_Sm__Sg__InsertRange(arg1,arg2,(std::vector< operations_research::MPVariable * > const &)*arg3);
3704  } catch(std::out_of_range &_e) {
3706  return ;
3707  }
3708 }
3709 
3710 
3712  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3713  int arg2 ;
3714 
3715  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3716  arg2 = (int)jarg2;
3717  try {
3719  } catch(std::out_of_range &_e) {
3721  return ;
3722  }
3723 }
3724 
3725 
3727  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3728  int arg2 ;
3729  int arg3 ;
3730 
3731  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3732  arg2 = (int)jarg2;
3733  arg3 = (int)jarg3;
3734  try {
3736  } catch(std::out_of_range &_e) {
3738  return ;
3739  } catch(std::invalid_argument &_e) {
3741  return ;
3742  }
3743 }
3744 
3745 
3747  void * jresult ;
3748  operations_research::MPVariable **arg1 = 0 ;
3749  int arg2 ;
3750  operations_research::MPVariable *temp1 = 0 ;
3751  std::vector< operations_research::MPVariable * > *result = 0 ;
3752 
3753  temp1 = (operations_research::MPVariable *)jarg1;
3754  arg1 = (operations_research::MPVariable **)&temp1;
3755  arg2 = (int)jarg2;
3756  try {
3757  result = (std::vector< operations_research::MPVariable * > *)std_vector_Sl_operations_research_MPVariable_Sm__Sg__Repeat((operations_research::MPVariable *const &)*arg1,arg2);
3758  } catch(std::out_of_range &_e) {
3760  return 0;
3761  }
3762  jresult = (void *)result;
3763  return jresult;
3764 }
3765 
3766 
3768  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3769 
3770  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3772 }
3773 
3774 
3776  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3777  int arg2 ;
3778  int arg3 ;
3779 
3780  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3781  arg2 = (int)jarg2;
3782  arg3 = (int)jarg3;
3783  try {
3785  } catch(std::out_of_range &_e) {
3787  return ;
3788  } catch(std::invalid_argument &_e) {
3790  return ;
3791  }
3792 }
3793 
3794 
3796  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3797  int arg2 ;
3798  std::vector< operations_research::MPVariable * > *arg3 = 0 ;
3799 
3800  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3801  arg2 = (int)jarg2;
3802  arg3 = (std::vector< operations_research::MPVariable * > *)jarg3;
3803  if (!arg3) {
3804  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< operations_research::MPVariable * > const & type is null", 0);
3805  return ;
3806  }
3807  try {
3808  std_vector_Sl_operations_research_MPVariable_Sm__Sg__SetRange(arg1,arg2,(std::vector< operations_research::MPVariable * > const &)*arg3);
3809  } catch(std::out_of_range &_e) {
3811  return ;
3812  }
3813 }
3814 
3815 
3817  unsigned int jresult ;
3818  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3819  operations_research::MPVariable **arg2 = 0 ;
3820  operations_research::MPVariable *temp2 = 0 ;
3821  bool result;
3822 
3823  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3824  temp2 = (operations_research::MPVariable *)jarg2;
3825  arg2 = (operations_research::MPVariable **)&temp2;
3827  jresult = result;
3828  return jresult;
3829 }
3830 
3831 
3833  int jresult ;
3834  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3835  operations_research::MPVariable **arg2 = 0 ;
3836  operations_research::MPVariable *temp2 = 0 ;
3837  int result;
3838 
3839  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3840  temp2 = (operations_research::MPVariable *)jarg2;
3841  arg2 = (operations_research::MPVariable **)&temp2;
3843  jresult = result;
3844  return jresult;
3845 }
3846 
3847 
3849  int jresult ;
3850  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3851  operations_research::MPVariable **arg2 = 0 ;
3852  operations_research::MPVariable *temp2 = 0 ;
3853  int result;
3854 
3855  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3856  temp2 = (operations_research::MPVariable *)jarg2;
3857  arg2 = (operations_research::MPVariable **)&temp2;
3859  jresult = result;
3860  return jresult;
3861 }
3862 
3863 
3865  unsigned int jresult ;
3866  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3867  operations_research::MPVariable **arg2 = 0 ;
3868  operations_research::MPVariable *temp2 = 0 ;
3869  bool result;
3870 
3871  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3872  temp2 = (operations_research::MPVariable *)jarg2;
3873  arg2 = (operations_research::MPVariable **)&temp2;
3875  jresult = result;
3876  return jresult;
3877 }
3878 
3879 
3881  std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3882 
3883  arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3884  delete arg1;
3885 }
3886 
3887 
3889  void * jresult ;
3890  std::string *arg1 = 0 ;
3892  operations_research::MPSolver *result = 0 ;
3893 
3894  if (!jarg1) {
3896  return 0;
3897  }
3898  std::string arg1_str(jarg1);
3899  arg1 = &arg1_str;
3901  result = (operations_research::MPSolver *)new operations_research::MPSolver((std::string const &)*arg1,arg2);
3902  jresult = (void *)result;
3903  return jresult;
3904 }
3905 
3906 
3909 
3910  arg1 = (operations_research::MPSolver *)jarg1;
3911  delete arg1;
3912 }
3913 
3914 
3916  void * jresult ;
3917  std::string *arg1 = 0 ;
3918  operations_research::MPSolver *result = 0 ;
3919 
3920  if (!jarg1) {
3922  return 0;
3923  }
3924  std::string arg1_str(jarg1);
3925  arg1 = &arg1_str;
3926  result = (operations_research::MPSolver *)operations_research::MPSolver::CreateSolver((std::string const &)*arg1);
3927  jresult = (void *)result;
3928  return jresult;
3929 }
3930 
3931 
3933  unsigned int jresult ;
3935  bool result;
3936 
3939  jresult = result;
3940  return jresult;
3941 }
3942 
3943 
3946 
3947  arg1 = (operations_research::MPSolver *)jarg1;
3948  (arg1)->Clear();
3949 }
3950 
3951 
3953  int jresult ;
3955  int result;
3956 
3957  arg1 = (operations_research::MPSolver *)jarg1;
3958  result = (int)((operations_research::MPSolver const *)arg1)->NumVariables();
3959  jresult = result;
3960  return jresult;
3961 }
3962 
3963 
3965  void * jresult ;
3967  std::vector< operations_research::MPVariable * > *result = 0 ;
3968 
3969  arg1 = (operations_research::MPSolver *)jarg1;
3970  result = (std::vector< operations_research::MPVariable * > *) &((operations_research::MPSolver const *)arg1)->variables();
3971  jresult = (void *)result;
3972  return jresult;
3973 }
3974 
3975 
3977  void * jresult ;
3979  int arg2 ;
3980  operations_research::MPVariable *result = 0 ;
3981 
3982  arg1 = (operations_research::MPSolver *)jarg1;
3983  arg2 = (int)jarg2;
3984  result = (operations_research::MPVariable *)((operations_research::MPSolver const *)arg1)->variable(arg2);
3985  jresult = (void *)result;
3986  return jresult;
3987 }
3988 
3989 
3991  void * jresult ;
3993  std::string *arg2 = 0 ;
3994  operations_research::MPVariable *result = 0 ;
3995 
3996  arg1 = (operations_research::MPSolver *)jarg1;
3997  if (!jarg2) {
3999  return 0;
4000  }
4001  std::string arg2_str(jarg2);
4002  arg2 = &arg2_str;
4003  result = (operations_research::MPVariable *)((operations_research::MPSolver const *)arg1)->LookupVariableOrNull((std::string const &)*arg2);
4004  jresult = (void *)result;
4005  return jresult;
4006 }
4007 
4008 
4009 SWIGEXPORT void * SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeVar___(void * jarg1, double jarg2, double jarg3, unsigned int jarg4, char * jarg5) {
4010  void * jresult ;
4012  double arg2 ;
4013  double arg3 ;
4014  bool arg4 ;
4015  std::string *arg5 = 0 ;
4016  operations_research::MPVariable *result = 0 ;
4017 
4018  arg1 = (operations_research::MPSolver *)jarg1;
4019  arg2 = (double)jarg2;
4020  arg3 = (double)jarg3;
4021  arg4 = jarg4 ? true : false;
4022  if (!jarg5) {
4024  return 0;
4025  }
4026  std::string arg5_str(jarg5);
4027  arg5 = &arg5_str;
4028  result = (operations_research::MPVariable *)(arg1)->MakeVar(arg2,arg3,arg4,(std::string const &)*arg5);
4029  jresult = (void *)result;
4030  return jresult;
4031 }
4032 
4033 
4034 SWIGEXPORT void * SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeNumVar___(void * jarg1, double jarg2, double jarg3, char * jarg4) {
4035  void * jresult ;
4037  double arg2 ;
4038  double arg3 ;
4039  std::string *arg4 = 0 ;
4040  operations_research::MPVariable *result = 0 ;
4041 
4042  arg1 = (operations_research::MPSolver *)jarg1;
4043  arg2 = (double)jarg2;
4044  arg3 = (double)jarg3;
4045  if (!jarg4) {
4047  return 0;
4048  }
4049  std::string arg4_str(jarg4);
4050  arg4 = &arg4_str;
4051  result = (operations_research::MPVariable *)(arg1)->MakeNumVar(arg2,arg3,(std::string const &)*arg4);
4052  jresult = (void *)result;
4053  return jresult;
4054 }
4055 
4056 
4057 SWIGEXPORT void * SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeIntVar___(void * jarg1, double jarg2, double jarg3, char * jarg4) {
4058  void * jresult ;
4060  double arg2 ;
4061  double arg3 ;
4062  std::string *arg4 = 0 ;
4063  operations_research::MPVariable *result = 0 ;
4064 
4065  arg1 = (operations_research::MPSolver *)jarg1;
4066  arg2 = (double)jarg2;
4067  arg3 = (double)jarg3;
4068  if (!jarg4) {
4070  return 0;
4071  }
4072  std::string arg4_str(jarg4);
4073  arg4 = &arg4_str;
4074  result = (operations_research::MPVariable *)(arg1)->MakeIntVar(arg2,arg3,(std::string const &)*arg4);
4075  jresult = (void *)result;
4076  return jresult;
4077 }
4078 
4079 
4081  void * jresult ;
4083  std::string *arg2 = 0 ;
4084  operations_research::MPVariable *result = 0 ;
4085 
4086  arg1 = (operations_research::MPSolver *)jarg1;
4087  if (!jarg2) {
4089  return 0;
4090  }
4091  std::string arg2_str(jarg2);
4092  arg2 = &arg2_str;
4093  result = (operations_research::MPVariable *)(arg1)->MakeBoolVar((std::string const &)*arg2);
4094  jresult = (void *)result;
4095  return jresult;
4096 }
4097 
4098 
4100  int jresult ;
4102  int result;
4103 
4104  arg1 = (operations_research::MPSolver *)jarg1;
4105  result = (int)((operations_research::MPSolver const *)arg1)->NumConstraints();
4106  jresult = result;
4107  return jresult;
4108 }
4109 
4110 
4112  void * jresult ;
4114  std::vector< operations_research::MPConstraint * > *result = 0 ;
4115 
4116  arg1 = (operations_research::MPSolver *)jarg1;
4117  result = (std::vector< operations_research::MPConstraint * > *) &((operations_research::MPSolver const *)arg1)->constraints();
4118  jresult = (void *)result;
4119  return jresult;
4120 }
4121 
4122 
4124  void * jresult ;
4126  int arg2 ;
4127  operations_research::MPConstraint *result = 0 ;
4128 
4129  arg1 = (operations_research::MPSolver *)jarg1;
4130  arg2 = (int)jarg2;
4131  result = (operations_research::MPConstraint *)((operations_research::MPSolver const *)arg1)->constraint(arg2);
4132  jresult = (void *)result;
4133  return jresult;
4134 }
4135 
4136 
4138  void * jresult ;
4140  std::string *arg2 = 0 ;
4141  operations_research::MPConstraint *result = 0 ;
4142 
4143  arg1 = (operations_research::MPSolver *)jarg1;
4144  if (!jarg2) {
4146  return 0;
4147  }
4148  std::string arg2_str(jarg2);
4149  arg2 = &arg2_str;
4150  result = (operations_research::MPConstraint *)((operations_research::MPSolver const *)arg1)->LookupConstraintOrNull((std::string const &)*arg2);
4151  jresult = (void *)result;
4152  return jresult;
4153 }
4154 
4155 
4157  void * jresult ;
4159  double arg2 ;
4160  double arg3 ;
4161  operations_research::MPConstraint *result = 0 ;
4162 
4163  arg1 = (operations_research::MPSolver *)jarg1;
4164  arg2 = (double)jarg2;
4165  arg3 = (double)jarg3;
4166  result = (operations_research::MPConstraint *)(arg1)->MakeRowConstraint(arg2,arg3);
4167  jresult = (void *)result;
4168  return jresult;
4169 }
4170 
4171 
4173  void * jresult ;
4175  operations_research::MPConstraint *result = 0 ;
4176 
4177  arg1 = (operations_research::MPSolver *)jarg1;
4178  result = (operations_research::MPConstraint *)(arg1)->MakeRowConstraint();
4179  jresult = (void *)result;
4180  return jresult;
4181 }
4182 
4183 
4184 SWIGEXPORT void * SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeConstraint__SWIG_2___(void * jarg1, double jarg2, double jarg3, char * jarg4) {
4185  void * jresult ;
4187  double arg2 ;
4188  double arg3 ;
4189  std::string *arg4 = 0 ;
4190  operations_research::MPConstraint *result = 0 ;
4191 
4192  arg1 = (operations_research::MPSolver *)jarg1;
4193  arg2 = (double)jarg2;
4194  arg3 = (double)jarg3;
4195  if (!jarg4) {
4197  return 0;
4198  }
4199  std::string arg4_str(jarg4);
4200  arg4 = &arg4_str;
4201  result = (operations_research::MPConstraint *)(arg1)->MakeRowConstraint(arg2,arg3,(std::string const &)*arg4);
4202  jresult = (void *)result;
4203  return jresult;
4204 }
4205 
4206 
4208  void * jresult ;
4210  std::string *arg2 = 0 ;
4211  operations_research::MPConstraint *result = 0 ;
4212 
4213  arg1 = (operations_research::MPSolver *)jarg1;
4214  if (!jarg2) {
4216  return 0;
4217  }
4218  std::string arg2_str(jarg2);
4219  arg2 = &arg2_str;
4220  result = (operations_research::MPConstraint *)(arg1)->MakeRowConstraint((std::string const &)*arg2);
4221  jresult = (void *)result;
4222  return jresult;
4223 }
4224 
4225 
4227  void * jresult ;
4229  operations_research::MPObjective *result = 0 ;
4230 
4231  arg1 = (operations_research::MPSolver *)jarg1;
4232  result = (operations_research::MPObjective *)(arg1)->MutableObjective();
4233  jresult = (void *)result;
4234  return jresult;
4235 }
4236 
4237 
4239  int jresult ;
4242 
4243  arg1 = (operations_research::MPSolver *)jarg1;
4245  jresult = (int)result;
4246  return jresult;
4247 }
4248 
4249 
4251  int jresult ;
4255 
4256  arg1 = (operations_research::MPSolver *)jarg1;
4258  if (!arg2) {
4259  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "operations_research::MPSolverParameters const & type is null", 0);
4260  return 0;
4261  }
4263  jresult = (int)result;
4264  return jresult;
4265 }
4266 
4267 
4269  void* jresult ;
4271  std::vector< double > result;
4272 
4273  arg1 = (operations_research::MPSolver *)jarg1;
4274  result = ((operations_research::MPSolver const *)arg1)->ComputeConstraintActivities();
4275 
4276  jresult = new std::vector< double >((const std::vector< double> &)result);
4277 
4278  return jresult;
4279 }
4280 
4281 
4282 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_VerifySolution___(void * jarg1, double jarg2, unsigned int jarg3) {
4283  unsigned int jresult ;
4285  double arg2 ;
4286  bool arg3 ;
4287  bool result;
4288 
4289  arg1 = (operations_research::MPSolver *)jarg1;
4290  arg2 = (double)jarg2;
4291  arg3 = jarg3 ? true : false;
4292  result = (bool)((operations_research::MPSolver const *)arg1)->VerifySolution(arg2,arg3);
4293  jresult = result;
4294  return jresult;
4295 }
4296 
4297 
4300 
4301  arg1 = (operations_research::MPSolver *)jarg1;
4302  (arg1)->Reset();
4303 }
4304 
4305 
4307  unsigned int jresult ;
4309  bool result;
4310 
4311  arg1 = (operations_research::MPSolver *)jarg1;
4312  result = (bool)(arg1)->InterruptSolve();
4313  jresult = result;
4314  return jresult;
4315 }
4316 
4317 
4319  unsigned int jresult ;
4321  std::string *arg2 = 0 ;
4322  bool result;
4323 
4324  arg1 = (operations_research::MPSolver *)jarg1;
4325  if (!jarg2) {
4327  return 0;
4328  }
4329  std::string arg2_str(jarg2);
4330  arg2 = &arg2_str;
4331  result = (bool)(arg1)->SetSolverSpecificParametersAsString((std::string const &)*arg2);
4332  jresult = result;
4333  return jresult;
4334 }
4335 
4336 
4339 
4340  arg1 = (operations_research::MPSolver *)jarg1;
4341  (arg1)->EnableOutput();
4342 }
4343 
4344 
4347 
4348  arg1 = (operations_research::MPSolver *)jarg1;
4349  (arg1)->SuppressOutput();
4350 }
4351 
4352 
4354  long long jresult ;
4356  int64_t result;
4357 
4358  arg1 = (operations_research::MPSolver *)jarg1;
4359  result = (int64_t)((operations_research::MPSolver const *)arg1)->iterations();
4360  jresult = result;
4361  return jresult;
4362 }
4363 
4364 
4366  long long jresult ;
4368  int64_t result;
4369 
4370  arg1 = (operations_research::MPSolver *)jarg1;
4371  result = (int64_t)((operations_research::MPSolver const *)arg1)->nodes();
4372  jresult = result;
4373  return jresult;
4374 }
4375 
4376 
4378  double jresult ;
4380  double result;
4381 
4382  arg1 = (operations_research::MPSolver *)jarg1;
4383  result = (double)((operations_research::MPSolver const *)arg1)->ComputeExactConditionNumber();
4384  jresult = result;
4385  return jresult;
4386 }
4387 
4388 
4391  int64_t arg2 ;
4392 
4393  arg1 = (operations_research::MPSolver *)jarg1;
4394  arg2 = (int64_t)jarg2;
4395  (arg1)->set_time_limit(arg2);
4396 }
4397 
4398 
4400  long long jresult ;
4402  int64_t result;
4403 
4404  arg1 = (operations_research::MPSolver *)jarg1;
4405  result = (int64_t)((operations_research::MPSolver const *)arg1)->wall_time();
4406  jresult = result;
4407  return jresult;
4408 }
4409 
4410 
4412  char * jresult ;
4414  bool arg2 ;
4415  std::string result;
4416 
4417  arg1 = (operations_research::MPSolver *)jarg1;
4418  arg2 = jarg2 ? true : false;
4420  jresult = SWIG_csharp_string_callback((&result)->c_str());
4421  return jresult;
4422 }
4423 
4424 
4425 SWIGEXPORT char * SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_ExportModelAsMpsFormat___(void * jarg1, unsigned int jarg2, unsigned int jarg3) {
4426  char * jresult ;
4428  bool arg2 ;
4429  bool arg3 ;
4430  std::string result;
4431 
4432  arg1 = (operations_research::MPSolver *)jarg1;
4433  arg2 = jarg2 ? true : false;
4434  arg3 = jarg3 ? true : false;
4435  result = operations_research_MPSolver_ExportModelAsMpsFormat(arg1,arg2,arg3);
4436  jresult = SWIG_csharp_string_callback((&result)->c_str());
4437  return jresult;
4438 }
4439 
4440 
4441 SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_SetHint___(void * jarg1, void * jarg2, int length3, double* jarg3) {
4443  std::vector< operations_research::MPVariable * > *arg2 = 0 ;
4444  std::vector< double > *arg3 = 0 ;
4445 
4446  arg1 = (operations_research::MPSolver *)jarg1;
4447  arg2 = (std::vector< operations_research::MPVariable * > *)jarg2;
4448  if (!arg2) {
4449  SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "std::vector< operations_research::MPVariable * > const & type is null", 0);
4450  return ;
4451  }
4452 
4453  arg3 = new std::vector<double>;
4454  arg3->reserve(length3);
4455  for(int i = 0; i < length3; ++i) {
4456  arg3->emplace_back(jarg3[i]);
4457  }
4458 
4459  operations_research_MPSolver_SetHint(arg1,(std::vector< operations_research::MPVariable * > const &)*arg2,(std::vector< double > const &)*arg3);
4460  {
4461  delete arg3;
4462  }
4463 }
4464 
4465 
4467  unsigned int jresult ;
4469  int arg2 ;
4470  bool result;
4471 
4472  arg1 = (operations_research::MPSolver *)jarg1;
4473  arg2 = (int)jarg2;
4474  result = (bool)operations_research_MPSolver_SetNumThreads(arg1,arg2);
4475  jresult = result;
4476  return jresult;
4477 }
4478 
4479 
4482 
4483  arg1 = (operations_research::MPObjective *)jarg1;
4484  (arg1)->Clear();
4485 }
4486 
4487 
4491  double arg3 ;
4492 
4493  arg1 = (operations_research::MPObjective *)jarg1;
4494  arg2 = (operations_research::MPVariable *)jarg2;
4495  arg3 = (double)jarg3;
4496  (arg1)->SetCoefficient((operations_research::MPVariable const *)arg2,arg3);
4497 }
4498 
4499 
4501  double jresult ;
4504  double result;
4505 
4506  arg1 = (operations_research::MPObjective *)jarg1;
4507  arg2 = (operations_research::MPVariable *)jarg2;
4508  result = (double)((operations_research::MPObjective const *)arg1)->GetCoefficient((operations_research::MPVariable const *)arg2);
4509  jresult = result;
4510  return jresult;
4511 }
4512 
4513 
4516  double arg2 ;
4517 
4518  arg1 = (operations_research::MPObjective *)jarg1;
4519  arg2 = (double)jarg2;
4520  (arg1)->SetOffset(arg2);
4521 }
4522 
4523 
4525  double jresult ;
4527  double result;
4528 
4529  arg1 = (operations_research::MPObjective *)jarg1;
4530  result = (double)((operations_research::MPObjective const *)arg1)->offset();
4531  jresult = result;
4532  return jresult;
4533 }
4534 
4535 
4538  bool arg2 ;
4539 
4540  arg1 = (operations_research::MPObjective *)jarg1;
4541  arg2 = jarg2 ? true : false;
4542  (arg1)->SetOptimizationDirection(arg2);
4543 }
4544 
4545 
4548 
4549  arg1 = (operations_research::MPObjective *)jarg1;
4550  (arg1)->SetMinimization();
4551 }
4552 
4553 
4556 
4557  arg1 = (operations_research::MPObjective *)jarg1;
4558  (arg1)->SetMaximization();
4559 }
4560 
4561 
4563  unsigned int jresult ;
4565  bool result;
4566 
4567  arg1 = (operations_research::MPObjective *)jarg1;
4568  result = (bool)((operations_research::MPObjective const *)arg1)->maximization();
4569  jresult = result;
4570  return jresult;
4571 }
4572 
4573 
4575  unsigned int jresult ;
4577  bool result;
4578 
4579  arg1 = (operations_research::MPObjective *)jarg1;
4580  result = (bool)((operations_research::MPObjective const *)arg1)->minimization();
4581  jresult = result;
4582  return jresult;
4583 }
4584 
4585 
4587  double jresult ;
4589  double result;
4590 
4591  arg1 = (operations_research::MPObjective *)jarg1;
4592  result = (double)((operations_research::MPObjective const *)arg1)->Value();
4593  jresult = result;
4594  return jresult;
4595 }
4596 
4597 
4599  double jresult ;
4601  double result;
4602 
4603  arg1 = (operations_research::MPObjective *)jarg1;
4604  result = (double)((operations_research::MPObjective const *)arg1)->BestBound();
4605  jresult = result;
4606  return jresult;
4607 }
4608 
4609 
4612 
4613  arg1 = (operations_research::MPObjective *)jarg1;
4614  delete arg1;
4615 }
4616 
4617 
4619  char * jresult ;
4621  std::string *result = 0 ;
4622 
4623  arg1 = (operations_research::MPVariable *)jarg1;
4624  result = (std::string *) &((operations_research::MPVariable const *)arg1)->name();
4625  jresult = SWIG_csharp_string_callback(result->c_str());
4626  return jresult;
4627 }
4628 
4629 
4632  bool arg2 ;
4633 
4634  arg1 = (operations_research::MPVariable *)jarg1;
4635  arg2 = jarg2 ? true : false;
4636  (arg1)->SetInteger(arg2);
4637 }
4638 
4639 
4641  double jresult ;
4643  double result;
4644 
4645  arg1 = (operations_research::MPVariable *)jarg1;
4646  result = (double)((operations_research::MPVariable const *)arg1)->solution_value();
4647  jresult = result;
4648  return jresult;
4649 }
4650 
4651 
4653  double jresult ;
4655  double result;
4656 
4657  arg1 = (operations_research::MPVariable *)jarg1;
4658  result = (double)((operations_research::MPVariable const *)arg1)->lb();
4659  jresult = result;
4660  return jresult;
4661 }
4662 
4663 
4665  double jresult ;
4667  double result;
4668 
4669  arg1 = (operations_research::MPVariable *)jarg1;
4670  result = (double)((operations_research::MPVariable const *)arg1)->ub();
4671  jresult = result;
4672  return jresult;
4673 }
4674 
4675 
4678  double arg2 ;
4679 
4680  arg1 = (operations_research::MPVariable *)jarg1;
4681  arg2 = (double)jarg2;
4682  (arg1)->SetLB(arg2);
4683 }
4684 
4685 
4688  double arg2 ;
4689 
4690  arg1 = (operations_research::MPVariable *)jarg1;
4691  arg2 = (double)jarg2;
4692  (arg1)->SetUB(arg2);
4693 }
4694 
4695 
4698  double arg2 ;
4699  double arg3 ;
4700 
4701  arg1 = (operations_research::MPVariable *)jarg1;
4702  arg2 = (double)jarg2;
4703  arg3 = (double)jarg3;
4704  (arg1)->SetBounds(arg2,arg3);
4705 }
4706 
4707 
4709  double jresult ;
4711  double result;
4712 
4713  arg1 = (operations_research::MPVariable *)jarg1;
4714  result = (double)((operations_research::MPVariable const *)arg1)->reduced_cost();
4715  jresult = result;
4716  return jresult;
4717 }
4718 
4719 
4721  int jresult ;
4724 
4725  arg1 = (operations_research::MPVariable *)jarg1;
4726  result = (operations_research::MPSolver::BasisStatus)((operations_research::MPVariable const *)arg1)->basis_status();
4727  jresult = (int)result;
4728  return jresult;
4729 }
4730 
4731 
4734 
4735  arg1 = (operations_research::MPVariable *)jarg1;
4736  delete arg1;
4737 }
4738 
4739 
4741  char * jresult ;
4743  std::string *result = 0 ;
4744 
4745  arg1 = (operations_research::MPConstraint *)jarg1;
4746  result = (std::string *) &((operations_research::MPConstraint const *)arg1)->name();
4747  jresult = SWIG_csharp_string_callback(result->c_str());
4748  return jresult;
4749 }
4750 
4751 
4755  double arg3 ;
4756 
4757  arg1 = (operations_research::MPConstraint *)jarg1;
4758  arg2 = (operations_research::MPVariable *)jarg2;
4759  arg3 = (double)jarg3;
4760  (arg1)->SetCoefficient((operations_research::MPVariable const *)arg2,arg3);
4761 }
4762 
4763 
4765  double jresult ;
4768  double result;
4769 
4770  arg1 = (operations_research::MPConstraint *)jarg1;
4771  arg2 = (operations_research::MPVariable *)jarg2;
4772  result = (double)((operations_research::MPConstraint const *)arg1)->GetCoefficient((operations_research::MPVariable const *)arg2);
4773  jresult = result;
4774  return jresult;
4775 }
4776 
4777 
4779  double jresult ;
4781  double result;
4782 
4783  arg1 = (operations_research::MPConstraint *)jarg1;
4784  result = (double)((operations_research::MPConstraint const *)arg1)->lb();
4785  jresult = result;
4786  return jresult;
4787 }
4788 
4789 
4791  double jresult ;
4793  double result;
4794 
4795  arg1 = (operations_research::MPConstraint *)jarg1;
4796  result = (double)((operations_research::MPConstraint const *)arg1)->ub();
4797  jresult = result;
4798  return jresult;
4799 }
4800 
4801 
4804  double arg2 ;
4805 
4806  arg1 = (operations_research::MPConstraint *)jarg1;
4807  arg2 = (double)jarg2;
4808  (arg1)->SetLB(arg2);
4809 }
4810 
4811 
4814  double arg2 ;
4815 
4816  arg1 = (operations_research::MPConstraint *)jarg1;
4817  arg2 = (double)jarg2;
4818  (arg1)->SetUB(arg2);
4819 }
4820 
4821 
4824  double arg2 ;
4825  double arg3 ;
4826 
4827  arg1 = (operations_research::MPConstraint *)jarg1;
4828  arg2 = (double)jarg2;
4829  arg3 = (double)jarg3;
4830  (arg1)->SetBounds(arg2,arg3);
4831 }
4832 
4833 
4835  unsigned int jresult ;
4837  bool result;
4838 
4839  arg1 = (operations_research::MPConstraint *)jarg1;
4840  result = (bool)((operations_research::MPConstraint const *)arg1)->is_lazy();
4841  jresult = result;
4842  return jresult;
4843 }
4844 
4845 
4848  bool arg2 ;
4849 
4850  arg1 = (operations_research::MPConstraint *)jarg1;
4851  arg2 = jarg2 ? true : false;
4852  (arg1)->set_is_lazy(arg2);
4853 }
4854 
4855 
4857  int jresult ;
4859  int result;
4860 
4861  arg1 = (operations_research::MPConstraint *)jarg1;
4862  result = (int)((operations_research::MPConstraint const *)arg1)->index();
4863  jresult = result;
4864  return jresult;
4865 }
4866 
4867 
4869  double jresult ;
4871  double result;
4872 
4873  arg1 = (operations_research::MPConstraint *)jarg1;
4874  result = (double)((operations_research::MPConstraint const *)arg1)->dual_value();
4875  jresult = result;
4876  return jresult;
4877 }
4878 
4879 
4881  int jresult ;
4884 
4885  arg1 = (operations_research::MPConstraint *)jarg1;
4886  result = (operations_research::MPSolver::BasisStatus)((operations_research::MPConstraint const *)arg1)->basis_status();
4887  jresult = (int)result;
4888  return jresult;
4889 }
4890 
4891 
4894 
4895  arg1 = (operations_research::MPConstraint *)jarg1;
4896  delete arg1;
4897 }
4898 
4899 
4901  double jresult ;
4902  double result;
4903 
4905  jresult = result;
4906  return jresult;
4907 }
4908 
4909 
4911  double jresult ;
4912  double result;
4913 
4915  jresult = result;
4916  return jresult;
4917 }
4918 
4919 
4921  double jresult ;
4922  double result;
4923 
4925  jresult = result;
4926  return jresult;
4927 }
4928 
4929 
4931  int jresult ;
4933 
4935  jresult = (int)result;
4936  return jresult;
4937 }
4938 
4939 
4941  int jresult ;
4943 
4945  jresult = (int)result;
4946  return jresult;
4947 }
4948 
4949 
4951  void * jresult ;
4953 
4955  jresult = (void *)result;
4956  return jresult;
4957 }
4958 
4959 
4963  double arg3 ;
4964 
4965  arg1 = (operations_research::MPSolverParameters *)jarg1;
4967  arg3 = (double)jarg3;
4968  (arg1)->SetDoubleParam(arg2,arg3);
4969 }
4970 
4971 
4975  int arg3 ;
4976 
4977  arg1 = (operations_research::MPSolverParameters *)jarg1;
4979  arg3 = (int)jarg3;
4980  (arg1)->SetIntegerParam(arg2,arg3);
4981 }
4982 
4983 
4985  double jresult ;
4988  double result;
4989 
4990  arg1 = (operations_research::MPSolverParameters *)jarg1;
4992  result = (double)((operations_research::MPSolverParameters const *)arg1)->GetDoubleParam(arg2);
4993  jresult = result;
4994  return jresult;
4995 }
4996 
4997 
4999  int jresult ;
5002  int result;
5003 
5004  arg1 = (operations_research::MPSolverParameters *)jarg1;
5006  result = (int)((operations_research::MPSolverParameters const *)arg1)->GetIntegerParam(arg2);
5007  jresult = result;
5008  return jresult;
5009 }
5010 
5011 
5014 
5015  arg1 = (operations_research::MPSolverParameters *)jarg1;
5016  delete arg1;
5017 }
5018 
5019 
5020 #ifdef __cplusplus
5021 }
5022 #endif
5023 
#define LOG(severity)
Definition: base/logging.h:423
The class for constraints of a Mathematical Programming (MP) model.
A class to express a linear objective.
This mathematical programming (MP) solver class is the main class though which users build and solve ...
static bool SupportsProblemType(OptimizationProblemType problem_type)
Whether the given problem type is supported (this will depend on the targets that you linked).
static MPSolver * CreateSolver(const std::string &solver_id)
Recommended factory method to create a MPSolver instance, especially in non C++ languages.
ResultStatus
The status of solving the problem.
OptimizationProblemType
The type of problems (LP or MIP) that will be solved and the underlying solver (GLOP,...
std::vector< double > ComputeConstraintActivities() const
Advanced usage: compute the "activities" of all constraints, which are the sums of their linear terms...
bool InterruptSolve()
Interrupts the Solve() execution to terminate processing if possible.
ResultStatus Solve()
Solves the problem using the default parameter values.
BasisStatus
Advanced usage: possible basis status values for a variable and the slack variable of a linear constr...
This class stores parameter settings for LP and MIP solvers.
IncrementalityValues
Advanced usage: Incrementality options.
static const IncrementalityValues kDefaultIncrementality
DoubleParam
Enumeration of parameters that take continuous values.
static const PresolveValues kDefaultPresolve
IntegerParam
Enumeration of parameters that take integer or categorical values.
PresolveValues
For each categorical parameter, enumeration of possible values.
The class for variables of a Mathematical Programming (MP) model.
const std::string name
int64_t value
GRBmodel * model
MPCallback * callback
SWIG_CSharpExceptionArgumentCodes
A C++ wrapper that provides a simple and unified interface to several linear programming and mixed in...
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_SetRange___(void *jarg1, int jarg2, void *jarg3)
SWIGINTERN bool std_vector_Sl_int64_t_Sg__Contains(std::vector< int64_t > *self, long const &value)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_getitem___(void *jarg1, int jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_GetRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_MPVariableVector__SWIG_0___()
SWIGINTERN void std_vector_Sl_double_Sg__Reverse__SWIG_1(std::vector< double > *self, int index, int count)
SWIGINTERN std::vector< operations_research::MPVariable * > * std_vector_Sl_operations_research_MPVariable_Sm__Sg__GetRange(std::vector< operations_research::MPVariable * > *self, int index, int count)
SWIGINTERN void std_vector_Sl_int64_t_Sg__AddRange(std::vector< int64_t > *self, std::vector< long > const &values)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_IntVectorVector___(void *jarg1)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_size___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN void std_vector_Sl_int_Sg__InsertRange(std::vector< int > *self, int index, std::vector< int > const &values)
SWIGINTERN void std_vector_Sl_double_Sg__RemoveRange(std::vector< double > *self, int index, int count)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Reverse__SWIG_0(std::vector< std::vector< int64_t > > *self)
SWIGINTERN int std_vector_Sl_operations_research_MPConstraint_Sm__Sg__LastIndexOf(std::vector< operations_research::MPConstraint * > *self, operations_research::MPConstraint *const &value)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_IntVector__SWIG_1___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_Solve__SWIG_0___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_IntVectorVector__SWIG_0___()
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_AddRange___(void *jarg1, void *jarg2)
static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[]
SWIGINTERN void std_vector_Sl_int64_t_Sg__setitem(std::vector< int64_t > *self, int index, long const &val)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_Clear___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_IntVector___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_getitem___(void *jarg1, int jarg2)
SWIGINTERN std::vector< long > * std_vector_Sl_int64_t_Sg__Repeat(long const &value, int count)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_GetRange___(void *jarg1, int jarg2, int jarg3)
void(SWIGSTDCALL * SWIG_CSharpExceptionCallback_t)(const char *)
SWIGINTERN std::vector< int > * std_vector_Sl_int_Sg__Repeat(int const &value, int count)
SWIGINTERN bool std_vector_Sl_int64_t_Sg__Remove(std::vector< int64_t > *self, long const &value)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_ComputeConstraintActivities___(void *jarg1)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Insert(std::vector< std::vector< int64_t > > *self, int index, std::vector< int64_t > const &x)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeConstraint__SWIG_1___(void *jarg1)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_getitemcopy___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_Add___(void *jarg1, long long jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_SuppressOutput___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN void std_vector_Sl_double_Sg__AddRange(std::vector< double > *self, std::vector< double > const &values)
SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__SetRange(std::vector< operations_research::MPVariable * > *self, int index, std::vector< operations_research::MPVariable * > const &values)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__Reverse__SWIG_1(std::vector< std::vector< int > > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_Add___(void *jarg1, void *jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_Add___(void *jarg1, double jarg2)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_capacity___(void *jarg1)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_Contains___(void *jarg1, void *jarg2)
SWIGINTERN std::vector< std::vector< int > > * std_vector_Sl_std_vector_Sl_int_Sg__Sg__Repeat(std::vector< int > const &value, int count)
SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__Insert(std::vector< operations_research::MPVariable * > *self, int index, operations_research::MPVariable *const &x)
static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name)
SWIGINTERN std::vector< operations_research::MPConstraint * > * std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Repeat(operations_research::MPConstraint *const &value, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_Insert___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_BestBound___(void *jarg1)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_Remove___(void *jarg1, void *jarg2)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_Nodes___(void *jarg1)
SWIGINTERN std::vector< double >::value_type const & std_vector_Sl_double_Sg__getitem(std::vector< double > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_Reset___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_Index___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_DoubleVector__SWIG_0___()
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__AddRange(std::vector< std::vector< int64_t > > *self, std::vector< std::vector< int64_t > > const &values)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_size___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_SetIsLazy___(void *jarg1, unsigned int jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_Int64Vector__SWIG_0___()
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_capacity___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_reserve___(void *jarg1, unsigned long jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__RemoveRange(std::vector< std::vector< int64_t > > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_RemoveAt___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_Clear___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_Int64VectorVector__SWIG_0___()
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_reserve___(void *jarg1, unsigned long jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_MPConstraintVector___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_IndexOf___(void *jarg1, void *jarg2)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__InsertRange(std::vector< std::vector< int > > *self, int index, std::vector< std::vector< int > > const &values)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_GetRange___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN bool std_vector_Sl_int_Sg__Contains(std::vector< int > *self, int const &value)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_SetTimeLimit___(void *jarg1, long long jarg2)
SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_operations_research_linear_solver(SWIG_CSharpStringHelperCallback callback)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_getitem___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_Reverse__SWIG_0___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_setitem___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_SetUb___(void *jarg1, double jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_Reverse__SWIG_0___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_getitem___(void *jarg1, int jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_Int64VectorVector__SWIG_2___(int jarg1)
SWIGINTERN void std_vector_Sl_int64_t_Sg__SetRange(std::vector< int64_t > *self, int index, std::vector< long > const &values)
SWIGINTERN void std_vector_Sl_double_Sg__RemoveAt(std::vector< double > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_Reverse__SWIG_0___(void *jarg1)
SWIGINTERN int std_vector_Sl_int_Sg__LastIndexOf(std::vector< int > *self, int const &value)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_SetRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_reserve___(void *jarg1, unsigned long jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_LastIndexOf___(void *jarg1, int jarg2)
SWIGINTERN void std_vector_Sl_int_Sg__Reverse__SWIG_1(std::vector< int > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_setitem___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPSolverParameters_GetIntegerParam___(void *jarg1, int jarg2)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__SetRange(std::vector< std::vector< int > > *self, int index, std::vector< std::vector< int > > const &values)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_IntVector__SWIG_2___(int jarg1)
SWIGINTERN operations_research::MPConstraint * std_vector_Sl_operations_research_MPConstraint_Sm__Sg__getitemcopy(std::vector< operations_research::MPConstraint * > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_Clear___(void *jarg1)
SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Insert(std::vector< operations_research::MPConstraint * > *self, int index, operations_research::MPConstraint *const &x)
SWIGEXPORT char *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_Name___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_BasisStatus___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_SetLb___(void *jarg1, double jarg2)
SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__InsertRange(std::vector< operations_research::MPConstraint * > *self, int index, std::vector< operations_research::MPConstraint * > const &values)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_Clear___(void *jarg1)
SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__RemoveRange(std::vector< operations_research::MPVariable * > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_Constraint___(void *jarg1)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_size___(void *jarg1)
SWIGINTERN void std_vector_Sl_int_Sg__AddRange(std::vector< int > *self, std::vector< int > const &values)
SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__RemoveAt(std::vector< operations_research::MPVariable * > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_SetOptimizationDirection___(void *jarg1, unsigned int jarg2)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__RemoveRange(std::vector< std::vector< int > > *self, int index, int count)
SWIGINTERN int std_vector_Sl_int_Sg__getitemcopy(std::vector< int > *self, int index)
SWIGINTERN long std_vector_Sl_int64_t_Sg__getitemcopy(std::vector< int64_t > *self, int index)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_Remove___(void *jarg1, int jarg2)
SWIGINTERN int std_vector_Sl_operations_research_MPVariable_Sm__Sg__IndexOf(std::vector< operations_research::MPVariable * > *self, operations_research::MPVariable *const &value)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_Int64VectorVector___(void *jarg1)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPSolverParameters_kDefaultPrimalTolerance_get___()
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_setitem___(void *jarg1, int jarg2, long long jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_reserve___(void *jarg1, unsigned long jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeConstraint__SWIG_0___(void *jarg1, double jarg2, double jarg3)
SWIGINTERN void std_vector_Sl_double_Sg__setitem(std::vector< double > *self, int index, double const &val)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_SetCoefficient___(void *jarg1, void *jarg2, double jarg3)
SWIGINTERN std::vector< double > * new_std_vector_Sl_double_Sg___SWIG_2(int capacity)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_size___(void *jarg1)
SWIGINTERN std::vector< std::vector< int > > * new_std_vector_Sl_std_vector_Sl_int_Sg__Sg___SWIG_2(int capacity)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_EnableOutput___(void *jarg1)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPSolverParameters_kDefaultRelativeMipGap_get___()
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_Insert___(void *jarg1, int jarg2, double jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_Insert___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_SupportsProblemType___(int jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_LastIndexOf___(void *jarg1, double jarg2)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_Remove___(void *jarg1, long long jarg2)
SWIGINTERN bool std_vector_Sl_int_Sg__Remove(std::vector< int > *self, int const &value)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_AddRange___(void *jarg1, void *jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_setitem___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Variable_BasisStatus___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_setitem___(void *jarg1, int jarg2, void *jarg3)
SWIGINTERN bool std_vector_Sl_double_Sg__Remove(std::vector< double > *self, double const &value)
SWIGINTERN std::vector< int > std_vector_Sl_std_vector_Sl_int_Sg__Sg__getitemcopy(std::vector< std::vector< int > > *self, int index)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_IsLazy___(void *jarg1)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_Contains___(void *jarg1, void *jarg2)
SWIGINTERN void std_vector_Sl_int64_t_Sg__Reverse__SWIG_0(std::vector< int64_t > *self)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_getitemcopy___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_Add___(void *jarg1, void *jarg2)
SWIGINTERN void std_vector_Sl_int_Sg__Reverse__SWIG_0(std::vector< int > *self)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_VerifySolution___(void *jarg1, double jarg2, unsigned int jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeBoolVar___(void *jarg1, char *jarg2)
void(SWIGSTDCALL * SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_ComputeExactConditionNumber___(void *jarg1)
SWIGINTERN std::vector< std::vector< int > > * std_vector_Sl_std_vector_Sl_int_Sg__Sg__GetRange(std::vector< std::vector< int > > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_setitem___(void *jarg1, int jarg2, double jarg3)
SWIGINTERN int std_vector_Sl_int64_t_Sg__IndexOf(std::vector< int64_t > *self, long const &value)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeConstraint__SWIG_3___(void *jarg1, char *jarg2)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_capacity___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_MPVariableVector__SWIG_2___(int jarg1)
SWIGINTERN int std_vector_Sl_double_Sg__LastIndexOf(std::vector< double > *self, double const &value)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_Objective___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_GetCoefficient___(void *jarg1, void *jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_GetRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeConstraint__SWIG_2___(void *jarg1, double jarg2, double jarg3, char *jarg4)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_Clear___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_IndexOf___(void *jarg1, long long jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Variable_SetUb___(void *jarg1, double jarg2)
static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_reserve___(void *jarg1, unsigned long jarg2)
SWIGINTERN std::vector< int64_t > * new_std_vector_Sl_int64_t_Sg___SWIG_2(int capacity)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_Contains___(void *jarg1, double jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_Add___(void *jarg1, void *jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_Solver___(char *jarg1, int jarg2)
#define SWIGUNUSED
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGINTERN void std_vector_Sl_double_Sg__InsertRange(std::vector< double > *self, int index, std::vector< double > const &values)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_constraints___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_Clear___(void *jarg1)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__RemoveAt(std::vector< std::vector< int64_t > > *self, int index)
static SWIG_CSharpException_t SWIG_csharp_exceptions[]
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_MPConstraintVector__SWIG_1___(void *jarg1)
SWIGINTERN void std_vector_Sl_int64_t_Sg__InsertRange(std::vector< int64_t > *self, int index, std::vector< long > const &values)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPSolverParameters_SetIntegerParam___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT char *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Variable_Name___(void *jarg1)
SWIGINTERN std::vector< std::vector< int64_t > > * std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__GetRange(std::vector< std::vector< int64_t > > *self, int index, int count)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeVar___(void *jarg1, double jarg2, double jarg3, unsigned int jarg4, char *jarg5)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_SetBounds___(void *jarg1, double jarg2, double jarg3)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__Insert(std::vector< std::vector< int > > *self, int index, std::vector< int > const &x)
SWIGINTERN std::vector< std::vector< int64_t > > * new_std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg___SWIG_2(int capacity)
SWIGINTERN bool std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Contains(std::vector< operations_research::MPConstraint * > *self, operations_research::MPConstraint *const &value)
SWIGINTERN bool std_vector_Sl_operations_research_MPVariable_Sm__Sg__Remove(std::vector< operations_research::MPVariable * > *self, operations_research::MPVariable *const &value)
SWIGINTERN std::vector< operations_research::MPVariable * > * new_std_vector_Sl_operations_research_MPVariable_Sm__Sg___SWIG_2(int capacity)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_IndexOf___(void *jarg1, int jarg2)
SWIGINTERN std::vector< long >::value_type const & std_vector_Sl_int64_t_Sg__getitem(std::vector< int64_t > *self, int index)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_Int64Vector__SWIG_1___(void *jarg1)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__setitem(std::vector< std::vector< int > > *self, int index, std::vector< int > const &val)
SWIGINTERN std::vector< std::vector< int64_t > > * std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Repeat(std::vector< int64_t > const &value, int count)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_GetRange___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN void std_vector_Sl_int64_t_Sg__Insert(std::vector< int64_t > *self, int index, long const &x)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPSolverParameters_kDefaultDualTolerance_get___()
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_getitemcopy___(void *jarg1, int jarg2)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_InterruptSolve___(void *jarg1)
SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Reverse__SWIG_0(std::vector< operations_research::MPConstraint * > *self)
SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_operations_research_linear_solver(SWIG_CSharpExceptionArgumentCallback_t argumentCallback, SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback, SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_SetMaximization___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_Clear___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_MPConstraintVector__SWIG_2___(int jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_RemoveAt___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_AddRange___(void *jarg1, void *jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_Reverse__SWIG_0___(void *jarg1)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Variable_SolutionValue___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__setitem(std::vector< operations_research::MPConstraint * > *self, int index, operations_research::MPConstraint *const &val)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_Variable___(void *jarg1, int jarg2)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_Minimization___(void *jarg1)
SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__setitem(std::vector< operations_research::MPVariable * > *self, int index, operations_research::MPVariable *const &val)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_Solver___(void *jarg1)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_Contains___(void *jarg1, long long jarg2)
SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_operations_research_linear_solver(SWIG_CSharpExceptionCallback_t applicationCallback, SWIG_CSharpExceptionCallback_t arithmeticCallback, SWIG_CSharpExceptionCallback_t divideByZeroCallback, SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback, SWIG_CSharpExceptionCallback_t invalidCastCallback, SWIG_CSharpExceptionCallback_t invalidOperationCallback, SWIG_CSharpExceptionCallback_t ioCallback, SWIG_CSharpExceptionCallback_t nullReferenceCallback, SWIG_CSharpExceptionCallback_t outOfMemoryCallback, SWIG_CSharpExceptionCallback_t overflowCallback, SWIG_CSharpExceptionCallback_t systemCallback)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_Int64Vector__SWIG_2___(int jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_SetRange___(void *jarg1, int jarg2, void *jarg3)
SWIGINTERN void operations_research_MPSolver_SetHint(operations_research::MPSolver *self, std::vector< operations_research::MPVariable * > const &variables, std::vector< double > const &values)
SWIGINTERN bool std_vector_Sl_operations_research_MPVariable_Sm__Sg__Contains(std::vector< operations_research::MPVariable * > *self, operations_research::MPVariable *const &value)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_DoubleVector__SWIG_2___(int jarg1)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__InsertRange(std::vector< std::vector< int64_t > > *self, int index, std::vector< std::vector< int64_t > > const &values)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_GetRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_MPVariableVector__SWIG_1___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_Repeat___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_Add___(void *jarg1, int jarg2)
#define SWIGINTERN
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_SetRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_IndexOf___(void *jarg1, void *jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_getitemcopy___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_InsertRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_Insert___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN std::vector< long > * std_vector_Sl_int64_t_Sg__GetRange(std::vector< int64_t > *self, int index, int count)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_Repeat___(void *jarg1, int jarg2)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_getitem___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIG_CSharpExceptionArgumentCodes
@ SWIG_CSharpArgumentException
@ SWIG_CSharpArgumentOutOfRangeException
@ SWIG_CSharpArgumentNullException
SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Reverse__SWIG_1(std::vector< operations_research::MPConstraint * > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_RemoveAt___(void *jarg1, int jarg2)
SWIGINTERN double std_vector_Sl_double_Sg__getitemcopy(std::vector< double > *self, int index)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_DoubleVector__SWIG_1___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_Insert___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_getitemcopy___(void *jarg1, int jarg2)
SWIGINTERN std::vector< std::vector< long > >::value_type const & std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__getitem(std::vector< std::vector< int64_t > > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_Reverse__SWIG_0___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_setitem___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_MPSolverParameters___(void *jarg1)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPSolverParameters_GetDoubleParam___(void *jarg1, int jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_Repeat___(int jarg1, int jarg2)
SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__Reverse__SWIG_0(std::vector< operations_research::MPVariable * > *self)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_RemoveAt___(void *jarg1, int jarg2)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_Ub___(void *jarg1)
SWIGINTERN void std_vector_Sl_int_Sg__RemoveRange(std::vector< int > *self, int index, int count)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__Reverse__SWIG_0(std::vector< std::vector< int > > *self)
SWIGINTERN std::vector< operations_research::MPConstraint * > * new_std_vector_Sl_operations_research_MPConstraint_Sm__Sg___SWIG_2(int capacity)
SWIGINTERN std::vector< operations_research::MPVariable * > * std_vector_Sl_operations_research_MPVariable_Sm__Sg__Repeat(operations_research::MPVariable *const &value, int count)
SWIGINTERN std::string operations_research_MPSolver_ExportModelAsLpFormat(operations_research::MPSolver *self, bool obfuscated)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_Objective___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_Constraint___(void *jarg1, int jarg2)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Variable_ReducedCost___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeIntVar___(void *jarg1, double jarg2, double jarg3, char *jarg4)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_SetRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_WallTime___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Variable_SetLb___(void *jarg1, double jarg2)
SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__SetRange(std::vector< operations_research::MPConstraint * > *self, int index, std::vector< operations_research::MPConstraint * > const &values)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_Clear___(void *jarg1)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_Maximization___(void *jarg1)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_capacity___(void *jarg1)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_DualValue___(void *jarg1)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_capacity___(void *jarg1)
char *(SWIGSTDCALL * SWIG_CSharpStringHelperCallback)(const char *)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPSolverParameters_SetDoubleParam___(void *jarg1, int jarg2, double jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_Repeat___(long long jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_reserve___(void *jarg1, unsigned long jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_DoubleVector___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Variable_SetInteger___(void *jarg1, unsigned int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_Add___(void *jarg1, void *jarg2)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_SetNumThreads___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_SetMinimization___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_MPConstraintVector__SWIG_0___()
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_Offset___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_Repeat___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_AddRange___(void *jarg1, void *jarg2)
SWIGINTERN bool std_vector_Sl_operations_research_MPConstraint_Sm__Sg__Remove(std::vector< operations_research::MPConstraint * > *self, operations_research::MPConstraint *const &value)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_NumVariables___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_LastIndexOf___(void *jarg1, void *jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_getitemcopy___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGINTERN std::vector< double > * std_vector_Sl_double_Sg__GetRange(std::vector< double > *self, int index, int count)
SWIGEXPORT long long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_Iterations___(void *jarg1)
SWIGINTERN std::vector< double > * std_vector_Sl_double_Sg__Repeat(double const &value, int count)
SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__AddRange(std::vector< operations_research::MPConstraint * > *self, std::vector< operations_research::MPConstraint * > const &values)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_capacity___(void *jarg1)
SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__Reverse__SWIG_1(std::vector< operations_research::MPVariable * > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_RemoveRange___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_reserve___(void *jarg1, unsigned long jarg2)
SWIGINTERN std::vector< operations_research::MPConstraint * > * std_vector_Sl_operations_research_MPConstraint_Sm__Sg__GetRange(std::vector< operations_research::MPConstraint * > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_Variable___(void *jarg1)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_capacity___(void *jarg1)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_LookupVariableOrNull___(void *jarg1, char *jarg2)
SWIGINTERN void std_vector_Sl_int_Sg__setitem(std::vector< int > *self, int index, int const &val)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__RemoveAt(std::vector< std::vector< int > > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_SetRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_AddRange___(void *jarg1, void *jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_SetCoefficient___(void *jarg1, void *jarg2, double jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_GetRange___(void *jarg1, int jarg2, int jarg3)
static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_Solve__SWIG_1___(void *jarg1, void *jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_IntVector__SWIG_0___()
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_SetHint___(void *jarg1, void *jarg2, int length3, double *jarg3)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_Value___(void *jarg1)
SWIGINTERN void std_vector_Sl_double_Sg__Insert(std::vector< double > *self, int index, double const &x)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__SetRange(std::vector< std::vector< int64_t > > *self, int index, std::vector< std::vector< int64_t > > const &values)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_Reverse__SWIG_0___(void *jarg1)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_size___(void *jarg1)
SWIGINTERN int std_vector_Sl_double_Sg__IndexOf(std::vector< double > *self, double const &value)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_IndexOf___(void *jarg1, double jarg2)
SWIGINTERN std::vector< int >::value_type const & std_vector_Sl_int_Sg__getitem(std::vector< int > *self, int index)
SWIGINTERN int std_vector_Sl_operations_research_MPConstraint_Sm__Sg__IndexOf(std::vector< operations_research::MPConstraint * > *self, operations_research::MPConstraint *const &value)
SWIGINTERN std::vector< int > * new_std_vector_Sl_int_Sg___SWIG_2(int capacity)
SWIGINTERN bool operations_research_MPSolver_SetNumThreads(operations_research::MPSolver *self, int num_theads)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_Contains___(void *jarg1, int jarg2)
SWIGINTERN int std_vector_Sl_operations_research_MPVariable_Sm__Sg__LastIndexOf(std::vector< operations_research::MPVariable * > *self, operations_research::MPVariable *const &value)
SWIGINTERN void std_vector_Sl_int64_t_Sg__Reverse__SWIG_1(std::vector< int64_t > *self, int index, int count)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_CreateSolver___(char *jarg1)
SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__RemoveRange(std::vector< operations_research::MPConstraint * > *self, int index, int count)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_RemoveAt___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_AddRange___(void *jarg1, void *jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_getitem___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_Reverse__SWIG_0___(void *jarg1)
SWIGINTERN void std_vector_Sl_double_Sg__Reverse__SWIG_0(std::vector< double > *self)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_getitemcopy___(void *jarg1, int jarg2)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_SetOffset___(void *jarg1, double jarg2)
SWIGINTERN std::vector< int > * std_vector_Sl_int_Sg__GetRange(std::vector< int > *self, int index, int count)
SWIGINTERN int std_vector_Sl_int64_t_Sg__LastIndexOf(std::vector< int64_t > *self, long const &value)
SWIGEXPORT char *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_ExportModelAsLpFormat___(void *jarg1, unsigned int jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_variables___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_LastIndexOf___(void *jarg1, long long jarg2)
SWIGINTERN void std_vector_Sl_int_Sg__RemoveAt(std::vector< int > *self, int index)
SWIGINTERN void std_vector_Sl_double_Sg__SetRange(std::vector< double > *self, int index, std::vector< double > const &values)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Variable_Ub___(void *jarg1)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_size___(void *jarg1)
#define SWIGSTDCALL
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_Repeat___(double jarg1, int jarg2)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__Reverse__SWIG_1(std::vector< std::vector< int64_t > > *self, int index, int count)
SWIGINTERN std::vector< operations_research::MPConstraint * >::value_type const & std_vector_Sl_operations_research_MPConstraint_Sm__Sg__getitem(std::vector< operations_research::MPConstraint * > *self, int index)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_Repeat___(void *jarg1, int jarg2)
SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__AddRange(std::vector< operations_research::MPVariable * > *self, std::vector< operations_research::MPVariable * > const &values)
SWIGINTERN std::vector< int64_t > std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__getitemcopy(std::vector< std::vector< int64_t > > *self, int index)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_GetCoefficient___(void *jarg1, void *jarg2)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Variable_Lb___(void *jarg1)
SWIGINTERN int std_vector_Sl_int_Sg__IndexOf(std::vector< int > *self, int const &value)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_Reverse__SWIG_1___(void *jarg1, int jarg2, int jarg3)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_MPVariableVector___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_SetRange___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_IntVectorVector__SWIG_1___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_Insert___(void *jarg1, int jarg2, void *jarg3)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_Int64VectorVector__SWIG_1___(void *jarg1)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVector_getitem___(void *jarg1, int jarg2)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_DoubleVector_Remove___(void *jarg1, double jarg2)
SWIGINTERN bool std_vector_Sl_double_Sg__Contains(std::vector< double > *self, double const &value)
SWIGINTERN void std_vector_Sl_int64_t_Sg__RemoveRange(std::vector< int64_t > *self, int index, int count)
SWIGINTERN void std_vector_Sl_int_Sg__SetRange(std::vector< int > *self, int index, std::vector< int > const &values)
#define SWIGEXPORT
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_MPSolverParameters___()
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_AddRange___(void *jarg1, void *jarg2)
SWIGINTERN void std_vector_Sl_operations_research_MPVariable_Sm__Sg__InsertRange(std::vector< operations_research::MPVariable * > *self, int index, std::vector< operations_research::MPVariable * > const &values)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int64_t_Sg__Sg__setitem(std::vector< std::vector< int64_t > > *self, int index, std::vector< int64_t > const &val)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_NumConstraints___(void *jarg1)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_IntVectorVector_RemoveAt___(void *jarg1, int jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_LookupConstraintOrNull___(void *jarg1, char *jarg2)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_MakeNumVar___(void *jarg1, double jarg2, double jarg3, char *jarg4)
SWIGINTERN void std_vector_Sl_int64_t_Sg__RemoveAt(std::vector< int64_t > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Variable_SetBounds___(void *jarg1, double jarg2, double jarg3)
SWIGINTERN operations_research::MPVariable * std_vector_Sl_operations_research_MPVariable_Sm__Sg__getitemcopy(std::vector< operations_research::MPVariable * > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_Insert___(void *jarg1, int jarg2, long long jarg3)
SWIGINTERN std::vector< operations_research::MPVariable * >::value_type const & std_vector_Sl_operations_research_MPVariable_Sm__Sg__getitem(std::vector< operations_research::MPVariable * > *self, int index)
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Objective_Clear___(void *jarg1)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_SetSolverSpecificParametersAsString___(void *jarg1, char *jarg2)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPSolverParameters_kDefaultIncrementality_get___()
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64VectorVector_RemoveAt___(void *jarg1, int jarg2)
@ SWIG_CSharpDivideByZeroException
@ SWIG_CSharpOutOfMemoryException
@ SWIG_CSharpArithmeticException
@ SWIG_CSharpSystemException
@ SWIG_CSharpApplicationException
@ SWIG_CSharpNullReferenceException
@ SWIG_CSharpInvalidCastException
@ SWIG_CSharpInvalidOperationException
@ SWIG_CSharpOverflowException
@ SWIG_CSharpIOException
@ SWIG_CSharpIndexOutOfRangeException
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPVariableVector_LastIndexOf___(void *jarg1, void *jarg2)
SWIGINTERN std::string operations_research_MPSolver_ExportModelAsMpsFormat(operations_research::MPSolver *self, bool fixed_format, bool obfuscated)
SWIGEXPORT int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPSolverParameters_kDefaultPresolve_get___()
SWIGEXPORT void SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_delete_Int64Vector___(void *jarg1)
SWIGINTERN void std_vector_Sl_int_Sg__Insert(std::vector< int > *self, int index, int const &x)
SWIGINTERN void std_vector_Sl_std_vector_Sl_int_Sg__Sg__AddRange(std::vector< std::vector< int > > *self, std::vector< std::vector< int > > const &values)
SWIGEXPORT char *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Solver_ExportModelAsMpsFormat___(void *jarg1, unsigned int jarg2, unsigned int jarg3)
SWIGINTERN void std_vector_Sl_operations_research_MPConstraint_Sm__Sg__RemoveAt(std::vector< operations_research::MPConstraint * > *self, int index)
SWIGEXPORT void *SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_new_IntVectorVector__SWIG_2___(int jarg1)
SWIGEXPORT unsigned int SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_MPConstraintVector_Remove___(void *jarg1, void *jarg2)
SWIGEXPORT double SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Constraint_Lb___(void *jarg1)
SWIGINTERN std::vector< std::vector< int > >::value_type const & std_vector_Sl_std_vector_Sl_int_Sg__Sg__getitem(std::vector< std::vector< int > > *self, int index)
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_GooglefOrToolsfLinearSolver_Int64Vector_size___(void *jarg1)
const int FATAL
Definition: log_severity.h:32
int NumVariables(const VariablesProto &variables)
int NumConstraints(const LinearConstraintsProto &linear_constraints)
std::function< int64_t(const Model &)> Value(IntegerVariable v)
Definition: integer.h:1492
IntegerValue GetCoefficient(const IntegerVariable var, const LinearExpression &expr)
absl::StatusOr< std::string > ExportModelAsMpsFormat(const MPModelProto &model, const MPModelExportOptions &options)
Outputs the current model (variables, constraints, objective) as a string encoded in MPS file format,...
absl::StatusOr< std::string > ExportModelAsLpFormat(const MPModelProto &model, const MPModelExportOptions &options)
Outputs the current model (variables, constraints, objective) as a string encoded in the so-called "C...
int index
Definition: pack.cc:509
int64_t capacity
int nodes
SWIG_CSharpExceptionCallback_t callback
SWIG_CSharpExceptionArgumentCallback_t callback
bool obfuscate
Obfuscates variable and constraint names.