Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72384

Re: Segmentation fault (core dumped) while using Cplex Python API

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'subject:Python': 0.06; 'modified': 0.07; 'parameter': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'rows': 0.09; 'rows,': 0.09; 'subject:using': 0.09; 'subject:while': 0.09; 'api': 0.11; 'python': 0.11; '0.03': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:API': 0.16; 'subject:core': 0.16; 'fix': 0.17; 'trying': 0.19; 'everyone,': 0.19; 'install': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'header:X-Complaints-To:1': 0.27; 'tried': 0.27; 'subject:) ': 0.29; 'lines': 0.31; 'fault': 0.31; 'file:': 0.31; 'reduced': 0.31; 'time:': 0.31; 'writes:': 0.31; 'file': 0.32; 'this.': 0.32; 'figure': 0.32; 'url:python': 0.33; 'problem': 0.35; 'subject: (': 0.35; 'test': 0.35; 'version': 0.36; 'grateful': 0.36; 'url:org': 0.36; 'message-id:@gmail.com': 0.38; 'solving': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'solve': 0.60; 'email addr:gmail.com': 0.63; 'completion': 0.78; '180': 0.84; 'sec.': 0.84; 'received:89': 0.85
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Akira Li <4kir4.1i@gmail.com>
Subject Re: Segmentation fault (core dumped) while using Cplex Python API
Date Mon, 02 Jun 2014 02:34:19 +0400
References <e2e379b4-b721-4d96-865e-8f39ac5c4dd7@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain
X-Gmane-NNTP-Posting-Host 89.169.229.68
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
Cancel-Lock sha1:jb80Y7qXv/Wtwj9+RrePBXHL7wU=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10530.1401662078.18130.python-list@python.org> (permalink)
Lines 56
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401662078 news.xs4all.nl 2941 [2001:888:2000:d::a6]:46518
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72384

Show key headers only | View raw


varun7rs@gmail.com writes:

> Hello Everyone, 
>
> I am trying to solve a mixed-integer problem using Cplex Python API
> and I get this error Segmentation fault (core dumped). i am not able
> to figure out the reason for this.
> Traceback
>
> srva@hades:~$ python RW10.py --output test --logPath log --xml topology.xml
> Start Time: 2014-6-1-20-56-39
> CPLEX Parameter File Version 12.5.0.0
> CPX_PARAM_TILIM 3600
> CPX_PARAM_TRELIM 20000.00
> CPX_PARAM_EPGAP 0.03
> CPX_PARAM_EACHCUTLIM 2100000000
> CPX_PARAM_FLOWCOVERS 0
> CPX_PARAM_FLOWPATHS 0
> CPX_PARAM_CLIQUES 0
> CPX_PARAM_DISJCUTS 0
> CPX_PARAM_COVERS 0
> CPX_PARAM_ZEROHALFCUTS 0
> CPX_PARAM_MIRCUTS 0
> CPX_PARAM_MCFCUTS 0
> CPX_PARAM_IMPLBD 0
> CPX_PARAM_GUBCOVERS 0
> CPX_PARAM_AGGCUTLIM 3
>
> Completion Time: 972.63
> Num Columns: 1350888
> Num Rows: 25488
> Solving
> Segmentation fault (core dumped)
>
> A few lines from the log file:
>
> Completion Time: 972.63
> Num Columns: 1350888
> Num Rows: 25488
> Tried aggregator 1 time.
> MIP Presolve eliminated 12648 rows and 1321088 columns.
> MIP Presolve modified 180 coefficients.
> Reduced MIP has 12840 rows, 29800 columns, and 136000 nonzeros.
> Reduced MIP has 29800 binaries, 0 generals, 0 SOSs, and 0 indicators.
> Presolve time = 0.49 sec. (368.57 ticks)
>
> I would be grateful if someone can help me fix this.

Install and enable faulthandler
https://pypi.python.org/pypi/faulthandler/
to see where Segmentation fault happens


--
akira

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Segmentation fault (core dumped) while using Cplex Python API varun7rs@gmail.com - 2014-06-01 12:28 -0700
  Re: Segmentation fault (core dumped) while using Cplex Python API Gary Herron <gary.herron@islandtraining.com> - 2014-06-01 12:44 -0700
  Re: Segmentation fault (core dumped) while using Cplex Python API Akira Li <4kir4.1i@gmail.com> - 2014-06-02 02:34 +0400

csiph-web