Development and Optimization of Parallel Algorithms in Beowulf Clusters for Complex Large-Scale Problems