Simple and General Methods for Fixed-Priority Schedulability in Optimization Problems