Originally posted by: AMurshed
Thanks for the reply Daniel.
My problem is that, I would like to solve Incremental scheduling model for different networks where a message goes through a number of networks. Hence, I would like to create model class for each network with its own constraints and inputs with objective function and then call their instances from the main program.
Regarding the return of the functions, (buildModel and output) they are actually void functions where I just wanted to change the variables inside the class and do not want to return something.
I forgot also to mention the destructor which has the (env.end();).
I couldn't create such model, it gave me a number of errors.
Can you please give me an example on using Class which has all CPLEX objects (variables, constraints, objective function).
Thanks in advance.
#DecisionOptimization#MathematicalProgramming-General