The method involves optimizing a sequence of cooking cooking products based on a parameter e.g. cooking product, so that the cooking process is optimized with regard to one of the energy consumed by a cooking appliance, the required time, and weight loss of the cooking product. A loading request in dependence of the entered parameter, and an error message in dependence of the entered parameter, are displayed with the output device. A multiple number of cooking programs are run during the cooking process. An independent claim is also included for a cooking appliance comprises a control or regulating device, which is in working connection with an input device and an output device for performing a cooking process.