Lazy constraint callbacks in R?
回答済みHi there,
I was just curious if there is a way to add lazy constraint callbacks to problems that are created/solved using the Gurobi R interface?
Thank you in advance for your help!
Velibor
-
Callback functions are still not supported in the MATLAB and R interfaces. To add lazy constraints in these APIs, you can use Gwyneth's approach of setting the Lazy attributes of linear constraints.
1 -
Hi Velibor,
As far as I know, the R-API does not permit adding lazy constraints. This is also true for the Matlab-API - both are more "matrix based" interfaces compared to the other APIs.
0 -
As a note of clarification, while you can't use the callback, you can mark linear constraints as lazy in the R and MATLAB APIs via the 'lazy' attribute on a linear constraint.
0 -
Does anyone know if it's still not possible?
0
サインインしてコメントを残してください。
コメント
4件のコメント