When a firm is producing at the lowest possible cost and price, given current technology and input prices.