Text this: Modeling interactions between institutions of housing markets based on nonlinear functions of costs