Originally posted by: guvenc
Hello;
Thanks for help and advises in advance.
I have problem about solving models, coded in OPL, with many different instances of the problem while getting output file for each instance.
I have 3 different mathematical modelling aproach to same problem. Two models are using CP solver and the other uses CPLEX and after solving a model for once, I get a notpad file to show results and additional calculations. I have lots of problem instance to experiment and until now while designing the math models I always solved one instance or two.
I studied multiprod example but it was not enough.In my problem the problem instances are given in seperate text files.(Approx 1000 files)(I normally convert some of them to excel file to connect easily with OPL while designing) My question is how can I feed the models with seperate data files(preferably with notepad)and get seperate output files (notepad or excell...) for each instance of the problem.
I also searched OPL API with C# however i dont really know C# or another language that deep. Is there a way to solution this problem only using OPL?? How will I get different notepad files from opl for each solve?How can I feed the model with notepad in a loop? OR should I try to use C# OPL connection.
Thanks again...
#CPLEXOptimizers#DecisionOptimization