In [14]:
using OPCSPs
step=5
max_nodes=30
Out[14]:
In [19]:
include("../src/solutions.jl")
Out[19]:
In [20]:
solns = [OPSolution() for i in 10:step:max_nodes]
Out[20]:
In [23]:
for (i,n) in enumerate(10:step:max_nodes)
println("$n nodes")
problem = gen_op(n_nodes=n, rng=MersenneTwister(n))
@time solns[i] = solve_op(problem, initial = solns[i])
end
In [13]:
@show solns[1].u[7]
@show keys(solns[1].u)
Out[13]:
In [ ]:
In [7]:
# before u relaxation
for i in 10:step:max_nodes
println("$i nodes")
problem = gen_op(n_nodes=i, rng=MersenneTwister(i))
@time solve_op(problem)
end
In [ ]:
In [ ]: