Algorithms for Variable-Size Optimization (Applications in Space Systems and Renewable Energy)