This is an exercise from CLRS 24.4-12,(not homework, I just try to solve the all the exercise in CLRS)
Give an efficient algorithm to solve a system Ax ≤ b of difference constraints when all of the elements of b are real-valued and a specified subset of some, but not necessarily all, of the unknowns xi must be integers.
If all the xi are integers, we can let b = floor(b) and using Bellman-Ford algorithm finding the shortest path to solve the problem in a constraint graph, but how about some of xi are integers and some not? It is similar to integer programming problem, but integer programming is NP-hard, This question has less constraints, is there an more efficient algorithm?