If the Secretary of the Navy considers that it is undesirable to administer the mess on any ship or at any station under the quantity allowance prescribed in section 8242 of this title, he may fix the cost of each ration for that mess.