Originally posted by: finnm
I started using Cplex solver with MATLAB and i was wondering if there is a way to handle problems with multidimensional decisionvariables. As an exampl: If I try to solve a TSP while using Cplex for MATLAB the solution should be 2 dimensional, yet i cant find a example of Cplex for MATLAB with 2 dimensional decisionvariables. In the documenation it says that the objective function ('f') has to be a vector, which would indicate that it isnt possible, yet it is not proofen.
If it is not possible to handle it directly an alternaitve would be that there is already some sort of function, which transforms your multidimensional data from MATLAB to a vector and the reconstructs it after it is solved. So my questions are:
Does anyone know if it is possible to hand a problem with multidimensional decionvariables direclty from MATLAB to Cplex? And if there is no direct way, is there already a function which can transfrom the data?
Thank you
#CPLEXOptimizers#DecisionOptimization