Application of evolutionary algorithm and graph-based method of stress calculation to truss optimization