javax.constraints.impl.VarBool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsr331-ssc Show documentation
Show all versions of jsr331-ssc Show documentation
This is a JSR331 interface for SSC (Software for the Calculation of the Simplex) is a java library for solving linear programming problems v. 3.0.1.
SSC was designed and developed by Stefano Scarioli.
The newest version!
//*************************************************
//* J A V A C O M M U N I T Y P R O C E S S *
//* *
//* J S R 3 3 1 *
//* * * * * * * * * * * * * * * * * * * * * * * * *
package javax.constraints.impl;
/**
* An implementation of the interface "VarBool"
* @author J.Feldman
*/
import javax.constraints.Problem;
public class VarBool extends Var implements javax.constraints.VarBool {
public VarBool(Problem problem, String name) {
super(problem,name);
setMin(0);
setMax(1);
}
public VarBool(Problem problem) {
this(problem,"");
}
}