Open Fa20 opened 1 week ago
Hi @Fa20 , I tried your code from the original comment and got a different error that goes away when you add spacing to the parameter constraints (x1 - 1.5*x2 >= 0.0
). Can you please provide a full repro?
Hi @danielcohenlive 1-which code exactly from original comment do you mean? 2- do you mean that the problem because of the spacing and can be fixed by adding spacing
1-which code exactly from original comment do you mean?
This is the original code I'm referring to
2- do you mean that the problem because of the spacing and can be fixed by adding spacing
When I run that code as is I get
"ValueError: could not convert string to float: 'x1-1.5'"
If I change "x1-1.5*x2 >= 0.0"
to "x1 - 1.5*x2 >= 0.0"
I stop getting that when running the above code.
But I don't know how to get the "Input data is not standardized" you're showing. Could you provide a minimal code repro with any private info redacted so I could help you?
@danielcohenlive Thank you very much.
based on the tutorial "parameter_constraints should be a list of strings of form "p1 >= p2" or "p1 + p2 <= some_bound"
I'm asking becuase I opend new issue related this point also that the x1 - 1.5*x2 >= 0.0 using service API since in the tutorial written the above statment . I have tried and got an error that it is not allowed to multiply by some constant?
@danielcohenlive does this means that in Service API can we insert this cons. "x1 - 1.5*x2 >= 0.0?
I have tried and got an error that it is not allowed to multiply by some constant?
Could you give a full repro of the error?
this what I got but after remove the space I did not see this error again instead since my condition x1-15x2<0 . I wrote like x1-1.5x2<=-0.00001 ? . I will post the error related to the input
@Fa20 by full repro I mean code that I can copy and paste in a notebook in my own environment without modification that you have verified will result in the error you're describing when I run it.
what is the reason for this warning and how can I fix it?