Adding a linear transaction cost criterion