Describir: Complementarity-based nonlinear programming techniques for optimal mixing in gas networks