I am running CPLEX with the option of NODE_FILE_IND=3 and the WORKDIR established as ".". In my machine I have an environmental variable TMP for a folder that I can access.

However, when running CPLEX, and after it crashes, I cannot locate node files (cpx), nowhere. May someone guide me on this?

My best regards, Diogo André Alagador

asked 04 Apr '13, 07:11

Diogo74's gravatar image

accept rate: 0%

WORKDIR="." (the default value) should write the node file to the "current" directory, not to TMP (unless you happen to be running your program from TMP). The other thing to remember is that nothing is written to the disk until the tree exceeds the tree memory limit, so if the program crashes before that limit is reached, you won't have a node file.


answered 04 Apr '13, 18:20

Paul%20Rubin's gravatar image

Paul Rubin ♦♦
accept rate: 19%

Thnaks Paul,

Yes! You are right about that. But I am sure that the memory size limit to start writing node files is reached. I have also tested with a very small value for this (CPX_PARAM_WORKMEM) and still I could not locate node files.

Cheers, Diogo André Alagador

(05 Apr '13, 03:49) Diogo74

Try setting WORKDIR to the TMP directory (using the full path, not the environment variable) and see if the node file shows up there. If CPLEX runs into a problem with write permissions, I'm not sure what happens.

(06 Apr '13, 09:49) Paul Rubin ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 04 Apr '13, 07:11

Seen: 3,452 times

Last updated: 06 Apr '13, 09:49

OR-Exchange! Your site for questions, answers, and announcements about operations research.