Error solve JuMP models in parallel

Sorry, I misread the code. I also wouldn’t expect passing an array of models pmap to work. Don’t send models across processes. Send the input data and generate the models locally on the process.