We propose a mixed-integer programming (MIP) formulation for a problem of optimal dimensioning of equipment of the fiber-to-the-home optical access network (FTTH-OAN). The optimization aims at minimizing capital expenditures (CAPEX) related to deployment of the FTTH-OAN, i.e., the cost of active equipment (OLTs and OLT cards), cost of passive equipment (optical splitters, cables, fibers, fibers terminations, splices, closures), cost of site preparations (building, cabinets), and cost of necessary labor (duct preparation and rollout of cables). The formulation has been implemented and validated. General results based on selected real-world scale numerical experiments are presented.