Name: | Description: | Size: | Format: | |
---|---|---|---|---|
1.1 MB | Adobe PDF |
Advisor(s)
Abstract(s)
Finding the optimal value for a problem is usual
in many areas of knowledge where in many cases it is needed
to solve Nonlinear Optimization Problems. For some of those
problems it is not possible to determine the expression for its
objective function and/or its constraints, they are the result of
experimental procedures, might be non-smooth, among other
reasons. To solve such problems it was implemented an API
contained methods to solve both constrained and unconstrained
problems. This API was developed to be used either locally
on the computer where the application is being executed or
remotely on a server. To obtain the maximum flexibility both
from the programmers’ and users’ points of view, problems can
be defined as a Java class (because this API was developed in
Java) or as a simple text input that is sent to the API. For this
last one to be possible it was also implemented on the API an
expression evaluator. One of the drawbacks of this expression
evaluator is that it is slower than the Java native code. In this
paper it is presented a solution that combines both options: the
problem can be expressed at run-time as a string of chars that
are converted to Java code, compiled and loaded dynamically.
To wide the target audience of the API, this new expression
evaluator is also compatible with the AMPL format.
Description
Keywords
Nonlinear programming Java API AMPL Dynamic code generation
Citation
Publisher
International Association of Engineers