Hello,
generally speaking, it is easier to answer if the question includes a piece of code to reproduce the problem.
Anyway:
Maybe you are not using solve(), but are iterating on the solutions of the model (search_next()) ?
Maybe your model contains a search limit (time limit, solution limit, ...) ?
Maybe your model contains a large optimality tolerance?