Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'python,': 0.02; 'subject:Python': 0.06; '(except': 0.07; 'modified': 0.07; 'parameter': 0.09; 'received:67.192': 0.09; 'received:67.192.241': 0.09; 'received:dfw.emailsrvr.com': 0.09; 'rows': 0.09; 'rows,': 0.09; 'subject:using': 0.09; 'subject:while': 0.09; 'api': 0.11; 'python': 0.11; 'question.': 0.14; '0.03': 0.16; 'newsgroup.': 0.16; 'subject:API': 0.16; 'subject:core': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'trying': 0.19; 'everyone,': 0.19; 'header:User- Agent:1': 0.23; 'error': 0.23; 'received:emailsrvr.com': 0.24; 'looks': 0.24; 'question': 0.24; "i've": 0.25; 'mention': 0.26; 'received:(smtp server)': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'subject:) ': 0.29; 'lines': 0.31; 'fault': 0.31; 'file:': 0.31; 'gary': 0.31; 'reduced': 0.31; 'time:': 0.31; 'file': 0.32; 'this.': 0.32; 'figure': 0.32; 'run': 0.32; 'problem': 0.35; 'subject: (': 0.35; 'test': 0.35; 'but': 0.35; 'version': 0.36; 'grateful': 0.36; 'thank': 0.38; 'solving': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'solve': 0.60; 'most': 0.60; 'forum': 0.61; 'mentioned': 0.61; 'email addr:gmail.com': 0.63; 'completion': 0.78; '180': 0.84; 'sec.': 0.84 X-Virus-Scanned: OK Date: Sun, 01 Jun 2014 12:44:58 -0700 From: Gary Herron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Segmentation fault (core dumped) while using Cplex Python API References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 61 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401652314 news.xs4all.nl 2850 [2001:888:2000:d::a6]:60888 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72382 On 06/01/2014 12:28 PM, varun7rs@gmail.com wrote: > 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. > > Thank You > > > You might be better off finding a CPLEX forum to ask this question. Nothing in this question looks like Python, (except I see you do run a Python script), the segmentation fault is most likely in CPLEX not in Python, and I've never seen CPLEX mention mentioned in this Python newsgroup. None of which means you won't get an answer here, but I think a CPLEX specific forum would be a better bet. Gary Herron