I want to run the MOD file from Python, which was written in CPLEX with OPL before. Information about this is discussed in some links, for example, explanations about the zootupleset.mod and doopl package are available at the following links:
How to run a .mod file (CPLEX) using python?
https://pypi.org/project/doopl/
https://optmsr.com/very-simple-opl-call-opl-from-python/
But what I want to ask that is it possible to define parameters in python and send them in CPLEX instead of data file? What can not be done for this? In this case, how should parameters be defined in mod and Python files? Is it necessary to define an initial in the mod file and then receive it from Python?