Commit Graph
56 Commits
Author SHA1 Message Date
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Vladimir Z Tomov eda2e7b798 added SolutionCallback. 2023-05-07 23:26:56 -07:00
Vladimir Z Tomov 43a6e4c059 simply exposed iterate_callback in a hiop-specific abstract class. 2023-04-18 13:05:25 -07:00
Tzanio Kolev 70083ae9d9 Merge branch 'master' into hiop-new-x 2023-04-03 09:04:28 -07:00
Vladimir Z Tomov f73f677b00 Added access to hiop's new_x field. 2023-03-22 12:59:04 -07:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Cosmin G Petra 57d4f68528 codestyle take 3 2021-09-07 12:48:34 -07:00
Cosmin G Petra b45941cc2f corrected size and index type in the HiOp solver class 2021-09-07 11:30:52 -07:00
Tzanio Kolev 25e59797c1 Merge pull request #2236 from mfem/leading-underscores-dev
Remove leading underscore variables
2021-05-18 16:44:54 -07:00
Aaron Fisher e758c37691 Removed nearly all leading underscores for variable names. Every once in a while one of these will confilct with standard libraries in an oddball compiler and it's best to just avoid this problem alltogether. 2021-05-10 16:06:51 -07:00
Vladimir Z Tomov d7ad94d6d9 hiop interface change. 2021-05-10 10:34:58 -07:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio ca55ef0217 The release number for mfem-4.1 is LLNL-CODE-806117 2020-03-02 17:18:46 -08:00
Tzanio 2caa222edf A number of changes to switch the code from LGPL-2.1 to BSD-3:
- Updated LICENSE, README, CHANGELOG and CONTRIBUTING.md
- Removed COPYRIGHT, added NOTICE
- Updated the headers in all source files, makefiles, etc.
2020-02-23 11:16:46 -08:00
Tzanio fda21fe590 Final adjustments 2019-12-27 13:23:01 -08:00
Tzanio 5b684c3f79 make style 2019-08-21 16:44:27 -07:00
Vladimir Tomov 54797b3574 Changed some Get..() methods to return constant pointers, styling. 2019-08-20 16:31:32 -07:00
Vladimir Tomov e5df36424f Fixed a build error in debug mode. 2019-03-27 17:23:52 -07:00
Vladimir Tomov 998b58e65d Hid the public pointers in OptimizationProblem. 2019-03-21 18:16:26 -07:00
Vladimir Tomov a6ab978d8e Const declarations. 2019-01-08 15:16:44 -08:00
Vladimir Tomov a64f853136 Added hiop's rel_tol success status. 2018-12-27 18:07:30 -08:00
Vladimir Tomov 56bb088863 Added nonlinear inequalities for the hiop examples. 2018-12-20 19:31:49 -08:00
Vladimir Tomov 5a92f8bd37 Test with nonlinear inequalities in ex9. 2018-12-06 17:39:45 -08:00
Vladimir Tomov 1889bc574a Set max_iter and extract final_iter. 2018-11-14 19:03:33 -08:00
Vladimir Tomov c6e3dc871b Minor edits, added TODO items. 2018-11-14 18:50:57 -08:00
Vladimir Tomov e8ab3cc5b3 Moved the reduction of the objective function. 2018-11-14 18:19:50 -08:00
Vladimir Tomov ead4fea5f1 Implemented the parallel example. 2018-11-14 17:27:30 -08:00
Cosmin G. Petra ccf2d3986a marked constraints for re-evaluation also in the objective and grad evaluations
most of the time, 'new_x' comes as 'true' in 'eval_f' (but not always)
2018-10-15 12:53:04 -07:00
Vladimir Tomov c7f41cd462 Updated the serial example. 2018-10-12 17:51:23 -07:00
Vladimir Tomov 95898f1ae6 Cleanup, minor edits. 2018-09-27 15:01:13 -07:00
Vladimir Tomov 7fa59c288e Moved get_vecdistr_info in the cpp, updated comments,
fixed communication error.
2018-09-27 13:48:30 -07:00
Vladimir Tomov adf040b0a1 Cleanup of things left from the old interface. 2018-09-26 13:22:22 -07:00
Vladimir Tomov 7b1d388729 Updated eval_Jac_cons. 2018-09-26 13:12:04 -07:00
Vladimir Tomov dd73f81b3c Updated get_starting_point. 2018-09-26 11:58:17 -07:00
Vladimir Tomov c26b737cf0 Defined eval_cons through the new interface. 2018-09-24 15:16:30 -07:00
Vladimir Tomov d047e98606 Simplified the OptimizationProblem interface for the objective.
Redefined some of the adapter methods to use the new interface.
2018-09-24 13:05:15 -07:00
Vladimir Tomov b8380b1979 Added links between OptimizationProblem and the various
solvers and adapters.
Renamed HiopProblemSpec to HiopOptimizationProblem.
2018-09-19 15:22:01 -07:00
Vladimir Tomov 811887c907 Added OptimizationProblem to OptimizationSolver, updated the
SLBQP interface.
2018-09-18 14:18:54 -07:00
Vladimir Tomov 00f365e0a7 Introduced class OptimizationProblem that defines MFEM's interface
for specifying optimization problems.
2018-09-17 12:40:42 -07:00
Ben Chung Yee 269b2c9f62 Use verbosity level of Optimizer base class, tweak comment 2018-09-11 09:04:41 -07:00
Ben Chung Yee c4ea03fc63 Use OptimizationSolver's attribute to set tolerance
OptimizationSolver::SetAbsTol can be used to set this tolerance.
2018-09-11 09:04:41 -07:00
Ben Chung Yee 95d1e5bf94 Provide a means of setting the initial guess
To set the initial guess, set use_initial_x_value to be true and provide
it via the output x vector in Mult()
2018-09-11 09:04:40 -07:00
Ben Chung Yee e56c5f67aa Code formatting/spacing changes
Enforce 3 indents everywhere, limit to 80 chars per line
2018-09-11 09:04:40 -07:00
Ben Chung Yee f4857335f3 Implement generalized Hiop SLBQP solver
We can now solve general quadratic objective functions.
Examples are modified to test this generalized solver.
2018-09-11 09:04:34 -07:00
Ben Chung Yee 45fb2e04ab Create shell for more general HiopNlpOptimizer class
This new class will be able to handle a general quadratic objective
function.  The old class is renamed HiopNlpOptimizer_Simple and
inherits from the more general new HiopNlpOptimizer class.
2018-09-11 09:04:12 -07:00
Cosmin G. Petra 0b324b8130 serial driver works with hiop irrespective of whether mfem and hiop use MPI or not 2018-09-03 10:54:55 -07:00
Vladimir Tomov 5340e06c4d Added some missing #ifdef MFEM_USE_MPI. 2018-08-23 19:01:03 -07:00