All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.constraints.impl.VarBool Maven / Gradle / Ivy

Go to download

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,"");
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy