A method is proposed that allows the computation of the continuous adjoint of a thermoacoustic network model based on the discretized direct equations. This hybrid approach exploits the self-adjoint character of the duct element, which allows all jump conditions to be derived from the direct scattering matrix. In this way, the need to derive the adjoint equations for every element of the network model is eliminated. This methodology combines the advantages of the discrete and continuous adjoint, as the accuracy of the continuous adjoint is achieved while maintaining the flexibility of the discrete adjoint. It is demonstrated how the obtained adjoint system may be utilized to optimize a thermoacoustic configuration by determining the optimal damper setting for an annular combustor.