Just for clarification. Once I run the shell script, the Optimizer
asks me to enter a problem name. I hit enter to and 'exit' . On
exiting XPRESS, the rest of the script tries to execute in Linux and
since Linux does not know what readprob, minim are, etc, I get an
error.
Thanks again,
J
On May 12, 7:26 pm, Jordan <dinakar.g...@gmail.com> wrote:
> Hello,
> I am using XPRESS optimizer on Linux. I am not Linux savvy but I want
> to run a shell script that runs a bunch of .LP format files. I wrote a
> sample shell script to run one file as follows:
> optimizer
> test
> readprob test.lp
> minim
> global
> writeprtsol
> When I run the shell script, the Optimizer is asking me for a problem
> name which, I supplied in line#2 of the script.
> Please help. Also I want to learn how to write the the console log to
> a file instead of the console. Any help is appreciated.
> Thanks,
> J