Regarding CPLEX error

63 views
Skip to first unread message

SANKAR MAHESH R

unread,
Jul 14, 2022, 1:11:56 PM7/14/22
to CellNetAnalyzer User Forum
Hi.

I'm using CNA's function as an API to compute a pathway's MDF as per ASTHERISK.
When I run the program, I get a Java exception.
 
Java exception occurred:
ilog.cplex.CpxException: CPLEX Error  1426: Low-level file I/O error.


    at ilog.cplex.CplexI.CALL(CplexI.java:5204)

    at ilog.cplex.CplexI.init(CplexI.java:7283)

    at ilog.cplex.CplexI.<init>(CplexI.java:866)

    at ilog.cplex.IloCplex.<init>(IloCplex.java:12962)

    at ilog.cplex.IloCplex.<init>(IloCplex.java:12991)

    at IloCplexMIPmat.<init>(IloCplexMIPmat.java:29)


Error in max_min_driving_force_pathway_ratio_range (line 194)
  obj= CplexJava();

Error in CNAcomputeOptMDFpathway_ratio_range (line 129)
[mdf, v, conc, dum1, dum2, dfs]= max_min_driving_force_pathway_ratio_range(maximalMilpRunTime, stoichMat,...

Error in astherisc (line 385)
        [optmdfWithoutCommunity, vWithoutCommunity, ~, ~] =
        CNAcomputeOptMDFpathway_ratio_range(maximalMilpRunTime, cnapWithoutCommunity,...

Error in generateToyModelReport (line 49)
finalReport = astherisc(targetSubstrateReaction, targetMaxSubstrateUptake,...
 
>> 

I tried looking up this on the internet but could not further proceed since IBM's manual CPXERR_FILE_IO - IBM Documentation did not have clear ways of troubleshooting.

It will be very helpful if some one can help me overcome this error.

axel

unread,
Jul 14, 2022, 2:35:06 PM7/14/22
to CellNetAnalyzer User Forum
Hi,

have you checked that you have write permission and that there is disk space available?
Does this error already occur when you execute
obj= CplexJava();
in the Matlab console?

-Axel

Sankar Mahesh

unread,
Jul 15, 2022, 12:48:26 AM7/15/22
to axel, CellNetAnalyzer User Forum
When I execute obj = CplexJava(), I still see the same error in the MATLAB console.

>> obj=CplexJava()
Warning: The following error was caught while executing 'CplexJava' class destructor:
Dot indexing is not supported for variables of this type.

Error in CplexJava/delete (line 191)
      obj.cpx.end(); %A prevents memory leak

Error in CplexJava (line 38)
      global cnan;
> In CplexJava (line 38)
Error using CplexJava (line 42)
Java exception occurred:
ilog.cplex.CpxException: CPLEX Error  1426: Low-level file I/O error.


      at ilog.cplex.CplexI.CALL(CplexI.java:5204)

      at ilog.cplex.CplexI.init(CplexI.java:7283)

      at ilog.cplex.CplexI.<init>(CplexI.java:866)

      at ilog.cplex.IloCplex.<init>(IloCplex.java:12962)

      at ilog.cplex.IloCplex.<init>(IloCplex.java:12991)

      at IloCplexMIPmat.<init>(IloCplexMIPmat.java:29)

 

Also, it will be useful to know the directory name for which I should check write access.
Regards,
Sankar Mahesh
MBU, IISc

From: cellnetanalyz...@googlegroups.com <cellnetanalyz...@googlegroups.com> on behalf of axel <axe...@gmx.de>
Sent: Friday, July 15, 2022 12:05 AM
To: CellNetAnalyzer User Forum <cellnetanalyz...@googlegroups.com>
Subject: Re: Regarding CPLEX error
 
External Email

--
You received this message because you are subscribed to a topic in the Google Groups "CellNetAnalyzer User Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cellnetanalyzer-user-forum/swOm-N7q4os/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cellnetanalyzer-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cellnetanalyzer-user-forum/b1ff2879-d134-4656-8293-7b0ac1e44248n%40googlegroups.com.

axel

unread,
Jul 15, 2022, 3:33:21 AM7/15/22
to CellNetAnalyzer User Forum
Hi,

does calling "javaObject('IloCplexMIPmat')" on the Matlab console work?
Is there a field "cnan.cplex_remote" and what are its contents? Remove it with "cnan = rmfield(cnan, 'cplex_remote')" and try "CplexJava()" again.

-Axel

Sankar Mahesh

unread,
Jul 16, 2022, 8:00:36 AM7/16/22
to axel, CellNetAnalyzer User Forum
Hi.
Removing the field in cnan named cnan.remote with the command shared above the error could be resolved.
Thanks, Axel.

Regards,
Sankar Mahesh
MBU, IISc
Sent: Friday, July 15, 2022 1:03 PM
 
External Email

You received this message because you are subscribed to the Google Groups "CellNetAnalyzer User Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cellnetanalyzer-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cellnetanalyzer-user-forum/f4454188-3713-467f-8047-5f67753452f4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages