Problem with Solver, integer constraint gets ignored

I'm stuck on this exercise, I need to look for the smallest possible cost for hauling 50.000 pallets using different types of trucks, each truck has a different type of capacity and there are only so many trucks available. My changing variables are the amounts of trucks for each type
In my constraints I set that the amount of a truck can only be an integer but it always returns decimal numbers

https://preview.redd.it/u74ap3kdkz4d1.png?width=1577&format=png&auto=webp&s=e2d775d1948b3c5f6c229bd1b47814bc81646fd8