20 template<
typename T>
class SwigValueWrapper {
21 struct SwigMovePointer {
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; }
27 SwigValueWrapper& operator=(
const SwigValueWrapper<T>& rhs);
28 SwigValueWrapper(
const SwigValueWrapper<T>& rhs);
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; }
36 template <
typename T> T SwigValueInit() {
47 #ifndef SWIGTEMPLATEDISAMBIGUATOR
48 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
49 # define SWIGTEMPLATEDISAMBIGUATOR template
50 # elif defined(__HP_aCC)
53 # define SWIGTEMPLATEDISAMBIGUATOR template
55 # define SWIGTEMPLATEDISAMBIGUATOR
61 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
62 # define SWIGINLINE inline
70 # if defined(__GNUC__)
71 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
72 # define SWIGUNUSED __attribute__ ((__unused__))
77 # define SWIGUNUSED __attribute__ ((__unused__))
83 #ifndef SWIG_MSC_UNSUPPRESS_4505
84 # if defined(_MSC_VER)
85 # pragma warning(disable : 4505)
89 #ifndef SWIGUNUSEDPARM
91 # define SWIGUNUSEDPARM(p)
93 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
99 # define SWIGINTERN static SWIGUNUSED
103 #ifndef SWIGINTERNINLINE
104 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
108 #if defined(__GNUC__)
109 # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
110 # ifndef GCC_HASCLASSVISIBILITY
111 # define GCC_HASCLASSVISIBILITY
117 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
118 # if defined(STATIC_LINKED)
121 # define SWIGEXPORT __declspec(dllexport)
124 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
125 # define SWIGEXPORT __attribute__ ((visibility("default")))
134 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
135 # define SWIGSTDCALL __stdcall
142 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
143 # define _CRT_SECURE_NO_DEPRECATE
147 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
148 # define _SCL_SECURE_NO_DEPRECATE
152 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
153 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
161 #ifdef __INTEL_COMPILER
162 # pragma warning disable 592
299 #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else
305 #define SWIGWORDSIZE64
309 #if (__WORDSIZE == 32) || (LONG_MAX == INT_MAX)
310 # error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32"
337 std::vector< int >* pv = 0;
339 pv =
new std::vector< int >();
342 throw std::out_of_range(
"capacity");
348 return (*
self)[
index];
350 throw std::out_of_range(
"index");
354 return (*
self)[
index];
356 throw std::out_of_range(
"index");
360 (*self)[
index] = val;
362 throw std::out_of_range(
"index");
365 self->insert(self->end(), values.begin(), values.end());
369 throw std::out_of_range(
"index");
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);
378 self->insert(self->begin()+
index, x);
380 throw std::out_of_range(
"index");
384 self->insert(self->begin()+
index, values.begin(), values.end());
386 throw std::out_of_range(
"index");
390 self->erase(self->begin() +
index);
392 throw std::out_of_range(
"index");
396 throw std::out_of_range(
"index");
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);
405 throw std::out_of_range(
"count");
406 return new std::vector< int >(count,
value);
409 std::reverse(self->begin(), self->end());
413 throw std::out_of_range(
"index");
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);
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);
428 return std::find(self->begin(), self->end(),
value) !=
self->end();
432 std::vector< int >::iterator it = std::find(self->begin(), self->end(),
value);
433 if (it != self->end())
434 index = (int)(it - self->begin());
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);
445 std::vector< int >::iterator it = std::find(self->begin(), self->end(),
value);
446 if (it != self->end()) {
453 std::vector< std::vector< int > >* pv = 0;
455 pv =
new std::vector< std::vector< int > >();
458 throw std::out_of_range(
"capacity");
464 return (*
self)[
index];
466 throw std::out_of_range(
"index");
470 return (*
self)[
index];
472 throw std::out_of_range(
"index");
476 (*self)[
index] = val;
478 throw std::out_of_range(
"index");
481 self->insert(self->end(), values.begin(), values.end());
485 throw std::out_of_range(
"index");
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);
494 self->insert(self->begin()+
index, x);
496 throw std::out_of_range(
"index");
500 self->insert(self->begin()+
index, values.begin(), values.end());
502 throw std::out_of_range(
"index");
506 self->erase(self->begin() +
index);
508 throw std::out_of_range(
"index");
512 throw std::out_of_range(
"index");
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);
521 throw std::out_of_range(
"count");
522 return new std::vector< std::vector< int > >(count,
value);
525 std::reverse(self->begin(), self->end());
529 throw std::out_of_range(
"index");
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);
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);
544 std::vector< long >* pv = 0;
546 pv =
new std::vector< long >();
549 throw std::out_of_range(
"capacity");
555 return (*
self)[
index];
557 throw std::out_of_range(
"index");
561 return (*
self)[
index];
563 throw std::out_of_range(
"index");
567 (*self)[
index] = val;
569 throw std::out_of_range(
"index");
572 self->insert(self->end(), values.begin(), values.end());
576 throw std::out_of_range(
"index");
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);
585 self->insert(self->begin()+
index, x);
587 throw std::out_of_range(
"index");
591 self->insert(self->begin()+
index, values.begin(), values.end());
593 throw std::out_of_range(
"index");
597 self->erase(self->begin() +
index);
599 throw std::out_of_range(
"index");
603 throw std::out_of_range(
"index");
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);
612 throw std::out_of_range(
"count");
613 return new std::vector< long >(count,
value);
616 std::reverse(self->begin(), self->end());
620 throw std::out_of_range(
"index");
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);
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);
635 return std::find(self->begin(), self->end(),
value) !=
self->end();
639 std::vector< long >::iterator it = std::find(self->begin(), self->end(),
value);
640 if (it != self->end())
641 index = (int)(it - self->begin());
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);
652 std::vector< long >::iterator it = std::find(self->begin(), self->end(),
value);
653 if (it != self->end()) {
660 std::vector< std::vector< int64 > >* pv = 0;
662 pv =
new std::vector< std::vector< int64 > >();
665 throw std::out_of_range(
"capacity");
671 return (*
self)[
index];
673 throw std::out_of_range(
"index");
677 return (*
self)[
index];
679 throw std::out_of_range(
"index");
683 (*self)[
index] = val;
685 throw std::out_of_range(
"index");
688 self->insert(self->end(), values.begin(), values.end());
692 throw std::out_of_range(
"index");
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 > >(
self->begin()+
index,
self->begin()+
index+count);
701 self->insert(self->begin()+
index, x);
703 throw std::out_of_range(
"index");
707 self->insert(self->begin()+
index, values.begin(), values.end());
709 throw std::out_of_range(
"index");
713 self->erase(self->begin() +
index);
715 throw std::out_of_range(
"index");
719 throw std::out_of_range(
"index");
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);
728 throw std::out_of_range(
"count");
729 return new std::vector< std::vector< int64 > >(count,
value);
732 std::reverse(self->begin(), self->end());
736 throw std::out_of_range(
"index");
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);
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);
756 std::vector< double >* pv = 0;
758 pv =
new std::vector< double >();
761 throw std::out_of_range(
"capacity");
767 return (*
self)[
index];
769 throw std::out_of_range(
"index");
773 return (*
self)[
index];
775 throw std::out_of_range(
"index");
779 (*self)[
index] = val;
781 throw std::out_of_range(
"index");
784 self->insert(self->end(), values.begin(), values.end());
788 throw std::out_of_range(
"index");
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);
797 self->insert(self->begin()+
index, x);
799 throw std::out_of_range(
"index");
803 self->insert(self->begin()+
index, values.begin(), values.end());
805 throw std::out_of_range(
"index");
809 self->erase(self->begin() +
index);
811 throw std::out_of_range(
"index");
815 throw std::out_of_range(
"index");
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);
824 throw std::out_of_range(
"count");
825 return new std::vector< double >(count,
value);
828 std::reverse(self->begin(), self->end());
832 throw std::out_of_range(
"index");
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);
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);
847 return std::find(self->begin(), self->end(),
value) !=
self->end();
851 std::vector< double >::iterator it = std::find(self->begin(), self->end(),
value);
852 if (it != self->end())
853 index = (int)(it - self->begin());
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);
864 std::vector< double >::iterator it = std::find(self->begin(), self->end(),
value);
865 if (it != self->end()) {
872 std::vector< operations_research::MPConstraint* >* pv = 0;
874 pv =
new std::vector< operations_research::MPConstraint* >();
877 throw std::out_of_range(
"capacity");
883 return (*
self)[
index];
885 throw std::out_of_range(
"index");
889 return (*
self)[
index];
891 throw std::out_of_range(
"index");
895 (*self)[
index] = val;
897 throw std::out_of_range(
"index");
900 self->insert(self->end(), values.begin(), values.end());
904 throw std::out_of_range(
"index");
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);
913 self->insert(self->begin()+
index, x);
915 throw std::out_of_range(
"index");
919 self->insert(self->begin()+
index, values.begin(), values.end());
921 throw std::out_of_range(
"index");
925 self->erase(self->begin() +
index);
927 throw std::out_of_range(
"index");
931 throw std::out_of_range(
"index");
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);
940 throw std::out_of_range(
"count");
941 return new std::vector< operations_research::MPConstraint* >(count,
value);
944 std::reverse(self->begin(), self->end());
948 throw std::out_of_range(
"index");
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);
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);
963 return std::find(self->begin(), self->end(),
value) !=
self->end();
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());
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);
980 std::vector< operations_research::MPConstraint* >::iterator it = std::find(self->begin(), self->end(),
value);
981 if (it != self->end()) {
988 std::vector< operations_research::MPVariable* >* pv = 0;
990 pv =
new std::vector< operations_research::MPVariable* >();
993 throw std::out_of_range(
"capacity");
999 return (*
self)[
index];
1001 throw std::out_of_range(
"index");
1005 return (*
self)[
index];
1007 throw std::out_of_range(
"index");
1011 (*self)[
index] = val;
1013 throw std::out_of_range(
"index");
1016 self->insert(self->end(), values.begin(), values.end());
1020 throw std::out_of_range(
"index");
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);
1029 self->insert(self->begin()+
index, x);
1031 throw std::out_of_range(
"index");
1035 self->insert(self->begin()+
index, values.begin(), values.end());
1037 throw std::out_of_range(
"index");
1041 self->erase(self->begin() +
index);
1043 throw std::out_of_range(
"index");
1047 throw std::out_of_range(
"index");
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);
1056 throw std::out_of_range(
"count");
1057 return new std::vector< operations_research::MPVariable* >(count,
value);
1060 std::reverse(self->begin(), self->end());
1064 throw std::out_of_range(
"index");
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);
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);
1079 return std::find(self->begin(), self->end(),
value) !=
self->end();
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());
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);
1096 std::vector< operations_research::MPVariable* >::iterator it = std::find(self->begin(), self->end(),
value);
1097 if (it != self->end()) {
1107 self->ExportModelToProto(&
model);
1114 self->ExportModelToProto(&
model);
1118 if (variables.size() != values.size()) {
1119 LOG(
FATAL) <<
"Different number of variables and values when setting "
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]);
1127 self->SetHint(hint);
1130 return self->SetNumThreads(num_theads).ok();
1138 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1140 arg1 = (std::vector< int > *)jarg1;
1146 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1150 arg1 = (std::vector< int > *)jarg1;
1153 (arg1)->push_back((
int const &)*arg2);
1158 unsigned long jresult ;
1159 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1160 std::vector< int >::size_type result;
1162 arg1 = (std::vector< int > *)jarg1;
1163 result = ((std::vector< int >
const *)arg1)->size();
1164 jresult = (
unsigned long)result;
1170 unsigned long jresult ;
1171 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1172 std::vector< int >::size_type result;
1174 arg1 = (std::vector< int > *)jarg1;
1175 result = ((std::vector< int >
const *)arg1)->capacity();
1176 jresult = (
unsigned long)result;
1182 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1183 std::vector< int >::size_type arg2 ;
1185 arg1 = (std::vector< int > *)jarg1;
1186 arg2 = (std::vector< int >::size_type)jarg2;
1187 (arg1)->reserve(arg2);
1193 std::vector< int > *result = 0 ;
1195 result = (std::vector< int > *)
new std::vector< int >();
1196 jresult = (
void *)result;
1203 std::vector< int > *arg1 = 0 ;
1204 std::vector< int > *result = 0 ;
1206 arg1 = (std::vector< int > *)jarg1;
1211 result = (std::vector< int > *)
new std::vector< int >((std::vector< int >
const &)*arg1);
1212 jresult = (
void *)result;
1220 std::vector< int > *result = 0 ;
1225 }
catch(std::out_of_range &_e) {
1229 jresult = (
void *)result;
1236 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1240 arg1 = (std::vector< int > *)jarg1;
1244 }
catch(std::out_of_range &_e) {
1255 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1257 std::vector< int >::value_type *result = 0 ;
1259 arg1 = (std::vector< int > *)jarg1;
1263 }
catch(std::out_of_range &_e) {
1273 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1278 arg1 = (std::vector< int > *)jarg1;
1284 }
catch(std::out_of_range &_e) {
1292 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1293 std::vector< int > *arg2 = 0 ;
1295 arg1 = (std::vector< int > *)jarg1;
1296 arg2 = (std::vector< int > *)jarg2;
1307 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1310 std::vector< int > *result = 0 ;
1312 arg1 = (std::vector< int > *)jarg1;
1317 }
catch(std::out_of_range &_e) {
1320 }
catch(std::invalid_argument &_e) {
1324 jresult = (
void *)result;
1330 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1335 arg1 = (std::vector< int > *)jarg1;
1341 }
catch(std::out_of_range &_e) {
1349 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1351 std::vector< int > *arg3 = 0 ;
1353 arg1 = (std::vector< int > *)jarg1;
1355 arg3 = (std::vector< int > *)jarg3;
1362 }
catch(std::out_of_range &_e) {
1370 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1373 arg1 = (std::vector< int > *)jarg1;
1377 }
catch(std::out_of_range &_e) {
1385 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1389 arg1 = (std::vector< int > *)jarg1;
1394 }
catch(std::out_of_range &_e) {
1397 }
catch(std::invalid_argument &_e) {
1409 std::vector< int > *result = 0 ;
1416 }
catch(std::out_of_range &_e) {
1420 jresult = (
void *)result;
1426 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1428 arg1 = (std::vector< int > *)jarg1;
1434 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1438 arg1 = (std::vector< int > *)jarg1;
1443 }
catch(std::out_of_range &_e) {
1446 }
catch(std::invalid_argument &_e) {
1454 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1456 std::vector< int > *arg3 = 0 ;
1458 arg1 = (std::vector< int > *)jarg1;
1460 arg3 = (std::vector< int > *)jarg3;
1467 }
catch(std::out_of_range &_e) {
1475 unsigned int jresult ;
1476 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1481 arg1 = (std::vector< int > *)jarg1;
1492 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1497 arg1 = (std::vector< int > *)jarg1;
1508 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1513 arg1 = (std::vector< int > *)jarg1;
1523 unsigned int jresult ;
1524 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1529 arg1 = (std::vector< int > *)jarg1;
1539 std::vector< int > *arg1 = (std::vector< int > *) 0 ;
1541 arg1 = (std::vector< int > *)jarg1;
1547 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1549 arg1 = (std::vector< std::vector< int > > *)jarg1;
1555 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1556 std::vector< int > *arg2 = 0 ;
1558 arg1 = (std::vector< std::vector< int > > *)jarg1;
1559 arg2 = (std::vector< int > *)jarg2;
1564 (arg1)->push_back((std::vector< int >
const &)*arg2);
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;
1573 arg1 = (std::vector< std::vector< int > > *)jarg1;
1574 result = ((std::vector< std::vector< int > >
const *)arg1)->size();
1575 jresult = (
unsigned long)result;
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;
1585 arg1 = (std::vector< std::vector< int > > *)jarg1;
1586 result = ((std::vector< std::vector< int > >
const *)arg1)->capacity();
1587 jresult = (
unsigned long)result;
1593 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1594 std::vector< std::vector< int > >::size_type arg2 ;
1596 arg1 = (std::vector< std::vector< int > > *)jarg1;
1597 arg2 = (std::vector< std::vector< int > >::size_type)jarg2;
1598 (arg1)->reserve(arg2);
1604 std::vector< std::vector< int > > *result = 0 ;
1606 result = (std::vector< std::vector< int > > *)
new std::vector< std::vector< int > >();
1607 jresult = (
void *)result;
1614 std::vector< std::vector< int > > *arg1 = 0 ;
1615 std::vector< std::vector< int > > *result = 0 ;
1617 arg1 = (std::vector< std::vector< int > > *)jarg1;
1622 result = (std::vector< std::vector< int > > *)
new std::vector< std::vector< int > >((std::vector< std::vector< int > >
const &)*arg1);
1623 jresult = (
void *)result;
1631 std::vector< std::vector< int > > *result = 0 ;
1636 }
catch(std::out_of_range &_e) {
1640 jresult = (
void *)result;
1647 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1649 std::vector< int > result;
1651 arg1 = (std::vector< std::vector< int > > *)jarg1;
1655 }
catch(std::out_of_range &_e) {
1659 jresult =
new std::vector< int >((
const std::vector< int > &)result);
1666 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1668 std::vector< std::vector< int > >::value_type *result = 0 ;
1670 arg1 = (std::vector< std::vector< int > > *)jarg1;
1674 }
catch(std::out_of_range &_e) {
1678 jresult = (
void *)result;
1684 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1686 std::vector< int > *arg3 = 0 ;
1688 arg1 = (std::vector< std::vector< int > > *)jarg1;
1690 arg3 = (std::vector< int > *)jarg3;
1697 }
catch(std::out_of_range &_e) {
1705 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1706 std::vector< std::vector< int > > *arg2 = 0 ;
1708 arg1 = (std::vector< std::vector< int > > *)jarg1;
1709 arg2 = (std::vector< std::vector< int > > *)jarg2;
1720 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1723 std::vector< std::vector< int > > *result = 0 ;
1725 arg1 = (std::vector< std::vector< int > > *)jarg1;
1730 }
catch(std::out_of_range &_e) {
1733 }
catch(std::invalid_argument &_e) {
1737 jresult = (
void *)result;
1743 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1745 std::vector< int > *arg3 = 0 ;
1747 arg1 = (std::vector< std::vector< int > > *)jarg1;
1749 arg3 = (std::vector< int > *)jarg3;
1756 }
catch(std::out_of_range &_e) {
1764 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1766 std::vector< std::vector< int > > *arg3 = 0 ;
1768 arg1 = (std::vector< std::vector< int > > *)jarg1;
1770 arg3 = (std::vector< std::vector< int > > *)jarg3;
1777 }
catch(std::out_of_range &_e) {
1785 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1788 arg1 = (std::vector< std::vector< int > > *)jarg1;
1792 }
catch(std::out_of_range &_e) {
1800 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1804 arg1 = (std::vector< std::vector< int > > *)jarg1;
1809 }
catch(std::out_of_range &_e) {
1812 }
catch(std::invalid_argument &_e) {
1821 std::vector< int > *arg1 = 0 ;
1823 std::vector< std::vector< int > > *result = 0 ;
1825 arg1 = (std::vector< int > *)jarg1;
1833 }
catch(std::out_of_range &_e) {
1837 jresult = (
void *)result;
1843 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1845 arg1 = (std::vector< std::vector< int > > *)jarg1;
1851 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1855 arg1 = (std::vector< std::vector< int > > *)jarg1;
1860 }
catch(std::out_of_range &_e) {
1863 }
catch(std::invalid_argument &_e) {
1871 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1873 std::vector< std::vector< int > > *arg3 = 0 ;
1875 arg1 = (std::vector< std::vector< int > > *)jarg1;
1877 arg3 = (std::vector< std::vector< int > > *)jarg3;
1884 }
catch(std::out_of_range &_e) {
1892 std::vector< std::vector< int > > *arg1 = (std::vector< std::vector< int > > *) 0 ;
1894 arg1 = (std::vector< std::vector< int > > *)jarg1;
1900 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
1902 arg1 = (std::vector< int64 > *)jarg1;
1908 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
1912 arg1 = (std::vector< int64 > *)jarg1;
1913 temp2 = (long)jarg2;
1915 (arg1)->push_back((
long const &)*arg2);
1920 unsigned long jresult ;
1921 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
1922 std::vector< long >::size_type result;
1924 arg1 = (std::vector< int64 > *)jarg1;
1925 result = ((std::vector< int64 >
const *)arg1)->size();
1926 jresult = (
unsigned long)result;
1932 unsigned long jresult ;
1933 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
1934 std::vector< long >::size_type result;
1936 arg1 = (std::vector< int64 > *)jarg1;
1937 result = ((std::vector< int64 >
const *)arg1)->capacity();
1938 jresult = (
unsigned long)result;
1944 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
1945 std::vector< long >::size_type arg2 ;
1947 arg1 = (std::vector< int64 > *)jarg1;
1948 arg2 = (std::vector< long >::size_type)jarg2;
1949 (arg1)->reserve(arg2);
1955 std::vector< int64 > *result = 0 ;
1957 result = (std::vector< int64 > *)
new std::vector< int64 >();
1958 jresult = (
void *)result;
1965 std::vector< int64 > *arg1 = 0 ;
1966 std::vector< int64 > *result = 0 ;
1968 arg1 = (std::vector< int64 > *)jarg1;
1973 result = (std::vector< int64 > *)
new std::vector< int64 >((std::vector< int64 >
const &)*arg1);
1974 jresult = (
void *)result;
1982 std::vector< int64 > *result = 0 ;
1987 }
catch(std::out_of_range &_e) {
1991 jresult = (
void *)result;
1998 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2002 arg1 = (std::vector< int64 > *)jarg1;
2006 }
catch(std::out_of_range &_e) {
2017 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2019 std::vector< long >::value_type *result = 0 ;
2021 arg1 = (std::vector< int64 > *)jarg1;
2025 }
catch(std::out_of_range &_e) {
2035 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2040 arg1 = (std::vector< int64 > *)jarg1;
2042 temp3 = (long)jarg3;
2046 }
catch(std::out_of_range &_e) {
2054 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2055 std::vector< long > *arg2 = 0 ;
2057 arg1 = (std::vector< int64 > *)jarg1;
2058 arg2 = (std::vector< long > *)jarg2;
2069 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2072 std::vector< long > *result = 0 ;
2074 arg1 = (std::vector< int64 > *)jarg1;
2079 }
catch(std::out_of_range &_e) {
2082 }
catch(std::invalid_argument &_e) {
2086 jresult = (
void *)result;
2092 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2097 arg1 = (std::vector< int64 > *)jarg1;
2099 temp3 = (long)jarg3;
2103 }
catch(std::out_of_range &_e) {
2111 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2113 std::vector< long > *arg3 = 0 ;
2115 arg1 = (std::vector< int64 > *)jarg1;
2117 arg3 = (std::vector< long > *)jarg3;
2124 }
catch(std::out_of_range &_e) {
2132 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2135 arg1 = (std::vector< int64 > *)jarg1;
2139 }
catch(std::out_of_range &_e) {
2147 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2151 arg1 = (std::vector< int64 > *)jarg1;
2156 }
catch(std::out_of_range &_e) {
2159 }
catch(std::invalid_argument &_e) {
2171 std::vector< long > *result = 0 ;
2173 temp1 = (long)jarg1;
2178 }
catch(std::out_of_range &_e) {
2182 jresult = (
void *)result;
2188 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2190 arg1 = (std::vector< int64 > *)jarg1;
2196 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2200 arg1 = (std::vector< int64 > *)jarg1;
2205 }
catch(std::out_of_range &_e) {
2208 }
catch(std::invalid_argument &_e) {
2216 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2218 std::vector< long > *arg3 = 0 ;
2220 arg1 = (std::vector< int64 > *)jarg1;
2222 arg3 = (std::vector< long > *)jarg3;
2229 }
catch(std::out_of_range &_e) {
2237 unsigned int jresult ;
2238 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2243 arg1 = (std::vector< int64 > *)jarg1;
2244 temp2 = (long)jarg2;
2254 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2259 arg1 = (std::vector< int64 > *)jarg1;
2260 temp2 = (long)jarg2;
2270 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2275 arg1 = (std::vector< int64 > *)jarg1;
2276 temp2 = (long)jarg2;
2285 unsigned int jresult ;
2286 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2291 arg1 = (std::vector< int64 > *)jarg1;
2292 temp2 = (long)jarg2;
2301 std::vector< int64 > *arg1 = (std::vector< int64 > *) 0 ;
2303 arg1 = (std::vector< int64 > *)jarg1;
2309 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2311 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2317 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2318 std::vector< int64 > *arg2 = 0 ;
2320 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2321 arg2 = (std::vector< int64 > *)jarg2;
2326 (arg1)->push_back((std::vector< int64 >
const &)*arg2);
2331 unsigned long jresult ;
2332 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2333 std::vector< std::vector< long > >::size_type result;
2335 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2336 result = ((std::vector< std::vector< int64 > >
const *)arg1)->size();
2337 jresult = (
unsigned long)result;
2343 unsigned long jresult ;
2344 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2345 std::vector< std::vector< long > >::size_type result;
2347 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2348 result = ((std::vector< std::vector< int64 > >
const *)arg1)->capacity();
2349 jresult = (
unsigned long)result;
2355 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2356 std::vector< std::vector< long > >::size_type arg2 ;
2358 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2359 arg2 = (std::vector< std::vector< long > >::size_type)jarg2;
2360 (arg1)->reserve(arg2);
2366 std::vector< std::vector< int64 > > *result = 0 ;
2368 result = (std::vector< std::vector< int64 > > *)
new std::vector< std::vector< int64 > >();
2369 jresult = (
void *)result;
2376 std::vector< std::vector< int64 > > *arg1 = 0 ;
2377 std::vector< std::vector< int64 > > *result = 0 ;
2379 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2384 result = (std::vector< std::vector< int64 > > *)
new std::vector< std::vector< int64 > >((std::vector< std::vector< int64 > >
const &)*arg1);
2385 jresult = (
void *)result;
2393 std::vector< std::vector< int64 > > *result = 0 ;
2398 }
catch(std::out_of_range &_e) {
2402 jresult = (
void *)result;
2409 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2411 std::vector< int64 > result;
2413 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2417 }
catch(std::out_of_range &_e) {
2421 jresult =
new std::vector< int64 >((
const std::vector< int64 > &)result);
2428 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2430 std::vector< std::vector< long > >::value_type *result = 0 ;
2432 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2436 }
catch(std::out_of_range &_e) {
2440 jresult = (
void *)result;
2446 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2448 std::vector< int64 > *arg3 = 0 ;
2450 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2452 arg3 = (std::vector< int64 > *)jarg3;
2459 }
catch(std::out_of_range &_e) {
2467 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2468 std::vector< std::vector< int64 > > *arg2 = 0 ;
2470 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2471 arg2 = (std::vector< std::vector< int64 > > *)jarg2;
2482 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2485 std::vector< std::vector< int64 > > *result = 0 ;
2487 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2492 }
catch(std::out_of_range &_e) {
2495 }
catch(std::invalid_argument &_e) {
2499 jresult = (
void *)result;
2505 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2507 std::vector< int64 > *arg3 = 0 ;
2509 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2511 arg3 = (std::vector< int64 > *)jarg3;
2518 }
catch(std::out_of_range &_e) {
2526 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2528 std::vector< std::vector< int64 > > *arg3 = 0 ;
2530 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2532 arg3 = (std::vector< std::vector< int64 > > *)jarg3;
2539 }
catch(std::out_of_range &_e) {
2547 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2550 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2554 }
catch(std::out_of_range &_e) {
2562 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2566 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2571 }
catch(std::out_of_range &_e) {
2574 }
catch(std::invalid_argument &_e) {
2583 std::vector< int64 > *arg1 = 0 ;
2585 std::vector< std::vector< int64 > > *result = 0 ;
2587 arg1 = (std::vector< int64 > *)jarg1;
2595 }
catch(std::out_of_range &_e) {
2599 jresult = (
void *)result;
2605 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2607 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2613 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2617 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2622 }
catch(std::out_of_range &_e) {
2625 }
catch(std::invalid_argument &_e) {
2633 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2635 std::vector< std::vector< int64 > > *arg3 = 0 ;
2637 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2639 arg3 = (std::vector< std::vector< int64 > > *)jarg3;
2646 }
catch(std::out_of_range &_e) {
2654 std::vector< std::vector< int64 > > *arg1 = (std::vector< std::vector< int64 > > *) 0 ;
2656 arg1 = (std::vector< std::vector< int64 > > *)jarg1;
2662 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2664 arg1 = (std::vector< double > *)jarg1;
2670 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2674 arg1 = (std::vector< double > *)jarg1;
2675 temp2 = (double)jarg2;
2677 (arg1)->push_back((
double const &)*arg2);
2682 unsigned long jresult ;
2683 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2684 std::vector< double >::size_type result;
2686 arg1 = (std::vector< double > *)jarg1;
2687 result = ((std::vector< double >
const *)arg1)->size();
2688 jresult = (
unsigned long)result;
2694 unsigned long jresult ;
2695 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2696 std::vector< double >::size_type result;
2698 arg1 = (std::vector< double > *)jarg1;
2699 result = ((std::vector< double >
const *)arg1)->capacity();
2700 jresult = (
unsigned long)result;
2706 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2707 std::vector< double >::size_type arg2 ;
2709 arg1 = (std::vector< double > *)jarg1;
2710 arg2 = (std::vector< double >::size_type)jarg2;
2711 (arg1)->reserve(arg2);
2717 std::vector< double > *result = 0 ;
2719 result = (std::vector< double > *)
new std::vector< double >();
2720 jresult = (
void *)result;
2727 std::vector< double > *arg1 = 0 ;
2728 std::vector< double > *result = 0 ;
2730 arg1 = (std::vector< double > *)jarg1;
2735 result = (std::vector< double > *)
new std::vector< double >((std::vector< double >
const &)*arg1);
2736 jresult = (
void *)result;
2744 std::vector< double > *result = 0 ;
2749 }
catch(std::out_of_range &_e) {
2753 jresult = (
void *)result;
2760 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2764 arg1 = (std::vector< double > *)jarg1;
2768 }
catch(std::out_of_range &_e) {
2779 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2781 std::vector< double >::value_type *result = 0 ;
2783 arg1 = (std::vector< double > *)jarg1;
2787 }
catch(std::out_of_range &_e) {
2797 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2802 arg1 = (std::vector< double > *)jarg1;
2804 temp3 = (double)jarg3;
2808 }
catch(std::out_of_range &_e) {
2816 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2817 std::vector< double > *arg2 = 0 ;
2819 arg1 = (std::vector< double > *)jarg1;
2820 arg2 = (std::vector< double > *)jarg2;
2831 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2834 std::vector< double > *result = 0 ;
2836 arg1 = (std::vector< double > *)jarg1;
2841 }
catch(std::out_of_range &_e) {
2844 }
catch(std::invalid_argument &_e) {
2848 jresult = (
void *)result;
2854 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2859 arg1 = (std::vector< double > *)jarg1;
2861 temp3 = (double)jarg3;
2865 }
catch(std::out_of_range &_e) {
2873 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2875 std::vector< double > *arg3 = 0 ;
2877 arg1 = (std::vector< double > *)jarg1;
2879 arg3 = (std::vector< double > *)jarg3;
2886 }
catch(std::out_of_range &_e) {
2894 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2897 arg1 = (std::vector< double > *)jarg1;
2901 }
catch(std::out_of_range &_e) {
2909 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2913 arg1 = (std::vector< double > *)jarg1;
2918 }
catch(std::out_of_range &_e) {
2921 }
catch(std::invalid_argument &_e) {
2933 std::vector< double > *result = 0 ;
2935 temp1 = (double)jarg1;
2940 }
catch(std::out_of_range &_e) {
2944 jresult = (
void *)result;
2950 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2952 arg1 = (std::vector< double > *)jarg1;
2958 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2962 arg1 = (std::vector< double > *)jarg1;
2967 }
catch(std::out_of_range &_e) {
2970 }
catch(std::invalid_argument &_e) {
2978 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
2980 std::vector< double > *arg3 = 0 ;
2982 arg1 = (std::vector< double > *)jarg1;
2984 arg3 = (std::vector< double > *)jarg3;
2991 }
catch(std::out_of_range &_e) {
2999 unsigned int jresult ;
3000 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3005 arg1 = (std::vector< double > *)jarg1;
3006 temp2 = (double)jarg2;
3016 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3021 arg1 = (std::vector< double > *)jarg1;
3022 temp2 = (double)jarg2;
3032 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3037 arg1 = (std::vector< double > *)jarg1;
3038 temp2 = (double)jarg2;
3047 unsigned int jresult ;
3048 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3053 arg1 = (std::vector< double > *)jarg1;
3054 temp2 = (double)jarg2;
3063 std::vector< double > *arg1 = (std::vector< double > *) 0 ;
3065 arg1 = (std::vector< double > *)jarg1;
3071 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3073 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3079 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3083 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
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;
3095 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3096 result = ((std::vector< operations_research::MPConstraint * >
const *)arg1)->size();
3097 jresult = (
unsigned long)result;
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;
3107 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3108 result = ((std::vector< operations_research::MPConstraint * >
const *)arg1)->capacity();
3109 jresult = (
unsigned long)result;
3115 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3116 std::vector< operations_research::MPConstraint * >::size_type arg2 ;
3118 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3119 arg2 = (std::vector< operations_research::MPConstraint * >::size_type)jarg2;
3120 (arg1)->reserve(arg2);
3126 std::vector< operations_research::MPConstraint * > *result = 0 ;
3128 result = (std::vector< operations_research::MPConstraint * > *)
new std::vector< operations_research::MPConstraint * >();
3129 jresult = (
void *)result;
3136 std::vector< operations_research::MPConstraint * > *arg1 = 0 ;
3137 std::vector< operations_research::MPConstraint * > *result = 0 ;
3139 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3144 result = (std::vector< operations_research::MPConstraint * > *)
new std::vector< operations_research::MPConstraint * >((std::vector< operations_research::MPConstraint * >
const &)*arg1);
3145 jresult = (
void *)result;
3153 std::vector< operations_research::MPConstraint * > *result = 0 ;
3158 }
catch(std::out_of_range &_e) {
3162 jresult = (
void *)result;
3169 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3173 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3177 }
catch(std::out_of_range &_e) {
3181 jresult = (
void *)result;
3188 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3190 std::vector< operations_research::MPConstraint * >::value_type *result = 0 ;
3192 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3196 }
catch(std::out_of_range &_e) {
3200 jresult = (
void *)*result;
3206 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3211 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3217 }
catch(std::out_of_range &_e) {
3225 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3226 std::vector< operations_research::MPConstraint * > *arg2 = 0 ;
3228 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3229 arg2 = (std::vector< operations_research::MPConstraint * > *)jarg2;
3240 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3243 std::vector< operations_research::MPConstraint * > *result = 0 ;
3245 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3250 }
catch(std::out_of_range &_e) {
3253 }
catch(std::invalid_argument &_e) {
3257 jresult = (
void *)result;
3263 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3268 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3274 }
catch(std::out_of_range &_e) {
3282 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3284 std::vector< operations_research::MPConstraint * > *arg3 = 0 ;
3286 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3288 arg3 = (std::vector< operations_research::MPConstraint * > *)jarg3;
3295 }
catch(std::out_of_range &_e) {
3303 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3306 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3310 }
catch(std::out_of_range &_e) {
3318 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3322 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3327 }
catch(std::out_of_range &_e) {
3330 }
catch(std::invalid_argument &_e) {
3342 std::vector< operations_research::MPConstraint * > *result = 0 ;
3349 }
catch(std::out_of_range &_e) {
3353 jresult = (
void *)result;
3359 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3361 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3367 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3371 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3376 }
catch(std::out_of_range &_e) {
3379 }
catch(std::invalid_argument &_e) {
3387 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3389 std::vector< operations_research::MPConstraint * > *arg3 = 0 ;
3391 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3393 arg3 = (std::vector< operations_research::MPConstraint * > *)jarg3;
3400 }
catch(std::out_of_range &_e) {
3408 unsigned int jresult ;
3409 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3414 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3425 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3430 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3441 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3446 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3456 unsigned int jresult ;
3457 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3462 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3472 std::vector< operations_research::MPConstraint * > *arg1 = (std::vector< operations_research::MPConstraint * > *) 0 ;
3474 arg1 = (std::vector< operations_research::MPConstraint * > *)jarg1;
3480 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3482 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3488 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3492 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
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;
3504 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3505 result = ((std::vector< operations_research::MPVariable * >
const *)arg1)->size();
3506 jresult = (
unsigned long)result;
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;
3516 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3517 result = ((std::vector< operations_research::MPVariable * >
const *)arg1)->capacity();
3518 jresult = (
unsigned long)result;
3524 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3525 std::vector< operations_research::MPVariable * >::size_type arg2 ;
3527 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3528 arg2 = (std::vector< operations_research::MPVariable * >::size_type)jarg2;
3529 (arg1)->reserve(arg2);
3535 std::vector< operations_research::MPVariable * > *result = 0 ;
3537 result = (std::vector< operations_research::MPVariable * > *)
new std::vector< operations_research::MPVariable * >();
3538 jresult = (
void *)result;
3545 std::vector< operations_research::MPVariable * > *arg1 = 0 ;
3546 std::vector< operations_research::MPVariable * > *result = 0 ;
3548 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3553 result = (std::vector< operations_research::MPVariable * > *)
new std::vector< operations_research::MPVariable * >((std::vector< operations_research::MPVariable * >
const &)*arg1);
3554 jresult = (
void *)result;
3562 std::vector< operations_research::MPVariable * > *result = 0 ;
3567 }
catch(std::out_of_range &_e) {
3571 jresult = (
void *)result;
3578 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3582 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3586 }
catch(std::out_of_range &_e) {
3590 jresult = (
void *)result;
3597 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3599 std::vector< operations_research::MPVariable * >::value_type *result = 0 ;
3601 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3605 }
catch(std::out_of_range &_e) {
3609 jresult = (
void *)*result;
3615 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3620 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3626 }
catch(std::out_of_range &_e) {
3634 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3635 std::vector< operations_research::MPVariable * > *arg2 = 0 ;
3637 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3638 arg2 = (std::vector< operations_research::MPVariable * > *)jarg2;
3649 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3652 std::vector< operations_research::MPVariable * > *result = 0 ;
3654 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3659 }
catch(std::out_of_range &_e) {
3662 }
catch(std::invalid_argument &_e) {
3666 jresult = (
void *)result;
3672 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3677 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3683 }
catch(std::out_of_range &_e) {
3691 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3693 std::vector< operations_research::MPVariable * > *arg3 = 0 ;
3695 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3697 arg3 = (std::vector< operations_research::MPVariable * > *)jarg3;
3704 }
catch(std::out_of_range &_e) {
3712 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3715 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3719 }
catch(std::out_of_range &_e) {
3727 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3731 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3736 }
catch(std::out_of_range &_e) {
3739 }
catch(std::invalid_argument &_e) {
3751 std::vector< operations_research::MPVariable * > *result = 0 ;
3758 }
catch(std::out_of_range &_e) {
3762 jresult = (
void *)result;
3768 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3770 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3776 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3780 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3785 }
catch(std::out_of_range &_e) {
3788 }
catch(std::invalid_argument &_e) {
3796 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3798 std::vector< operations_research::MPVariable * > *arg3 = 0 ;
3800 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3802 arg3 = (std::vector< operations_research::MPVariable * > *)jarg3;
3809 }
catch(std::out_of_range &_e) {
3817 unsigned int jresult ;
3818 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3823 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3834 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3839 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3850 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3855 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3865 unsigned int jresult ;
3866 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3871 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3881 std::vector< operations_research::MPVariable * > *arg1 = (std::vector< operations_research::MPVariable * > *) 0 ;
3883 arg1 = (std::vector< operations_research::MPVariable * > *)jarg1;
3890 std::string *arg1 = 0 ;
3898 std::string arg1_str(jarg1);
3902 jresult = (
void *)result;
3917 std::string *arg1 = 0 ;
3924 std::string arg1_str(jarg1);
3927 jresult = (
void *)result;
3933 unsigned int jresult ;
3967 std::vector< operations_research::MPVariable * > *result = 0 ;
3971 jresult = (
void *)result;
3979 std::string *arg2 = 0 ;
3987 std::string arg2_str(jarg2);
3990 jresult = (
void *)result;
4001 std::string *arg5 = 0 ;
4005 arg2 = (double)jarg2;
4006 arg3 = (double)jarg3;
4007 arg4 = jarg4 ? true :
false;
4012 std::string arg5_str(jarg5);
4015 jresult = (
void *)result;
4025 std::string *arg4 = 0 ;
4029 arg2 = (double)jarg2;
4030 arg3 = (double)jarg3;
4035 std::string arg4_str(jarg4);
4038 jresult = (
void *)result;
4048 std::string *arg4 = 0 ;
4052 arg2 = (double)jarg2;
4053 arg3 = (double)jarg3;
4058 std::string arg4_str(jarg4);
4061 jresult = (
void *)result;
4069 std::string *arg2 = 0 ;
4077 std::string arg2_str(jarg2);
4080 jresult = (
void *)result;
4100 std::vector< operations_research::MPConstraint * > *result = 0 ;
4104 jresult = (
void *)result;
4112 std::string *arg2 = 0 ;
4120 std::string arg2_str(jarg2);
4123 jresult = (
void *)result;
4136 arg2 = (double)jarg2;
4137 arg3 = (double)jarg3;
4139 jresult = (
void *)result;
4151 jresult = (
void *)result;
4161 std::string *arg4 = 0 ;
4165 arg2 = (double)jarg2;
4166 arg3 = (double)jarg3;
4171 std::string arg4_str(jarg4);
4174 jresult = (
void *)result;
4182 std::string *arg2 = 0 ;
4190 std::string arg2_str(jarg2);
4193 jresult = (
void *)result;
4205 jresult = (
void *)result;
4217 jresult = (int)result;
4235 jresult = (int)result;
4243 std::vector< double > result;
4248 jresult =
new std::vector< double >((
const std::vector< double> &)result);
4255 unsigned int jresult ;
4262 arg2 = (double)jarg2;
4263 arg3 = jarg3 ? true :
false;
4279 unsigned int jresult ;
4291 unsigned int jresult ;
4293 std::string *arg2 = 0 ;
4301 std::string arg2_str(jarg2);
4303 result = (bool)(arg1)->SetSolverSpecificParametersAsString((std::string
const &)*arg2);
4313 (arg1)->EnableOutput();
4321 (arg1)->SuppressOutput();
4366 arg2 = (
int64)jarg2;
4367 (arg1)->set_time_limit(arg2);
4384 std::string *arg1 = 0 ;
4390 std::string arg1_str(jarg1);
4403 arg2 = jarg2 ? true :
false;
4418 arg2 = jarg2 ? true :
false;
4419 arg3 = jarg3 ? true :
false;
4428 std::vector< operations_research::MPVariable * > *arg2 = 0 ;
4429 std::vector< double > *arg3 = 0 ;
4432 arg2 = (std::vector< operations_research::MPVariable * > *)jarg2;
4438 arg3 =
new std::vector<double>;
4439 arg3->reserve(length3);
4440 for(
int i = 0; i < length3; ++i) {
4441 arg3->emplace_back(jarg3[i]);
4452 unsigned int jresult ;
4480 arg3 = (double)jarg3;
4504 arg2 = (double)jarg2;
4505 (arg1)->SetOffset(arg2);
4526 arg2 = jarg2 ? true :
false;
4527 (arg1)->SetOptimizationDirection(arg2);
4535 (arg1)->SetMinimization();
4543 (arg1)->SetMaximization();
4548 unsigned int jresult ;
4560 unsigned int jresult ;
4606 std::string *result = 0 ;
4620 arg2 = jarg2 ? true :
false;
4621 (arg1)->SetInteger(arg2);
4666 arg2 = (double)jarg2;
4667 (arg1)->SetLB(arg2);
4676 arg2 = (double)jarg2;
4677 (arg1)->SetUB(arg2);
4687 arg2 = (double)jarg2;
4688 arg3 = (double)jarg3;
4689 (arg1)->SetBounds(arg2,arg3);
4712 jresult = (int)result;
4728 std::string *result = 0 ;
4744 arg3 = (double)jarg3;
4792 arg2 = (double)jarg2;
4793 (arg1)->SetLB(arg2);
4802 arg2 = (double)jarg2;
4803 (arg1)->SetUB(arg2);
4813 arg2 = (double)jarg2;
4814 arg3 = (double)jarg3;
4815 (arg1)->SetBounds(arg2,arg3);
4820 unsigned int jresult ;
4836 arg2 = jarg2 ? true :
false;
4837 (arg1)->set_is_lazy(arg2);
4872 jresult = (int)result;
4920 jresult = (int)result;
4930 jresult = (int)result;
4940 jresult = (
void *)result;
4952 arg3 = (double)jarg3;
4953 (arg1)->SetDoubleParam(arg2,arg3);
4965 (arg1)->SetIntegerParam(arg2,arg3);