question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting parameter constraints of the form x - y >= 1

See original GitHub issue

It seems like parameter restraints are very strict, so x - y >= 1 does not work. Is it possible to support this in the future or does something prevent it?

"Parameter constraint should be of form <parameter_name> >= <other_parameter_name> for order constraints or <parameter_name> + <other_parameter_name> >= x, where any number of parameters can be summed up and x` is a float bound. Acceptable comparison operators are “>=” and “<=”.’

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lena-kashtelyancommented, Nov 4, 2019

@dqii, this functionality is now available on master, check latest version for installation instructions. This will also be included in the next stable version when it comes out.

1reaction
dqiicommented, Oct 10, 2019

Correct, I’m using the Loop API currently. Thanks for the response!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linear programming 1 Basics
Linear Programming deals with the problem of optimizing a linear objective function subject to linear equality and inequality constraints on ...
Read more >
Parameter Optimization: Constrained
The general form of most constrained optimization problems can be expressed as: ... 2-parameter and 1- constraint problem, it becomes very difficult to....
Read more >
Lagrange multipliers intro | Constrained optimization (article)
The Lagrange multiplier technique lets you find the maximum or minimum of a multivariable function f ( x , y , … )...
Read more >
The Graphical Simplex Method: An Example
Goal: produce a pair of x1 and x2 that (i) satisfies all constraints and (ii) has the greatest objective-function value. A pair of...
Read more >
Auto Layout Guide: Anatomy of a Constraint - Apple Developer
Each constraint represents a single equation. Your goal is to declare a series of equations that has one and only one possible solution....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found