An information processing apparatus comprising:
- an acquisition unit that acquires information of a workpiece;
- a switching unit that performs switching between a plurality of trained models learned using learning data representing a combination of an operation of a hand of a skilled worker during work and an operation of a machine tool based on the information of the workpiece acquired by the acquisition unit;
- and
- a control unit that controls holding and an operation of the workpiece by a gripping portion included in a robot based on an operation parameter obtained by inputting a detection result of a sensor unit included in the robot into the learning model switched by the switching unit and executing arithmetic processing of the learning model.