SampleIncompatibleVtypeError ¶
Bases: SolutionTranslationError
A sample's assignments have incompatible vtypes.
Raised when a sample's assignments have variable types incompatible with the model's variable types.
When an external solution format is translated to an AqSolution, the variable assignments are tried to be converted into the model's corresponding variable type. This may fail when the assignment types are incompatible.
Note that conversions with precision loss or truncation are admitted, but conversions of variables outside the permitted range will fail.