javax.constraints.linear.impl.XmlVar Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsr331-cplex Show documentation
Show all versions of jsr331-cplex Show documentation
This is a JSR331 interface for the commercial linear solver "CPLEX"
package javax.constraints.linear.impl;
public class XmlVar {
//
String name;
int index;
double value;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getIndex() {
return index;
}
public void setIndex(int index) {
this.index = index;
}
public double getValue() {
return value;
}
public void setValue(double value) {
this.value = value;
}
@Override
public String toString() {
return "XmlVar [name=" + name + ", index=" + index + ", value="
+ value + "]";
}
}