Optimization of Safflower (Carthamus tinctorius L.) Production Technology under Resource Constraints