Enerflex Interview Question

How would you go about optimizing a refrig loop.