Hi Johan,
I am coding the logic for a big-M relaxation of the attached problem I wrote. Basically I have switched dynamics of an electric vehicle (EV) traversing a connected graph. The total distance traveled and battery energy remaining are the dynamics. These have time-invariant box constraints. The logic for switching these two are the same. The EV can traverse any edge whose weight is greater than zero ( relaxed to >= 1). A binary selection variable and the edge matrix form the foundation for what edges an EV can take at a given node. The current test objective function is to maximize the distance traveled in the time horizon.
The problem is feasible when the edge selection ("con") is not included. When it is included it becomes infeasible. I have checked the edge selection logic and it seems tight but obviously it is not. The error could also be in one of the other constraints that divides the feasible space in such a way that it only appears when intersected with the "con" hyperplane.
Any recommendations on how to visualize this in a useful way? Plotting with binary variables seems tricky. Using polyhedron and projection seem to have a pretty large computation time in this problem. The current plot of constraints does not have any physical intuition to me.
As always, I appreciate your help!
Sean