Originally posted by: gemiel
Hi
The "vellino" example shows a way to declare modeling objects in a separate .mod file.
I would like to do the same for functions in a main() block : my program uses a few functions to update datasets, relax unfeasible bounds, print messages, test solution quality and so on. The function declaration part in my main() block is quite long and it would be much easier reading the program if I could declare all those functions in a separate file.
I tried to do as for modeling objects by declaring them in a .mod file, but it failed. Apparently functions need to be declared within a main() block ?
Thanks
#DecisionOptimization#OPLusingCPLEXOptimizer