I think the dualities in quantum field theory are different from the dualities in optimization but maybe some category theorist can correct me if Iām wrong
I like linear logic a lot. Not saying it solves everything but it's easier to understand and you don't really give up much of what category theory has.