Decision Optimization

 View Only
  • 1.  Error 1422: could not open '%s' for writing

    Posted Sun June 28, 2020 05:36 AM
    I ran into out of memory errors, I read the forum and I changed the 'node file storage switch' to write the node file on disk compressed (option =3). Subsequently, i encountered this error 1422. I have fulll admin rights to write and have sufficient disk space.

    In the .ops file under Languang>Run, export format is currently 'No export' , is this the solution to the problem? which should i select/ how do i resolve the problem (how do i specify the directory for this node file?)? I run all my opl projects from the same folder.

    ------------------------------
    marvin cheung
    ------------------------------

    #DecisionOptimization


  • 2.  RE: Error 1422: could not open '%s' for writing

    Posted Sun June 28, 2020 12:26 PM
    Hi,

    just to be sure can you change WorkDir

    https://www.ibm.com/support/knowledgecenter/en/SSSA5P_12.10.0/ilog.odms.cplex.help/CPLEX/Parameters/topics/WorkDir.html

    to a path where you know you for sure have all write access ?

    regards

    ------------------------------
    ALEX FLEISCHER
    ------------------------------



  • 3.  RE: Error 1422: could not open '%s' for writing

    Posted Wed July 01, 2020 03:55 AM
    Ok, thanks Alex and Daniel, I'll try.

    ------------------------------
    marvin cheung
    ------------------------------



  • 4.  RE: Error 1422: could not open '%s' for writing

    Posted Mon June 29, 2020 12:28 AM
    By default CPLEX will create the temporary files in the current working directory. More precisely, it will create temporary directories the name of which starts with 'cpx'. Do you see any such directories being created in your current working directory while CPLEX runs? (note that they wil be deleted once CPLEX terminates).

    ------------------------------
    Daniel Junglas
    ------------------------------