AMPL/CPLEX crash with MISOCP

213 views
Skip to first unread message

Benoît Martin

unread,
Aug 2, 2016, 6:31:29 AM8/2/16
to AMPL Modeling Language
Hello,

I am trying to solve a MISOCP on different datasets for a network problem (6 nodes and 20 nodes)
For the 'small case' (6 nodes), I get a solution.
However, for bigger instances (10, 20 nodes) I get a crash with exit code 18446744072635809797, I put the log hereunder. I don't understand where the crash comes from, since data are the same type, it is just the size of the problem that varies..

Thank you!

Benoît


#phase seconds memory memory
#execute 0.0156001 512224 512224
### C:\Users\bemartin\Dropbox\Ampl\MISOC.mod:157(6479)   option ...
#execute 0 0 512224
#parse 0 0 512224
#data read 0 487768 999992
### solve ...
#compile 0 62208 1062200
##genmod times:
##seq      seconds    cum. sec.    mem. inc.  name
## 85            0            0            0  derstage
## 89            0            0            0  sstatus
## 103            0            0            0  nodes
## 104            0            0            0  timesteps
## 105            0            0            0  years
## 107            0            0         2056  Pc
## 108            0            0            0  Qc
## 109            0            0            0  X
## 110            0            0            0  Y
## 113            0            0            0  rij
## 114            0            0            0  xij
## 115            0            0            0  thermal_limit
## 116            0            0            0  xi_max
## 118            0            0            0  B_all
## 120            0            0            0  links
## 121            0            0         1040  D
## 122            0            0            0  vmin
## 123            0            0            0  vmax
## 124            0            0            0  M
## 125            0            0            0  M3
## 126            0            0            0  M4
## 127            0            0            0  rated_power
## 128            0            0            0  min_power
## 129            0            0            0  cos_phi
## 130            0            0            0  C_cond
## 131            0            0            0  C_pole
## 132            0            0            0  C_gen
## 133            0            0            0  a
## 134            0            0            0  b
## 135            0            0            0  c
## 136            0            0            0  rate
## 137            0            0            0  hoursinyear
## 138            0            0        42600  omega
## 140            0            0            0  sigma
## 142            0            0         5152  gamma
## 144            0            0      1100904  pij
## 146            0            0       262160  qij
## 148            0            0        98400  nui
## 150            0            0       327712  Psi
## 152            0            0            0  p_g
## 154            0            0        65552  q_g
## 156            0            0        32816  loi
## 160            0            0        46600  =gen_CAPEX
## 162            0            0            0  =line_CAPEX
## 164            0            0       115200  =OPEX
## 166            0            0            0  total_cost
## 168            0            0        36416  state_constraint_1
## 170            0            0            0  state_constraint_2
## 172            0            0         7728  state_constraint_3
## 174            0            0       108664  state_constraint_4
## 176            0            0         8200  state_constraint_5
## 178            0            0       387640  load_flow_active
## 180            0            0       367128  load_flow_reactive
## 182            0            0       175128  active_power_production_1
## 184            0            0       213528  active_power_production_2
## 186            0            0       213528  reactive_power_production_1
## 188            0            0       213528  reactive_power_production_2
## 190    0.0312002    0.0312002      6964928  volt_constraint_1
## 192    0.0312002    0.0624004      4511256  volt_constraint_2
## 194            0    0.0624004        76800  volt_constraint_3
## 196            0    0.0624004      2291128  thermal_rating_21
## 198            0    0.0624004      3837240  eq_const_1
## 200            0    0.0624004       815640  eq_const_2
## 202    0.0156001    0.0780005      3675696  eq_const_3
## 204    0.0156001    0.0936006      3244056  eq_const_4
## 206            0    0.0936006      3282456  eq_const_5
## 208    0.0156001     0.109201      3282456  eq_const_6
## 210            0     0.109201            0  line_constraint_1
## 212            0     0.109201         4112  line_constraint_2
## 214            0     0.109201         6168  line_constraint_3
## 216            0     0.109201        44568  another_constraint
## 218            0     0.109201         6168  another_constraint_2
#genmod 0.109201 35876408 36938608
#merge 0 524296 37462904
#collect 0.0468003 47735176 85198080
#presolve 0.140401 46137048 131335128
#solveout 0.0780005 17039376 148374504

Presolve eliminates 9144 constraints and 900 variables.
Substitution eliminates 3 variables.
Adjusted problem:
33170 variables:
50 binary variables
28320 nonlinear variables
4800 linear variables
191080 constraints; 671120 nonzeros
17280 nonlinear constraints
173800 linear constraints
13440 equality constraints
177640 inequality constraints
1 linear objective; 2450 nonzeros.

#presolve 0.0312002 0 148374504
#output 0.234002 0 148374504
#Total 0.655204
CPLEX 12.6.3.0: mipdisplay 2

iisfind 1

outlev=1



Root node processing (before b&c):

  Real time             =    0.09 sec. (14.57 ticks)

Parallel b&c, 8 threads:

  Real time             =    0.00 sec. (0.00 ticks)

  Sync time (average)   =    0.00 sec.

  Wait time (average)   =    0.00 sec.

                          ------------

Total (root+branch&cut) =    0.09 sec. (14.57 ticks)

exit code 18446744072635809797
#execute 0 2056 148376560
<BREAK>

Robert Fourer

unread,
Aug 2, 2016, 8:36:33 AM8/2/16
to am...@googlegroups.com
This exit code has appeared in previous reports, but unfortunately all that it tells us is that there was a crash somewhere. From the output given it's not clear whether the crash was in CPLEX, in the CPLEX-AMPL interface, or in AMPL itself.

Can you provide an example that we can use to reproduce the problem? Once we see it on our computers we can determine where it is occurring and can get it fixed. You can attach your files in a reply to this group, or if you don't want them to be public you can mail them to sup...@ampl.com.

Bob Fourer
am...@googlegroups.com

=======

From: am...@googlegroups.com [mailto:am...@googlegroups.com] On Behalf Of Benoît Martin
Sent: Tuesday, August 2, 2016 5:31 AM
To: AMPL Modeling Language
Subject: [AMPL 12394] AMPL/CPLEX crash with MISOCP

I am trying to solve a MISOCP on different datasets for a network problem (6 nodes and 20 nodes)
For the 'small case' (6 nodes), I get a solution.
However, for bigger instances (10, 20 nodes) I get a crash with exit code 18446744072635809797, I put the log hereunder. I don't understand where the crash comes from, since data are the same type, it is just the size of the problem that varies..

...

AMPL Optimization

unread,
Aug 26, 2016, 11:35:36 PM8/26/16
to AMPL Modeling Language
We have updated CPLEX for AMPL to fix the problem that caused a crash while determining an IIS for an MISOCP.  When we run the example that you sent us, CPLEX now produces the output seen in the attached file MISOC.txt, reporting an IIS of 8 constraints.

To get the update, download the CPLEX for AMPL package from our download site or the full AMPL package from http://ampl.com/try-ampl/download-a-free-demo/, and then copy just the file cplex.exe to your AMPL folder in place of the cplex.exe file that is currently there.

Bob Fourer
am...@googlegroups.com

Reply all
Reply to author
Forward
0 new messages