A list with members type containing the type of the instance,
valid -- boolean flag indicating whether the instance is valid or not,
errors -- a character vector containing the error messages
A list with two fields: the type of the instance with which it will
be treated by solve_mwcsp function and boolean showing validness of the instance.