MO-Ant

../../_images/mo-ant.gif

Action Space

Box(-1.0, 1.0, (8,), float32)

Observation Shape

(27,)

Observation High

inf

Observation Low

-inf

Reward Shape

(3,)

Reward High

[inf inf inf]

Reward Low

[-inf -inf -inf]

Import

mo_gymnasium.make("mo-ant-v4")

Description

Multi-objective version of the AntEnv environment.

See Gymnasium’s env for more information.

The original Gymnasium’s ‘Ant-v4’ is recovered by the following linear scalarization:

env = mo_gym.make(‘mo-ant-v4’, cost_objective=False) LinearReward(env, weight=np.array([1.0, 0.0]))

Reward Space

The reward is 2- or 3-dimensional:

  • 0: x-velocity

  • 1: y-velocity

  • 2: Control cost of the action If the cost_objective flag is set to False, the reward is 2-dimensional, and the cost is added to other objectives. A healthy reward is added to all objectives.