Bioregenerative life support system (BLSS) is one of the key technologies that must be solved before founding permanent base in space. The configuration and closure of BLSS largely depends on the astronauts’ diet. Thus, it’s necessary to set up a dietary management system for astronauts. A dietary management software system for BLSS is designed in this work. The nutritional requirements are used as constraints of the optimization process. Constrained nonlinear programming algorithm is used to accomplish the optimization process. The optimization results achieved by this software are compared with the standard nutritional needs. It will provide assistant decision support for BLSS designers.