How to change path solver option during execution

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

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