Optimum shape of columns with general conservative end loading