| Package | Description |
|---|---|
| net.vatov.ampl | |
| net.vatov.ampl.model |
| Modifier and Type | Field and Description |
|---|---|
List<Expression> |
Ampl.builtin_function_return.es |
| Modifier and Type | Method and Description |
|---|---|
Expression |
Ampl.expr() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
ConstraintDeclaration.getaExpr() |
Expression |
ConstraintDeclaration.getbExpr() |
Expression |
ObjectiveDeclaration.getExpression() |
Expression |
RangeValue.getFrom() |
Expression |
SymbolDeclaration.getLowerBound() |
Expression[] |
NodeValue.getOperands() |
Expression |
RangeValue.getStep() |
Expression |
RangeValue.getTo() |
Expression |
SymbolDeclaration.getUpperBound() |
Expression |
SymbolDeclaration.getValue() |
| Modifier and Type | Method and Description |
|---|---|
ConstraintDeclaration |
OptimModel.addConstraint(String name,
String relop,
Expression aExpr,
Expression bExpr) |
ObjectiveDeclaration |
OptimModel.addObjective(String goal,
String name,
Expression expression) |
static boolean |
Util.areConstExpressions(Expression... expressions)
Проверява дали всички подадени аргументи са константни изрази, чиято
стойност може да бъде изчислена в момента
|
void |
Expression.setTreeValue(NodeValue.OperationType operation,
Expression... operands) |
| Modifier and Type | Method and Description |
|---|---|
void |
Expression.setTreeValue(NodeValue.BuiltinFunction function,
List<Expression> params) |
| Constructor and Description |
|---|
ConstraintDeclaration(String name,
ConstraintDeclaration.RelopType relop,
Expression aExpr,
Expression bExpr) |
ConstraintDeclaration(String name,
String relop,
Expression aExpr,
Expression bExpr) |
NodeValue(NodeValue.OperationType operation,
Expression... operands) |
ObjectiveDeclaration(ObjectiveDeclaration.Goal goal,
String name,
Expression expression) |
RangeValue(Expression from,
Expression to,
Expression step) |
Copyright © 2013. All Rights Reserved.