The optimization of gas pipeline networks plays a pivotal role in ensuring the efficient and economically viable transportation of natural gas. In this research, we have developed a comprehensive mathematical model capable of analyzing diverse network configurations, encompassing both linear and branched topologies. Our scientific investigation aims to explore the optimization potential of gas pipeline networks, employing a sophisticated and systematic approach to enhance network design and operation. The overarching objective is to achieve maximum efficiency and reliability in gas delivery to customers. The optimization process focuses on minimizing power requirements, maximizing gas flow rate, minimizing the fuel consumption, and maximizing line pack to ensure the optimal utilization of the pipeline infrastructure. To accomplish these objectives, our study employs advanced mathematical models that accurately depict network behavior, cutting-edge simulation tools to explore various operational scenarios, and state-of-the-art optimization algorithms to identify the most favorable network configuration and operating conditions. To facilitate this optimization process, we have incorporated the VIKOR (VIekriterijumsko KOmpromisno Rangiranje) method, a potent multi-criteria decision-making technique. Through the application of this approach to two case studies, we have demonstrated its effectiveness in identifying optimal network configurations. Furthermore, we have conducted an analysis to determine the total cost and fuel consumption associated with different network configurations, offering valuable insights for decision-making purposes. The results of our study underscore the superiority of our approach in identifying more economical networks compared to existing methods. By embracing the proposed approach, gas transportation networks can be optimized to achieve superior cost-efficiency and reduced fuel consumption.