The aim of this paper is to develop an opti-mization algorithm to control the temperature in the occupation zone, using reduced-order ap-proaches based on POD. Two methods are em-ployed here: an adjoint-equations method and a based response surface method. These are tested on the cases of a lid-driven cavity heated by the left and a 3D ventilated cavity, similar to a room.