A learner unit 81 learns a quantity model for a quantity the user is interest in based on data acquired from dynamics and surroundings of a plant which is a control target. A cost function designing unit 82 designs a cost function to be used in the derivation of solutions to optimally control the plant so as to include at least the quantity model as terms.