An engine control apparatus that has a multicore processor in which a plurality of cores are arranged in a latticed manner, with the plurality of the cores arranged on a two-dimensional orthogonal coordinate system having axes representing a first operating condition and a second operating condition respectively, wherein: the engine control apparatus is configured to calculate a control target value of one actuator or control target values of a plurality of actuators through use of the multicore processor, a plurality of lattice points, that are arranged on a two-dimensional orthogonal coordinate system having axes representing the first operating condition and the second operating condition respectively, are associated with at least one or some of the plurality of the cores respectively on one-on-one level on a same line as on the two-dimensional orthogonal coordinate system, and a calculation program for calculating an optimal control value of the one actuator at the associated lattice points or calculation programs for calculating optimal control values of the plurality of the actuators at the associated lattice points are allocated to at least one or some of the plurality of the cores respectively, a plurality of operation areas are defined on the two-dimensional orthogonal coordinate system, each operation area defined by a plurality of the lattice points that are arranged thereon, each of the cores with which the lattice points are associated respectively is programmed, in a case where an operation area on the two-dimensional orthogonal coordinate system to which a current operating point belongs is an area that is defined by the lattice point associated with each of the cores itself, to transmit to an interpolation calculation core an optimal control value at the relevant lattice point that is calculated by each of the cores itself, the interpolation calculation core is programmed to perform an interpolation calculation of an optimal control value at the current operating point using optimal control values at all the lattice points that define the operation area, the multicore processor outputs the optimal control value at the current operating point, which is obtained through the interpolation calculation, as the control target value, and each of the cores with which the lattice points are associated respectively is programmed, in a case where an attainable operation area that can be attained within a calculation time of optimal control values overlaps with the operation area that is defined by the lattice points associated with each of the cores itself, to calculate optimal control values at the relevant lattice points according to the calculation program, and in a case where the attainable operation area does not overlap with the operation area that is defined by the lattice points associated with each of the cores itself, to stop calculating optimal control values at the relevant lattice points. the engine control apparatus is configured to calculate a control target value of one actuator or control target values of a plurality of actuators through use of the multicore processor, a plurality of lattice points, that are arranged on a two-dimensional orthogonal coordinate system having axes representing the first operating condition and the second operating condition respectively, are associated with at least one or some of the plurality of the cores respectively on one-on-one level on a same line as on the two-dimensional orthogonal coordinate system, and a calculation program for calculating an optimal control value of the one actuator at the associated lattice points or calculation programs for calculating optimal control values of the plurality of the actuators at the associated lattice points are allocated to at least one or some of the plurality of the cores respectively, a plurality of operation areas are defined on the two-dimensional orthogonal coordinate system, each operation area defined by a plurality of the lattice points that are arranged thereon, each of the cores with which the lattice points are associated respectively is programmed, in a case where an operation area on the two-dimensional orthogonal coordinate system to which a current operating point belongs is an area that is defined by the lattice point associated with each of the cores itself, to transmit to an interpolation calculation core an optimal control value at the relevant lattice point that is calculated by each of the cores itself, the interpolation calculation core is programmed to perform an interpolation calculation of an optimal control value at the current operating point using optimal control values at all the lattice points that define the operation area, the multicore processor outputs the optimal control value at the current operating point, which is obtained through the interpolation calculation, as the control target value, and each of the cores with which the lattice points are associated respectively is programmed, in a case where an attainable operation area that can be attained within a calculation time of optimal control values overlaps with the operation area that is defined by the lattice points associated with each of the cores itself, to calculate optimal control values at the relevant lattice points according to the calculation program, and in a case where the attainable operation area does not overlap with the operation area that is defined by the lattice points associated with each of the cores itself, to stop calculating optimal control values at the relevant lattice points.