You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you serialize an Optimization Problem object the name is not also serialized. This would be useful for customers who want to save a problem they've created locally and reuse it later without having to specify the problem name again.
Still, in case we are deserializing a problem that does not contain the name of the problem, the user should be able to pass a problem name again or, if not passed, we should have a default problem name set.
Short descriptions
When you serialize an Optimization
Problem
object the name is not also serialized. This would be useful for customers who want to save a problem they've created locally and reuse it later without having to specify the problem name again.Repro steps
Observed behavior
The value of
serialized_problem
does not contain the name of the problem ("myProblem" in this case):That forces the user to specify the problem name again when deserializing the problem:
Expected behavior
When serializing the problem, the name should also be serialized, like the example below:
And then, the user does not need to specify the problem name again when deserializing the problem:
Backward compatibility
Still, in case we are deserializing a problem that does not contain the name of the problem, the user should be able to pass a problem name again or, if not passed, we should have a default problem name set.
The text was updated successfully, but these errors were encountered: