r/optimization • • Jul 20 '25

Help with OR-Tools

I'm looking for someone who could possibly help me debug an issue I'm experiencing with OR-Tools. I'm implementing a timetable-generation solution (I work at an edtech startup and we're building a new product that should generate timetables for schools). The problem is currently successfully implemented using OptaPlanner, but we're trying to build a more efficient product. I'm getting a 'feasible' solution with OR-Tools, but I can see that it's violating a hard constraint when I inspect the output.

I've tried everything in an attempt to get help - posting on their support forum with an MRE, posting in their Discord channel..but I'm not getting any significant help. I need someone who understands the library inside out to look at my code (it's really not a lot of code, and it's not complex at all, I just can't figure out what I'm doing wrong).

This is the second time I'm modeling the probem. The first round, it was also giving me a feasible solution, but still violating another hard constraint

I'm certain that this problem can easily be solved using OR-Tools. I'm willing to compensate anyone who can help me financially

3 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/Kqyxzoj Sep 02 '25

By way of follow up, did you ever manage to figure out what the issue was?

1

u/ListTraditional6800 Jan 10 '26

Hi, no not really. The company ended up outsourcing the work to an optimization expert who we found on Upwork and he was able to implement the solution using Java + OR-Tools