The High-Energy Beam Transport system of GSI Campus is a complex system of interconnected beamlines between SIS18 synchrotron and multiple experimental stations and storage rings. This system is designed to be flexible and each experimental station can be reached by several beam paths. The quadrupole settings must fulfill constraints due to the beamline acceptance, limitations of the installed magnets and experimental requirements. The number of degrees of freedom is large and leaves operators with a vast number of possible optics configurations. The choice of a particular configuration is often a matter of compromises, very specific requirements, operational experience and personal style. Once a satisfying configuration is found, the space of possible solutions is usually not explored any further. Here the Monte Carlo method is used to probe the space of all possible beamline optics configurations. The focus is on a particular section, the HADES beamline, because this is one of the most demanding lines due to high beam intensities required by the experiment. The presented analysis gives an overview of the possible settings, insight into beamline potential and flexibility and supports the choice of an optimal operational setting.