001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package org.wpilib.math.optimization; 006 007import org.wpilib.math.autodiff.Variable; 008 009/** A vector of inequality constraints of the form cᵢ(x) ≥ 0. */ 010@SuppressWarnings("PMD.ArrayIsStoredDirectly") 011public class InequalityConstraints { 012 /** List of inequality constraints. */ 013 public Variable[] constraints; 014 015 /** 016 * Constructs an InequalityConstraints. 017 * 018 * @param constraints The constraints. 019 */ 020 public InequalityConstraints(Variable[] constraints) { 021 this.constraints = constraints; 022 } 023}