Shape variation induced by mismachining tolerance, humidity and temperature of the working environment, material wear and aging, and unknown external load disturbances have a relatively large influence on the dynamic shape of a mechanical structure. When integrating piezoelectric elements into the main mechanical structure, active control of the structural shape is realized by utilizing the inverse piezoelectric effect. This paper presents a mathematical model regarding piezoelectric intelligent structure shape control. We also applied a genetic algorithm, and given a piezoelectric intelligent cantilever plate with both ends affected by a certain load, optimal shape control results of piezoelectric materials were analyzed from different perspectives (precision reference or cost reference). The mathematical model and results indicate that, by optimizing a certain number of piezoelectric actuators, high-precision active shape control can be realized.