Hello, my code currently consists of a recursive function f and I am planning on using an optimization solver (global optimization for integer programming with binary variables) for solving a sub-problem of the function f.
Because the function is recursive in nature and also designed so that it is expected to be run concurrently multiple-times independently by separate thraeds, my question is whether it is possible to use a solver inside that function and if then what library would you recommend.
The actual implementation consist of f that has inside a minimalization of recursively called f (which contains other minimalization problem in itself). It is not very deep recursion and the minimalization acts only on not-too-many variables. I’ve read somewhere that e.g. GLPK does not support re-entrancy so is there any way in Julia to do this?