diff --git a/.gitignore b/.gitignore index aca16c2..c30b108 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,8 @@ Ipopt*.dll /Cureos.Numerics.dll /build/*.txt /build/*.dll +/build/*.pdb +/build/*.xml /build/*.exe *.txt /Cureos.Numerics/Tests.Cureos.Numerics/bin/ diff --git a/Cureos.Numerics/Cureos.Numerics/Cureos.Numerics.csproj b/Cureos.Numerics/Cureos.Numerics/Cureos.Numerics.csproj index 3866ac6..36fd84d 100644 --- a/Cureos.Numerics/Cureos.Numerics/Cureos.Numerics.csproj +++ b/Cureos.Numerics/Cureos.Numerics/Cureos.Numerics.csproj @@ -74,7 +74,7 @@ true true pdbonly - Itanium + x86 bin\Release\Cureos.Numerics.dll.CodeAnalysisLog.xml true GlobalSuppressions.cs diff --git a/build/build_library.bat b/build/build_library.bat index e0a7711..39a199a 100644 --- a/build/build_library.bat +++ b/build/build_library.bat @@ -1 +1 @@ -csc /target:library /out:Cureos.Numerics.dll ..\src\IpoptProblem.cs ..\src\IpoptAdapter.cs ..\src\IpoptAlgorithmMode.cs ..\src\IpoptReturnCode.cs ..\src\IpoptBoolType.cs ..\src\IpoptIndexStyle.cs +csc /platform:anycpu /target:library /debug:pdbonly /optimize /doc:Cureos.Numerics.xml /out:Cureos.Numerics.dll ..\src\IpoptProblem.cs ..\src\IpoptAdapter.cs ..\src\IpoptAlgorithmMode.cs ..\src\IpoptReturnCode.cs ..\src\IpoptBoolType.cs ..\src\IpoptIndexStyle.cs diff --git a/src/IpoptProblem.cs b/src/IpoptProblem.cs index 6f02e50..61f7fbb 100644 --- a/src/IpoptProblem.cs +++ b/src/IpoptProblem.cs @@ -403,9 +403,9 @@ public IpoptProblem(int n, double[] x_L, double[] x_U, int m, double[] g_L, doub } /// - /// Constructor for creating a subclassed Ipopt Problem object using + /// Constructor for creating a subclassed Ipopt Problem object using managed or /// native function delegates. This is the preferred constructor when - /// subclassing IpoptProblem. Prerequisite is that the native optimization + /// subclassing IpoptProblem. Prerequisite is that the managed/native optimization /// function delegates are implemented in the inheriting class. /// This function /// initializes an object that can be passed to the IpoptSolve call. It @@ -435,9 +435,9 @@ public IpoptProblem(int n, double[] x_L, double[] x_U, int m, double[] g_L, doub /// If set to true, native callback functions are used to setup /// the Ipopt problem; if set to false, managed callback functions are used. /// If set to true, the Ipopt optimizer creates a limited memory - /// Hessian approximation and need not be implemented. If set to false, an exact Hessian - /// should be evaluated using . - /// If set to true, the method will be called + /// Hessian approximation and the eval_h (managed or native) method need not be implemented. + /// If set to false, an exact Hessian should be evaluated using the appropriate Hessian evaluation method. + /// If set to true, the intermediate method (managed or native) will be called /// after each full iteration. If false, the intermediate callback function will not be called. protected IpoptProblem(int n, double[] x_L, double[] x_U, int m, double[] g_L, double[] g_U, int nele_jac, int nele_hess, bool useNativeCallbackFunctions = false, bool useHessianApproximation = false, bool useIntermediateCallback = false)