-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Labels
DefectBug or undesirable behaviourBug or undesirable behaviourMajorBig change in the code or important change in behaviourBig change in the code or important change in behaviour
Milestone
Description
currently the constraints/optimizer treats the constraint as an assignment rather than relational operator. The result is that for 3 models the following constraint set up
M1.parameter1=M2.paramter1
M1.parameter1=M3.paramter1
will result in ONLY the second constraint being implemented (the second assignment to M1.parameter1 overwrites the fist assignment). However if the constraints are set up as follows:
M2.parameter1=M1.parameter1
M3.parameter1=M1.parameter1
results in the expected behavior. This is both confusing to users and seems logically incorrect for a constraint which should always, I think, be a relational object.
Migrated from http://trac.sasview.org/ticket/487
{
"status": "new",
"changetime": "2018-07-05T09:33:19",
"_ts": "2018-07-05 09:33:19.073889+00:00",
"description": "currently the constraints/optimizer treats the constraint as an assignment rather than relational operator. The result is that for 3 models the following constraint set up\n{{{\nM1.parameter1=M2.paramter1\nM1.parameter1=M3.paramter1\n}}}\nwill result in ONLY the second constraint being implemented (the second assignment to M1.parameter1 overwrites the fist assignment). However if the constraints are set up as follows:\n{{{\nM2.parameter1=M1.parameter1\nM3.parameter1=M1.parameter1\n}}}\nresults in the expected behavior. This is both confusing to users and seems logically incorrect for a constraint which should always, I think, be a relational object.",
"reporter": "butler",
"cc": "",
"resolution": "",
"workpackage": "Beta Approximation Project",
"time": "2015-11-26T17:56:12",
"component": "SasView",
"summary": "Constraints should be relational operator not assignment operators",
"priority": "major",
"keywords": "",
"milestone": "SasView Next Release +1",
"owner": "",
"type": "defect"
}Metadata
Metadata
Assignees
Labels
DefectBug or undesirable behaviourBug or undesirable behaviourMajorBig change in the code or important change in behaviourBig change in the code or important change in behaviour