GymRoom can only be used 4 days per week(GymRoom has to be free on 3 afternoons)

English Polish Russian Greek Lithuania Bulgarian

If you specify only the afternoon lessons in the timeoff map, then the constraint will only count days where the classroom is used in the afternoon.

So you can specify for example max 2 on afternoon lesson, this would mean that the classroom is free on 3 afternoons per week.

See also
Reducing the room usage