E-MD0001 — Conflicting placeholder parameters

Error Type

Modeling Error

Phase

building the model (declaring a placeholder)

Python exception

ValueError

Message

Conflicting placeholder parameters for `{name}`.

Cannot specify both dict-related parameters ({...}) and array-related parameters ({...}).

Cause

A Placeholder was declared with both dict-related parameters and array-related parameters (such as shape/ndim), but a placeholder is either a dict or an array, never both.

Fix

Decide whether the placeholder holds array data or dict data and keep only the corresponding parameters.