This applies to the rewrite (after #76 is merged).
Currently, the simple @SC macro is used everywhere, where on would use SCIP_CALL in C.
It only does an @assert to check that the return code is SCIP_OKAY.
It would be better to throw a custom exception, also explaining what happened.
Not sure if we can actually show the full stacktrace (including the SCIP calls). I believe this requires compiling SCIP in debug mode?
cc @fserra
This applies to the rewrite (after #76 is merged).
Currently, the simple
@SCmacro is used everywhere, where on would useSCIP_CALLin C.It only does an
@assertto check that the return code isSCIP_OKAY.It would be better to throw a custom exception, also explaining what happened.
Not sure if we can actually show the full stacktrace (including the SCIP calls). I believe this requires compiling SCIP in debug mode?
cc @fserra