CONOPT
Loading...
Searching...
No Matches
jconopt.ObjectiveElement Class Reference

Public Member Functions

final int swigValue ()
 
String toString ()
 

Static Public Member Functions

static ObjectiveElement swigToEnum (int swigValue)
 

Static Public Attributes

static final ObjectiveElement Variable = new ObjectiveElement("Variable", jconoptJNI.ObjectiveElement_Variable_get())
 
static final ObjectiveElement Constraint = new ObjectiveElement("Constraint")
 

Detailed Description

the element that is used for the objective function

This can be either a single variable or a constraint. If the objective function is a constraint, then the constraint must be added with the type ConoptConstraintType.Free.

Note: an objective element must be specified.

Definition at line 26 of file ObjectiveElement.java.

Member Function Documentation

◆ swigValue()

final int jconopt.ObjectiveElement.swigValue ( )
inline

Definition at line 36 of file ObjectiveElement.java.

◆ toString()

String jconopt.ObjectiveElement.toString ( )
inline

Definition at line 40 of file ObjectiveElement.java.

◆ swigToEnum()

static ObjectiveElement jconopt.ObjectiveElement.swigToEnum ( int swigValue)
inlinestatic

Definition at line 44 of file ObjectiveElement.java.

Field Documentation

◆ Variable

final ObjectiveElement jconopt.ObjectiveElement.Variable = new ObjectiveElement("Variable", jconoptJNI.ObjectiveElement_Variable_get())
static

the objective is given by a single variable

Definition at line 30 of file ObjectiveElement.java.

◆ Constraint

final ObjectiveElement jconopt.ObjectiveElement.Constraint = new ObjectiveElement("Constraint")
static

the objective is given by the value of an equation

Definition at line 34 of file ObjectiveElement.java.


The documentation for this class was generated from the following file: