In my experience every piggy is different and it is just a matter of trial and error sometimes.
When we had Lucy (who was prone to bloat) we deliberately kept her diet as simple as possible.
Literally lettuce, cucumber, pepper, fennel and coriander with the occasional carrot or apple slice.