public class JipoptExample
extends org.coinor.Ipopt
The optimal solution is x = (1.00000000, 4.74299963, 3.82114998, 1.37940829).
This code was based on same problem of the Ipopt distribution.
ACCEPTABLE_LEVEL, C_STYLE, DIVERGING_ITERATES, DLLNAME, DLLPATH, ERROR_IN_STEP_COMPUTATION, FORTRAN_STYLE, INFEASIBLE_PROBLEM, INSUFFICIENT_MEMORY, INTERNAL_ERROR, INVALID_NUMBER_DETECTED, INVALID_OPTION, INVALID_PROBLEM_DEFINITION, ITERATION_EXCEEDED, KEY_ACCEPTABLE_COMPL_INF_TOL, KEY_ACCEPTABLE_CONSTR_VIOL_TOL, KEY_ACCEPTABLE_DUAL_INF_TOL, KEY_ACCEPTABLE_TOL, KEY_BARRIER_TOL_FACTOR, KEY_BOUND_RELAX_FACTOR, KEY_COMPL_INF_TOL, KEY_CONSTR_VIOL_TOL, KEY_DERIVATIVE_TEST, KEY_DERIVATIVE_TEST_PRINT_ALL, KEY_DERIVATIVE_TEST_TOL, KEY_DUAL_INF_TOL, KEY_FILE_PRINT_LEVEL, KEY_HESSIAN_APPROXIMATION, KEY_LIMITED_MEMORY_MAX_HISTORY, KEY_LINEAR_SOLVER, KEY_MAX_ITER, KEY_MU_STRATEGY, KEY_OBJ_SCALING_FACTOR, KEY_OUTPUT_FILE, KEY_PRINT_LEVEL, KEY_PRINT_USER_OPTIONS, KEY_TOL, NON_IPOPT_EXCEPTION, NOT_ENOUGH_DEGREES_OF_FRE, RESTORATION_FAILED, SEARCH_DIRECTION_TOO_SMALL, SOLVE_SUCCEEDED, UNRECOVERABLE_EXCEPTION, USER_REQUESTED_STOP
Constructor and Description |
---|
JipoptExample()
Creates a new instance of HS071cpp
|
Modifier and Type | Method and Description |
---|---|
boolean |
get_scaling_parameters(double[] obj_scaling,
int n,
double[] x_scaling,
int m,
double[] g_scaling,
boolean[] use_x_g_scaling) |
static void |
main(java.lang.String[] args)
Main function for running this example.
|
void |
print(double[] x,
java.lang.String str) |
public static void main(java.lang.String[] args)
public boolean get_scaling_parameters(double[] obj_scaling, int n, double[] x_scaling, int m, double[] g_scaling, boolean[] use_x_g_scaling)
get_scaling_parameters
in class org.coinor.Ipopt
public void print(double[] x, java.lang.String str)