Skip to content

Add support for NotEqualTo != #2405

Closed
@LebedevRI

Description

@LebedevRI

These are perhaps not very high on anyone's priority list,
and models can avoid needing them, but they come up,
so i wonder if these would be welcomed? (if someone contributes them)?

  1. Vector Set "monotonic": @constraint(model, [i=2:length(x)], x[i] <= x[x-i]) (configurable predicate)
  2. Bridge (Int) x != 0 -> c ? (x >= 1) : (x <= -1)
  3. Bridge (Int) x != y -> z = x - y; z != 0
  4. Bridge x != y -> (x, y) in MOI.AllDifferent
  5. Bridge x >= y -> x > y and x != y (configurable predicate)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions