A precooling operation/preheating operation control apparatus comprising: an air conditioner configured to perform heat exchange between air in a target space for precooling or preheating and a heat medium; a light blocking apparatus configured to block light incident on the target space from an outside of the building; a first control unit configured to control the air conditioner; and a second control unit configured to control the light blocking apparatus; characterized in that the control apparatus is configured to perform absence control, the precooling operation / preheating operation being respectively a cooling operation / heating operation performed in the absence control, and by further comprising an operation detail determining unit configured to determine by machine learning, on the basis of a set temperature of the target space at a designated time and a quantity related to an outside air temperature, operation details of the air conditioner and operation details of the light blocking apparatus during a precooling operation or preheating operation, wherein the machine learning is reinforcement learning, wherein the operation detail determining unit is further configured to determine, in the reinforcement learning, the operation details of the air conditioner and the operation details of the light blocking apparatus, on the basis of a value function based on a state variable and a reward, wherein the state variable includes an outside air temperature, and wherein the reward is determined on the basis of an error between a room temperature and the set temperature, and an electric energy required for the precooling operation or preheating operation. an air conditioner configured to perform heat exchange between air in a target space for precooling or preheating and a heat medium; a light blocking apparatus configured to block light incident on the target space from an outside of the building; a first control unit configured to control the air conditioner; and a second control unit configured to control the light blocking apparatus; characterized in that the control apparatus is configured to perform absence control, the precooling operation / preheating operation being respectively a cooling operation / heating operation performed in the absence control, and by further comprising an operation detail determining unit configured to determine by machine learning, on the basis of a set temperature of the target space at a designated time and a quantity related to an outside air temperature, operation details of the air conditioner and operation details of the light blocking apparatus during a precooling operation or preheating operation, wherein the machine learning is reinforcement learning, wherein the operation detail determining unit is further configured to determine, in the reinforcement learning, the operation details of the air conditioner and the operation details of the light blocking apparatus, on the basis of a value function based on a state variable and a reward, wherein the state variable includes an outside air temperature, and wherein the reward is determined on the basis of an error between a room temperature and the set temperature, and an electric energy required for the precooling operation or preheating operation. an error between a room temperature and the set temperature, and an electric energy required for the precooling operation or preheating operation.