this research presents a mathematical model for the optimal allocation of oil and gas to different sectors in iran using operations research techniques. sectors are residential, commercial, transportation, industries, agriculture, exports, injection to oil reservoirs and power plants as a secondary energy producer. optimal allocation of energy resources to end-users from 2011 to 2021 has been d...