I have a pretty large MILPmodel that I'm trying to solve using CPLEX on the NEOS server. When I set wait=TRUE in the solver controls, the job successfully returns from the NEOS server (on a slimmed down version of the model). But when I try asynchrous mode (wait = FALSE) I get everyone's favorite useless R error.
solution_neos <- ompr::solve_model(my_model,with_ROI(solver = "neos",
method='cplex', email = 'myemail@gmail.com', wait=FALSE)) #argument wait=FALSE for asynchronous solves.
Error: object of type 'closure' is not subsettable
Any idea on what's going on here? I'd really like to use asynchrous mode if possible, as I would want to send multiple versions of the same model to the NEOS server simultaneously.
I have a pretty large MILPmodel that I'm trying to solve using CPLEX on the NEOS server. When I set
wait=TRUE
in the solver controls, the job successfully returns from the NEOS server (on a slimmed down version of the model). But when I try asynchrous mode (wait = FALSE
) I get everyone's favorite useless R error.Any idea on what's going on here? I'd really like to use asynchrous mode if possible, as I would want to send multiple versions of the same model to the NEOS server simultaneously.
Thanks Ralph ralph@datadrivensupplychain.com