It is possible to publish a SID that meets the twin engine FAR 25 minimum S/E performance gradients over an assumed range of conditions
At a mountain-area airport the optimal design will maximize payload. That optimal design might not be constant across the flight; in fact, often isn't.