Infeasible solution for a bus routing optimization python code
I have written the following Python code for bus route optimisation. However, with any input parameters, the result is “Infeasible”. I think my mathematical formulation or code is not completely correct.
I considered minimization of walking distance to bus stations as the objective function. I also moved the bus route cost as a constraint and used linearization to replace the product of Sum(x_ij * sum(y_jk)). Can someone help me to fix the issue?
I have commented on every line, to make it clearer.