E-PE0008 — Conflicting axes fields

Error Type

Protobuf Error

Phase

loading a model via protobuf (from_protobuf)

Python exception

jijmodeling.ProtobufError

Message

Conflicting axes fields: both `axis_ids` and `axes` are specified.

Possible fix: specify `axes` only (`axis_ids` is deprecated).

Cause

The serialized model specifies both the deprecated axis_ids field and the current axes field for the same message. JijModeling accepts only one of them, and axis_ids is deprecated in favor of axes.

Fix

Re-export the model with a current JijModeling version, which writes only the axes field. If the bytes were produced by external tooling, emit axes only.