Logic for constraint based on sampling #259
Unanswered
Atulsingh92
asked this question in
Q&A
Replies: 1 comment
-
If I understand the definition of your problem, you should probably add a categorical variable defining what material is used. Then, based on its value set your g6 constraint. So the last code snippet makes in fact sense to me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a constraint for velocity, which was a crude definition.
g6 = vt - 3.2
Now, vt is calculated from sampling between 3 materials, mat1 mat2 and mat 3, for which, ideally the velocity constraint is different, given as follows.
But as my sampling will contain all of the 3 materials, I am unsure what the constraint should be put as, in order to get the correct design space. For my former definition of
g6=vt-3.2
, I could have a material 2, and still be over 2.3 , but not know about it, as my upper limit is 3.2So is there a way I could do this?
Or
Is the logic defined the way I described the problem, or there is some other way to do it?
Beta Was this translation helpful? Give feedback.
All reactions