Closed jonadsimon closed 2 years ago
Wrote additional code to (1) parameterize the existing MiniZinc code, (2) generate MiniZinc data file from within Python, and (3) call the parameterized code with the generated data file from within Python using subprocess.Popen
as per here
This can be done in two ways:
(1) keep the program static but pass in all of the relevant parameters through the command line (2) generate a new program and run it within the command line
Command line can be called from within python using
os.system
orsubprocess.run
(more info)