The invention relates to the field of 
spacecraft trajectory tracks, and provides a tool kit and method for optimizing a high-precision self-
adaptation and modular 
spacecraft trajectory multi-constrained track. By means of the tool kit and method, the problems that in a traditional method, unfixed 
terminal time is hard to solve, 
boundary values of two points can not be solved due to low precision, initial value sensitiveness is low and the scale of nonlinearity is large are solved. The tool kit comprises a 
simulation platform main interface, multiple optimization 
algorithm selections, performance optimization indexes, multiple constraint conditions and trajectory 
simulation. The method comprises the following steps of (1) registering curve plug-in, (2) compiling exe files and then getting access to the 
simulation platform main interface, (3) allocating an 
airplane mode and setting parameters, (4) optimizing variable initial values, 
performance index parameters and multiple constraint parameters of multiple optimization algorithms respectively, (5) carrying out simulation setting in a trajectory simulation sub module, (6) 
processing an optimization and simulation result of the 
spacecraft trajectory multi-constrained track. The tool kit and method are applied to the field of the spacecraft trajectory multi-constrained tracks.