Here is the problem:
“k” is a parameter in optimization problem A, for a specific “k1”, we can get the optimum solution “S1” for problem “A”. Now I hope the solution “S” is closer to a specific solution “S*”, so I will need to change the “k” to minimize |S-S*|. How can I formulate this double-layer problem in AIMMS?