In Julia parallel processing is possible. For instance, we can try the problem mentioned below:
nprocs()
function Square(n)
sum=0
for i=1:n
sum+=i^2
end
return sum
end
@time Square(10000000)
Now try with parallel processing
addprocs(2)
@everywhere function Square(n)
sum=0
for i=1:n
sum+=i^2
end
return sum
end
@time Square(10000000)
More than 80% computational time we can save.
My simple question is mentioned below:
Can we use same approach to solve IP model with Cbc/Ipopt solver? Please share an example.