Within my data in an optimization problem, I have coordinates of centroids that depend on two parameters (cx [j, k], cy [j, k]). In the data file the initial cx [j, k], cy [j, k] were generated randomly. I need in an iterative process in a script, to update the data cx, cy using the results of some variables of the model in the previous iteration.
Using Gurobi with AMPL on the Neos Server, there are errors using let cx: =, let cy: = ... with several variants
Can someone help me solve the problem?
Maria G.