The optimal portfolio problem with coherent risk measure constraints