Page 1 of 1

How to change path solver option during execution

Posted: Fri Oct 21, 2022 9:28 pm
by jshengdb
Hi all,

I am currently using path solver to solve a MCP and I need to use set the path.opt /proximal_perturbation SomeScalar/. My question is that I am running an interactive algorithm and each time I need to change 'SomeScalar' equal to a number that calculated during execution time. I am wondering how could I do such things to make this happen?

Best

Re: How to change path solver option during execution

Posted: Sun Oct 23, 2022 4:55 am
by dirkse
Hello,

You can write the options file path.opt during GAMS execution via the put facility:

https://www.gams.com/40/docs/UG_Put.html

-Steve