Improved strategy for optimal control of Civil Engineering structures