Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
OptimizeVar.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (https://www.swig.org).
5// Version 4.2.1
6//
7// Do not make changes to this file unless you know what you are doing - modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
12
13using System;
14using System.Runtime.InteropServices;
15using System.Collections;
16using System.Collections.Generic;
17
18public partial class OptimizeVar : ObjectiveMonitor {
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
21 internal OptimizeVar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.OptimizeVar_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
23 }
24
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OptimizeVar obj) {
26 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 internal static global::System.Runtime.InteropServices.HandleRef swigRelease(OptimizeVar obj) {
30 if (obj != null) {
31 if (!obj.swigCMemOwn)
32 throw new global::System.ApplicationException("Cannot release ownership as memory is not owned");
33 global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr;
34 obj.swigCMemOwn = false;
35 obj.Dispose();
36 return ptr;
37 } else {
38 return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 }
40 }
41
42 protected override void Dispose(bool disposing) {
43 lock(this) {
44 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
45 if (swigCMemOwn) {
46 swigCMemOwn = false;
48 }
49 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
50 }
51 base.Dispose(disposing);
52 }
53 }
54
55 public OptimizeVar(Solver solver, bool maximize, IntVar var, long step) : this(operations_research_constraint_solverPINVOKE.new_OptimizeVar__SWIG_0(Solver.getCPtr(solver), maximize, IntVar.getCPtr(var), step), true) {
56 SwigDirectorConnect();
57 }
58
59 public OptimizeVar(Solver solver, SWIGTYPE_p_std__vectorT_bool_t maximize, IntVarVector vars, long[] steps) : this(operations_research_constraint_solverPINVOKE.new_OptimizeVar__SWIG_1(Solver.getCPtr(solver), SWIGTYPE_p_std__vectorT_bool_t.getCPtr(maximize), IntVarVector.getCPtr(vars), steps.Length, steps ), true) {
61 SwigDirectorConnect();
62 }
63
64 public long Best() {
66 return ret;
67 }
68
69 public IntVar Var() {
70 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.OptimizeVar_Var(swigCPtr);
71 IntVar ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVar(cPtr, false);
72 return ret;
73 }
74
75 public override void BeginNextDecision(DecisionBuilder db) {
77 }
78
79 public override void RefuteDecision(Decision d) {
80 if (SwigDerivedClassHasMethod("RefuteDecision", swigMethodTypes7)) operations_research_constraint_solverPINVOKE.OptimizeVar_RefuteDecisionSwigExplicitOptimizeVar(swigCPtr, Decision.getCPtr(d)); else operations_research_constraint_solverPINVOKE.OptimizeVar_RefuteDecision(swigCPtr, Decision.getCPtr(d));
81 }
82
83 public override bool AtSolution() {
84 bool ret = (SwigDerivedClassHasMethod("AtSolution", swigMethodTypes14) ? operations_research_constraint_solverPINVOKE.OptimizeVar_AtSolutionSwigExplicitOptimizeVar(swigCPtr) : operations_research_constraint_solverPINVOKE.OptimizeVar_AtSolution(swigCPtr));
85 return ret;
86 }
87
88 public override bool AcceptSolution() {
90 return ret;
91 }
92
93 public virtual string Name() {
94 string ret = (SwigDerivedClassHasMethod("Name", swigMethodTypes25) ? operations_research_constraint_solverPINVOKE.OptimizeVar_NameSwigExplicitOptimizeVar(swigCPtr) : operations_research_constraint_solverPINVOKE.OptimizeVar_Name(swigCPtr));
95 return ret;
96 }
97
98 public override string ToString() {
99 string ret = (SwigDerivedClassHasMethod("ToString", swigMethodTypes0) ? operations_research_constraint_solverPINVOKE.OptimizeVar_ToStringSwigExplicitOptimizeVar(swigCPtr) : operations_research_constraint_solverPINVOKE.OptimizeVar_ToString(swigCPtr));
100 return ret;
101 }
102
103 public void ApplyBound() {
106
107 private void SwigDirectorConnect() {
108 if (SwigDerivedClassHasMethod("ToString", swigMethodTypes0))
109 swigDelegate0 = new SwigDelegateOptimizeVar_0(SwigDirectorMethodToString);
110 if (SwigDerivedClassHasMethod("EnterSearch", swigMethodTypes1))
111 swigDelegate1 = new SwigDelegateOptimizeVar_1(SwigDirectorMethodEnterSearch);
112 if (SwigDerivedClassHasMethod("RestartSearch", swigMethodTypes2))
113 swigDelegate2 = new SwigDelegateOptimizeVar_2(SwigDirectorMethodRestartSearch);
114 if (SwigDerivedClassHasMethod("ExitSearch", swigMethodTypes3))
115 swigDelegate3 = new SwigDelegateOptimizeVar_3(SwigDirectorMethodExitSearch);
116 if (SwigDerivedClassHasMethod("BeginNextDecision", swigMethodTypes4))
117 swigDelegate4 = new SwigDelegateOptimizeVar_4(SwigDirectorMethodBeginNextDecision);
118 if (SwigDerivedClassHasMethod("EndNextDecision", swigMethodTypes5))
119 swigDelegate5 = new SwigDelegateOptimizeVar_5(SwigDirectorMethodEndNextDecision);
120 if (SwigDerivedClassHasMethod("ApplyDecision", swigMethodTypes6))
121 swigDelegate6 = new SwigDelegateOptimizeVar_6(SwigDirectorMethodApplyDecision);
122 if (SwigDerivedClassHasMethod("RefuteDecision", swigMethodTypes7))
123 swigDelegate7 = new SwigDelegateOptimizeVar_7(SwigDirectorMethodRefuteDecision);
124 if (SwigDerivedClassHasMethod("AfterDecision", swigMethodTypes8))
125 swigDelegate8 = new SwigDelegateOptimizeVar_8(SwigDirectorMethodAfterDecision);
126 if (SwigDerivedClassHasMethod("BeginFail", swigMethodTypes9))
127 swigDelegate9 = new SwigDelegateOptimizeVar_9(SwigDirectorMethodBeginFail);
128 if (SwigDerivedClassHasMethod("EndFail", swigMethodTypes10))
129 swigDelegate10 = new SwigDelegateOptimizeVar_10(SwigDirectorMethodEndFail);
130 if (SwigDerivedClassHasMethod("BeginInitialPropagation", swigMethodTypes11))
131 swigDelegate11 = new SwigDelegateOptimizeVar_11(SwigDirectorMethodBeginInitialPropagation);
132 if (SwigDerivedClassHasMethod("EndInitialPropagation", swigMethodTypes12))
133 swigDelegate12 = new SwigDelegateOptimizeVar_12(SwigDirectorMethodEndInitialPropagation);
134 if (SwigDerivedClassHasMethod("AcceptSolution", swigMethodTypes13))
135 swigDelegate13 = new SwigDelegateOptimizeVar_13(SwigDirectorMethodAcceptSolution);
136 if (SwigDerivedClassHasMethod("AtSolution", swigMethodTypes14))
137 swigDelegate14 = new SwigDelegateOptimizeVar_14(SwigDirectorMethodAtSolution);
138 if (SwigDerivedClassHasMethod("NoMoreSolutions", swigMethodTypes15))
139 swigDelegate15 = new SwigDelegateOptimizeVar_15(SwigDirectorMethodNoMoreSolutions);
140 if (SwigDerivedClassHasMethod("LocalOptimum", swigMethodTypes16))
141 swigDelegate16 = new SwigDelegateOptimizeVar_16(SwigDirectorMethodLocalOptimum);
142 if (SwigDerivedClassHasMethod("AcceptDelta", swigMethodTypes17))
143 swigDelegate17 = new SwigDelegateOptimizeVar_17(SwigDirectorMethodAcceptDelta);
144 if (SwigDerivedClassHasMethod("AcceptNeighbor", swigMethodTypes18))
145 swigDelegate18 = new SwigDelegateOptimizeVar_18(SwigDirectorMethodAcceptNeighbor);
146 if (SwigDerivedClassHasMethod("AcceptUncheckedNeighbor", swigMethodTypes19))
147 swigDelegate19 = new SwigDelegateOptimizeVar_19(SwigDirectorMethodAcceptUncheckedNeighbor);
148 if (SwigDerivedClassHasMethod("IsUncheckedSolutionLimitReached", swigMethodTypes20))
149 swigDelegate20 = new SwigDelegateOptimizeVar_20(SwigDirectorMethodIsUncheckedSolutionLimitReached);
150 if (SwigDerivedClassHasMethod("PeriodicCheck", swigMethodTypes21))
151 swigDelegate21 = new SwigDelegateOptimizeVar_21(SwigDirectorMethodPeriodicCheck);
152 if (SwigDerivedClassHasMethod("ProgressPercent", swigMethodTypes22))
153 swigDelegate22 = new SwigDelegateOptimizeVar_22(SwigDirectorMethodProgressPercent);
154 if (SwigDerivedClassHasMethod("Accept", swigMethodTypes23))
155 swigDelegate23 = new SwigDelegateOptimizeVar_23(SwigDirectorMethodAccept);
156 if (SwigDerivedClassHasMethod("Install", swigMethodTypes24))
157 swigDelegate24 = new SwigDelegateOptimizeVar_24(SwigDirectorMethodInstall);
158 if (SwigDerivedClassHasMethod("Name", swigMethodTypes25))
159 swigDelegate25 = new SwigDelegateOptimizeVar_25(SwigDirectorMethodName);
160 operations_research_constraint_solverPINVOKE.OptimizeVar_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate22, swigDelegate23, swigDelegate24, swigDelegate25);
161 }
162
163 private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {
164 global::System.Reflection.MethodInfo[] methodInfos = this.GetType().GetMethods(
165 global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance);
166 foreach (global::System.Reflection.MethodInfo methodInfo in methodInfos) {
167 if (methodInfo.DeclaringType == null)
168 continue;
169
170 if (methodInfo.Name != methodName)
171 continue;
172
173 var parameters = methodInfo.GetParameters();
174 if (parameters.Length != methodTypes.Length)
175 continue;
176
177 bool parametersMatch = true;
178 for (var i = 0; i < parameters.Length; i++) {
179 if (parameters[i].ParameterType != methodTypes[i]) {
180 parametersMatch = false;
181 break;
182 }
183 }
184
185 if (!parametersMatch)
186 continue;
187
188 if (methodInfo.IsVirtual && (methodInfo.DeclaringType.IsSubclassOf(typeof(OptimizeVar))) &&
189 methodInfo.DeclaringType != methodInfo.GetBaseDefinition().DeclaringType) {
190 return true;
191 }
192 }
193
194 return false;
195 }
196
197 private string SwigDirectorMethodToString() {
198 return ToString();
199 }
200
201 private void SwigDirectorMethodEnterSearch() {
202 EnterSearch();
203 }
204
205 private void SwigDirectorMethodRestartSearch() {
207 }
208
209 private void SwigDirectorMethodExitSearch() {
210 ExitSearch();
211 }
212
213 private void SwigDirectorMethodBeginNextDecision(global::System.IntPtr db) {
214 BeginNextDecision((db == global::System.IntPtr.Zero) ? null : new DecisionBuilder(db, false));
215 }
216
217 private void SwigDirectorMethodEndNextDecision(global::System.IntPtr b, global::System.IntPtr d) {
218 EndNextDecision((b == global::System.IntPtr.Zero) ? null : new DecisionBuilder(b, false), (d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
219 }
220
221 private void SwigDirectorMethodApplyDecision(global::System.IntPtr d) {
222 ApplyDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
223 }
224
225 private void SwigDirectorMethodRefuteDecision(global::System.IntPtr d) {
226 RefuteDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
227 }
228
229 private void SwigDirectorMethodAfterDecision(global::System.IntPtr d, bool apply) {
230 AfterDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false), apply);
231 }
232
233 private void SwigDirectorMethodBeginFail() {
234 BeginFail();
235 }
236
237 private void SwigDirectorMethodEndFail() {
238 EndFail();
239 }
240
241 private void SwigDirectorMethodBeginInitialPropagation() {
243 }
244
245 private void SwigDirectorMethodEndInitialPropagation() {
247 }
248
249 private bool SwigDirectorMethodAcceptSolution() {
250 return AcceptSolution();
251 }
252
253 private bool SwigDirectorMethodAtSolution() {
254 return AtSolution();
255 }
256
257 private void SwigDirectorMethodNoMoreSolutions() {
259 }
260
261 private bool SwigDirectorMethodLocalOptimum() {
262 return LocalOptimum();
263 }
264
265 private bool SwigDirectorMethodAcceptDelta(global::System.IntPtr delta, global::System.IntPtr deltadelta) {
266 return AcceptDelta((delta == global::System.IntPtr.Zero) ? null : new Assignment(delta, false), (deltadelta == global::System.IntPtr.Zero) ? null : new Assignment(deltadelta, false));
267 }
268
269 private void SwigDirectorMethodAcceptNeighbor() {
271 }
272
273 private void SwigDirectorMethodAcceptUncheckedNeighbor() {
275 }
276
277 private bool SwigDirectorMethodIsUncheckedSolutionLimitReached() {
279 }
280
281 private void SwigDirectorMethodPeriodicCheck() {
283 }
284
285 private int SwigDirectorMethodProgressPercent() {
286 return ProgressPercent();
287 }
288
289 private void SwigDirectorMethodAccept(global::System.IntPtr visitor) {
290 Accept((visitor == global::System.IntPtr.Zero) ? null : new ModelVisitor(visitor, false));
291 }
292
293 private void SwigDirectorMethodInstall() {
294 Install();
295 }
296
297 private string SwigDirectorMethodName() {
298 return Name();
299 }
300
301 public delegate string SwigDelegateOptimizeVar_0();
302 public delegate void SwigDelegateOptimizeVar_1();
303 public delegate void SwigDelegateOptimizeVar_2();
304 public delegate void SwigDelegateOptimizeVar_3();
305 public delegate void SwigDelegateOptimizeVar_4(global::System.IntPtr db);
306 public delegate void SwigDelegateOptimizeVar_5(global::System.IntPtr b, global::System.IntPtr d);
307 public delegate void SwigDelegateOptimizeVar_6(global::System.IntPtr d);
308 public delegate void SwigDelegateOptimizeVar_7(global::System.IntPtr d);
309 public delegate void SwigDelegateOptimizeVar_8(global::System.IntPtr d, bool apply);
310 public delegate void SwigDelegateOptimizeVar_9();
311 public delegate void SwigDelegateOptimizeVar_10();
312 public delegate void SwigDelegateOptimizeVar_11();
313 public delegate void SwigDelegateOptimizeVar_12();
314 public delegate bool SwigDelegateOptimizeVar_13();
315 public delegate bool SwigDelegateOptimizeVar_14();
316 public delegate void SwigDelegateOptimizeVar_15();
317 public delegate bool SwigDelegateOptimizeVar_16();
318 public delegate bool SwigDelegateOptimizeVar_17(global::System.IntPtr delta, global::System.IntPtr deltadelta);
319 public delegate void SwigDelegateOptimizeVar_18();
320 public delegate void SwigDelegateOptimizeVar_19();
321 public delegate bool SwigDelegateOptimizeVar_20();
322 public delegate void SwigDelegateOptimizeVar_21();
323 public delegate int SwigDelegateOptimizeVar_22();
324 public delegate void SwigDelegateOptimizeVar_23(global::System.IntPtr visitor);
325 public delegate void SwigDelegateOptimizeVar_24();
326 public delegate string SwigDelegateOptimizeVar_25();
328 private SwigDelegateOptimizeVar_0 swigDelegate0;
329 private SwigDelegateOptimizeVar_1 swigDelegate1;
330 private SwigDelegateOptimizeVar_2 swigDelegate2;
331 private SwigDelegateOptimizeVar_3 swigDelegate3;
332 private SwigDelegateOptimizeVar_4 swigDelegate4;
333 private SwigDelegateOptimizeVar_5 swigDelegate5;
334 private SwigDelegateOptimizeVar_6 swigDelegate6;
335 private SwigDelegateOptimizeVar_7 swigDelegate7;
336 private SwigDelegateOptimizeVar_8 swigDelegate8;
337 private SwigDelegateOptimizeVar_9 swigDelegate9;
338 private SwigDelegateOptimizeVar_10 swigDelegate10;
339 private SwigDelegateOptimizeVar_11 swigDelegate11;
340 private SwigDelegateOptimizeVar_12 swigDelegate12;
341 private SwigDelegateOptimizeVar_13 swigDelegate13;
342 private SwigDelegateOptimizeVar_14 swigDelegate14;
343 private SwigDelegateOptimizeVar_15 swigDelegate15;
344 private SwigDelegateOptimizeVar_16 swigDelegate16;
345 private SwigDelegateOptimizeVar_17 swigDelegate17;
346 private SwigDelegateOptimizeVar_18 swigDelegate18;
347 private SwigDelegateOptimizeVar_19 swigDelegate19;
348 private SwigDelegateOptimizeVar_20 swigDelegate20;
349 private SwigDelegateOptimizeVar_21 swigDelegate21;
350 private SwigDelegateOptimizeVar_22 swigDelegate22;
351 private SwigDelegateOptimizeVar_23 swigDelegate23;
352 private SwigDelegateOptimizeVar_24 swigDelegate24;
353 private SwigDelegateOptimizeVar_25 swigDelegate25;
354
355 private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { };
356 private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
357 private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { };
358 private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { };
359 private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(DecisionBuilder) };
360 private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(DecisionBuilder), typeof(Decision) };
361 private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Decision) };
362 private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(Decision) };
363 private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(Decision), typeof(bool) };
364 private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { };
365 private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { };
366 private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { };
367 private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { };
368 private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
369 private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { };
370 private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { };
371 private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { };
372 private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(Assignment), typeof(Assignment) };
373 private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { };
374 private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { };
375 private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { };
376 private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
377 private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { };
378 private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(ModelVisitor) };
379 private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { };
380 private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };
381}
382
383}
override bool AcceptDelta(Assignment delta, Assignment deltadelta)
override void Accept(ModelVisitor visitor)
delegate void SwigDelegateOptimizeVar_8(global::System.IntPtr d, bool apply)
override void BeginNextDecision(DecisionBuilder db)
delegate void SwigDelegateOptimizeVar_23(global::System.IntPtr visitor)
delegate bool SwigDelegateOptimizeVar_17(global::System.IntPtr delta, global::System.IntPtr deltadelta)
delegate void SwigDelegateOptimizeVar_4(global::System.IntPtr db)
override void RefuteDecision(Decision d)
delegate void SwigDelegateOptimizeVar_6(global::System.IntPtr d)
delegate void SwigDelegateOptimizeVar_5(global::System.IntPtr b, global::System.IntPtr d)
delegate void SwigDelegateOptimizeVar_7(global::System.IntPtr d)
virtual void AfterDecision(Decision d, bool apply)
virtual void EndNextDecision(DecisionBuilder b, Decision d)
static bool OptimizeVar_AtSolutionSwigExplicitOptimizeVar(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OptimizeVar_ApplyBound(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OptimizeVar_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OptimizeVar.SwigDelegateOptimizeVar_0 delegate0, OptimizeVar.SwigDelegateOptimizeVar_1 delegate1, OptimizeVar.SwigDelegateOptimizeVar_2 delegate2, OptimizeVar.SwigDelegateOptimizeVar_3 delegate3, OptimizeVar.SwigDelegateOptimizeVar_4 delegate4, OptimizeVar.SwigDelegateOptimizeVar_5 delegate5, OptimizeVar.SwigDelegateOptimizeVar_6 delegate6, OptimizeVar.SwigDelegateOptimizeVar_7 delegate7, OptimizeVar.SwigDelegateOptimizeVar_8 delegate8, OptimizeVar.SwigDelegateOptimizeVar_9 delegate9, OptimizeVar.SwigDelegateOptimizeVar_10 delegate10, OptimizeVar.SwigDelegateOptimizeVar_11 delegate11, OptimizeVar.SwigDelegateOptimizeVar_12 delegate12, OptimizeVar.SwigDelegateOptimizeVar_13 delegate13, OptimizeVar.SwigDelegateOptimizeVar_14 delegate14, OptimizeVar.SwigDelegateOptimizeVar_15 delegate15, OptimizeVar.SwigDelegateOptimizeVar_16 delegate16, OptimizeVar.SwigDelegateOptimizeVar_17 delegate17, OptimizeVar.SwigDelegateOptimizeVar_18 delegate18, OptimizeVar.SwigDelegateOptimizeVar_19 delegate19, OptimizeVar.SwigDelegateOptimizeVar_20 delegate20, OptimizeVar.SwigDelegateOptimizeVar_21 delegate21, OptimizeVar.SwigDelegateOptimizeVar_22 delegate22, OptimizeVar.SwigDelegateOptimizeVar_23 delegate23, OptimizeVar.SwigDelegateOptimizeVar_24 delegate24, OptimizeVar.SwigDelegateOptimizeVar_25 delegate25)
static long OptimizeVar_Best(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OptimizeVar_AcceptSolution(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OptimizeVar_AtSolution(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OptimizeVar_BeginNextDecisionSwigExplicitOptimizeVar(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string OptimizeVar_Name(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OptimizeVar_AcceptSolutionSwigExplicitOptimizeVar(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OptimizeVar_RefuteDecisionSwigExplicitOptimizeVar(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string OptimizeVar_ToStringSwigExplicitOptimizeVar(global::System.Runtime.InteropServices.HandleRef jarg1)
static string OptimizeVar_NameSwigExplicitOptimizeVar(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OptimizeVar(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OptimizeVar_BeginNextDecision(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OptimizeVar_Var(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OptimizeVar_RefuteDecision(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string OptimizeVar_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)