You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>solve_opf("data/pglib_opf_case57_ieee.m")
[info | PowerModels]: removing 3 cost terms from generator 4: Float64[]
[info | PowerModels]: removing 1 cost terms from generator 1: [1696.0624, 0.0]
[info | PowerModels]: removing 1 cost terms from generator 5: [3044.1037, 0.0]
[info | PowerModels]: removing 3 cost terms from generator 2: Float64[]
[info | PowerModels]: removing 3 cost terms from generator 6: Float64[]
[info | PowerModels]: removing 1 cost terms from generator 7: [3718.8979000000004, 0.0]
[info | PowerModels]: removing 1 cost terms from generator 3: [3407.5557000000003, 0.0]
[info | PowerModels]: updated generator 4 cost function with order 0 to a function of order 3: [0.0, 0.0, 0.0]
[info | PowerModels]: updated generator 1 cost function with order 2 to a function of order 3: [0.0, 1696.0624, 0.0]
[info | PowerModels]: updated generator 5 cost function with order 2 to a function of order 3: [0.0, 3044.1037, 0.0]
[info | PowerModels]: updated generator 2 cost function with order 0 to a function of order 3: [0.0, 0.0, 0.0]
[info | PowerModels]: updated generator 6 cost function with order 0 to a function of order 3: [0.0, 0.0, 0.0]
[info | PowerModels]: updated generator 7 cost function with order 2 to a function of order 3: [0.0, 3718.8979000000004, 0.0]
[info | PowerModels]: updated generator 3 cost function with order 2 to a function of order 3: [0.0, 3407.5557000000003, 0.0]
This is Ipopt version 3.14.4, running with linear solver MUMPS 5.4.1.
Number of nonzeros in equality constraint Jacobian...: 1935
Number of nonzeros in inequality constraint Jacobian.: 480
Number of nonzeros in Lagrangian Hessian.............: 3167
Total number of variables............................: 445
variables with only lower bounds:0
variables with lower and upper bounds:388
variables with only upper bounds:0
Total number of equality constraints.................: 435
Total number of inequality constraints...............: 240
inequality constraints with only lower bounds:0
inequality constraints with lower and upper bounds:80
inequality constraints with only upper bounds:160
iter objective inf_pr inf_du lg(mu) ||d||lg(rg) alpha_du alpha_pr ls
01.0503586e+023.76e+001.91e+01-1.00.00e+00-0.00e+000.00e+00011.0716542e+042.65e+001.19e+02-1.03.70e+00-2.74e-032.95e-01h 121.3985380e+042.15e+009.71e+01-1.07.02e+00-5.91e-021.90e-01h 131.4674768e+042.08e+007.81e+01-1.03.90e+00-3.67e-012.99e-02h 142.0339343e+041.57e+005.90e+01-1.04.22e+00-7.79e-012.46e-01h 153.5192035e+042.16e-014.78e+01-1.04.88e+00-7.60e-018.63e-01h 163.6353626e+041.02e-012.36e+01-1.01.06e+01-7.33e-015.28e-01h 173.7555282e+041.23e-021.55e+00-1.06.75e+00-1.00e+001.00e+00h 183.7614438e+043.66e-041.89e-02-1.01.26e+00-1.00e+001.00e+00h 193.7591305e+044.39e-043.47e+00-2.51.26e+00-8.64e-011.00e+00f 1
iter objective inf_pr inf_du lg(mu) ||d||lg(rg) alpha_du alpha_pr ls
103.7590573e+048.44e-052.30e+00-2.51.37e-01-9.44e-018.36e-01h 1113.7590149e+041.43e-051.35e-03-2.52.81e-02-1.00e+001.00e+00f 1123.7589396e+042.20e-061.91e-02-3.84.24e-02-9.89e-011.00e+00h 1133.7589383e+048.08e-092.05e-06-3.85.69e-04-1.00e+001.00e+00h 1143.7589339e+047.59e-091.23e-06-5.72.32e-03-1.00e+001.00e+00h 1153.7589338e+041.85e-122.72e-10-8.62.92e-05-1.00e+001.00e+00h 1
Number of Iterations....: 15
(scaled) (unscaled)
Objective...............: 1.0107655336327791e+033.7589338204193220e+04
Dual infeasibility......: 2.7159429322152497e-101.0100314467135135e-08
Constraint violation....: 1.8536838730653926e-121.8536838730653926e-12
Variable bound violation:2.4448082225347889e-082.4448082225347889e-08
Complementarity.........: 2.6288234097387554e-099.7763258579482989e-08
Overall NLP error.......: 2.6288234097387554e-099.7763258579482989e-08
Number of objective function evaluations =16
Number of objective gradient evaluations =16
Number of equality constraint evaluations =16
Number of inequality constraint evaluations =16
Number of equality constraint Jacobian evaluations =16
Number of inequality constraint Jacobian evaluations =16
Number of Lagrangian Hessian evaluations =15
Total seconds in IPOPT =7.702
EXIT: Optimal Solution Found.
Summary
case........: data/pglib_opf_case57_ieee.m
variables...: 448
constraints.: 675
feasible....: true
cost........: 37589
total time..: 30.914313077926636
data time.: 0.10789203643798828
build time:20.57877492904663
solve time:10.227646112442017
Dict{String, Any} with 9 entries:"cost"=>37589.3"variables"=>448"constraints"=>675"case"=>"data/pglib_opf_case57_ieee.m""time_total"=>30.9143"time_build"=>20.5788"time_solve"=>10.2276"time_data"=>0.107892"feasible"=>true
Total time is 3.09+01 seconds, which is close to @ccoffrin's latest run of 3.25e+01, so a 2018 MacBook is a reasonable comparison for his hardware.
Load Julia in the
variants/Project.toml
First call is to remove problem-independent compilation overhead:
Second call is that @ccoffrin reports as the time
Total time is
3.09+01
seconds, which is close to @ccoffrin's latest run of3.25e+01
, so a 2018 MacBook is a reasonable comparison for his hardware.Profile
Here's the profile: 2/3 of the time is spent building the problem:
The text was updated successfully, but these errors were encountered: