Originally posted by: ushham
Hi Again Alex,
I am sorry I have another question!
I have been trying to create a model that takes a graph and draws the edges in horizontal, vertical or diagonal directions, while minimizing the
acuteness of bends between edges and how much the graph shape is changed by the model.
In the constraint section of the model I have gotten the part which directs the edges to the required directions to work, but the bend constraint is proving to be difficult.
I think my problem may stem from defining a decision variable, called delta_bend (change in bend), from the decision variable dir, that is defined in the forall above.
I would be very grateful if it would be possible for you to have a look and let me know how I could improve this.
The model runs but non of my dvars return any solutions what so ever.
Thanks again.
#DecisionOptimization#OPLusingCPLEXOptimizer