Originally posted by: SystemAdmin
[arnaud.schulz said:]
Hi,
A workaround is to use the Reflection API.
Function CallNext(ByVal cp As ILOG.CP.CP) As Boolean
Dim cpType As Type = cp.GetType
Dim meth As Reflection.MethodInfo = cpType.GetMethod("Next")
Try
Return meth.Invoke(cp, Nothing)
Catch ex As System.Exception
Throw ex.InnerException
End Try
End Function
Arnaud.
#ConstraintProgramming-General#DecisionOptimization