-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c214196
commit a7bf737
Showing
8 changed files
with
303 additions
and
125 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,241 @@ | ||
|
||
# BARON Options | ||
|
||
```ampl | ||
ampl: option solver baronmp; # change the solver | ||
ampl: option baronmp_options 'option1=value1 option2=value2'; # specify options | ||
ampl: solve; # solve the problem | ||
``` | ||
|
||
Solver options obtained with `$ baronmp -=`. | ||
|
||
``` | ||
BARONMP Optimizer Options for AMPL | ||
-------------------------------------------- | ||
To set these options, assign a string specifying their values to the AMPL | ||
option "baronmp_options". For example: | ||
ampl: option baronmp_options 'mipgap=1e-6'; | ||
Options: | ||
acc:_all | ||
Solver acceptance level for all constraints and expressions. Value | ||
meaning: as described in the specific acc:... options. | ||
Can be useful to disable all reformulations (acc:_all=2), or force | ||
linearization (acc:_all=0.) | ||
acc:_expr | ||
Solver acceptance level for all expressions, default 1: | ||
0 - Not accepted, all expressions will be treated as flat constraints, | ||
or redefined | ||
1 - Accepted. See the individual acc:... options | ||
acc:div | ||
Solver acceptance level for 'DivConstraint' as expression, default 4: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
3 - Accepted but automatic redefinition will be used where possible | ||
4 - Accepted natively and preferred | ||
acc:exp | ||
Solver acceptance level for 'ExpConstraint' as either constraint or | ||
expression, default 4: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted as constraint but automatic redefinition will be used | ||
where possible | ||
2 - Accepted as constraint natively and preferred | ||
3 - Accepted as expression but automatic redefinition will be used | ||
where possible | ||
4 - Accepted as expression natively and preferred | ||
acc:expa (acc:expA) | ||
Solver acceptance level for 'ExpAConstraint' as either constraint or | ||
expression, default 4: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted as constraint but automatic redefinition will be used | ||
where possible | ||
2 - Accepted as constraint natively and preferred | ||
3 - Accepted as expression but automatic redefinition will be used | ||
where possible | ||
4 - Accepted as expression natively and preferred | ||
acc:lineq | ||
Solver acceptance level for 'LinConEQ' as flat constraint, default 2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:linfunccon | ||
Solver acceptance level for 'LinearFunctionalConstraint' as expression, | ||
default 4: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
3 - Accepted but automatic redefinition will be used where possible | ||
4 - Accepted natively and preferred | ||
acc:linge | ||
Solver acceptance level for 'LinConGE' as flat constraint, default 2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:linle | ||
Solver acceptance level for 'LinConLE' as flat constraint, default 2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:linrange (acc:linrng) | ||
Solver acceptance level for 'LinConRange' as flat constraint, default 2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:log | ||
Solver acceptance level for 'LogConstraint' as either constraint or | ||
expression, default 4: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted as constraint but automatic redefinition will be used | ||
where possible | ||
2 - Accepted as constraint natively and preferred | ||
3 - Accepted as expression but automatic redefinition will be used | ||
where possible | ||
4 - Accepted as expression natively and preferred | ||
acc:loga (acc:logA) | ||
Solver acceptance level for 'LogAConstraint' as either constraint or | ||
expression, default 4: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted as constraint but automatic redefinition will be used | ||
where possible | ||
2 - Accepted as constraint natively and preferred | ||
3 - Accepted as expression but automatic redefinition will be used | ||
where possible | ||
4 - Accepted as expression natively and preferred | ||
acc:nlassigneq | ||
Solver acceptance level for 'NLAssignEQ' as flat constraint, default 2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:nlassignge | ||
Solver acceptance level for 'NLAssignGE' as flat constraint, default 2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:nlassignle | ||
Solver acceptance level for 'NLAssignLE' as flat constraint, default 2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:nlcon (acc:nlalgcon) | ||
Solver acceptance level for 'NLConstraint' as flat constraint, default | ||
2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:powconstexp | ||
Solver acceptance level for 'PowConstExpConstraint' as either constraint | ||
or expression, default 4: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted as constraint but automatic redefinition will be used | ||
where possible | ||
2 - Accepted as constraint natively and preferred | ||
3 - Accepted as expression but automatic redefinition will be used | ||
where possible | ||
4 - Accepted as expression natively and preferred | ||
acc:quadeq | ||
Solver acceptance level for 'QuadConEQ' as flat constraint, default 2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:quadfunccon | ||
Solver acceptance level for 'QuadraticFunctionalConstraint' as | ||
expression, default 4: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
3 - Accepted but automatic redefinition will be used where possible | ||
4 - Accepted natively and preferred | ||
acc:quadge | ||
Solver acceptance level for 'QuadConGE' as flat constraint, default 2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:quadle | ||
Solver acceptance level for 'QuadConLE' as flat constraint, default 2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
acc:quadrange (acc:quadrng) | ||
Solver acceptance level for 'QuadConRange' as flat constraint, default | ||
2: | ||
0 - Not accepted natively, automatic redefinition will be attempted | ||
1 - Accepted but automatic redefinition will be used where possible | ||
2 - Accepted natively and preferred | ||
alg:deltaa (deltaa) | ||
Adjustment parameter for delta values. | ||
alg:deltar (deltar) | ||
Relative delta adjustment. | ||
alg:deltat (deltat) | ||
Time-based delta adjustment. | ||
alg:deltaterm (deltaterm) | ||
Delta termination criterion. | ||
alg:epsa (epsa) | ||
EpsA convergence tolerance (default 1e-6). BARON stops if the current | ||
function value f satisfies abs(f - L) <= epsa, where L is the currently | ||
best available bound on f. | ||
alg:epsr (epsr) | ||
BARON's EpsR convergence tolerance (default 1e-9). BARON stops if the | ||
current function value f satisfies abs(f - L) <= abs(L*epsr), where L is | ||
the currently best available bound on f. | ||
alg:firstfeas (firstfeas) | ||
If set to 1, BARON will terminate once it finds numsol feasible | ||
solutions, irrespective of solution quality. Default is 0, meaning that | ||
BARON will search for the *best* numsol feasible solutions. | ||
alg:firstloc (firstloc) | ||
If set to 1, BARON will terminate once it finds a local optimum, | ||
irrespective of solution quality. Default is 0, meaning that BARON will | ||
search for the best numsol feasible solutions. | ||
alg:iisfind (iisfind, iis) | ||
Whether to find and export an IIS. Default = 0 (don't export). | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# BARON Changelog | ||
|
||
|
||
## 20241119 | ||
- Beta release of MP driver for Baron, use with option `option solver baronmp;`, | ||
to use the original ASL driver use `option solver baron;` | ||
- Breaking changes with ASL driver: | ||
- `version` keyword removed | ||
- Changed behaviour of the `iisfind` option to be consistent with MP features; | ||
see `alg:iisfind`, `alg:iismethod`, `alg:iisint` | ||
- Absolute values are reformulated as MIP instead of abs(x)=(x^2)^0.5 | ||
- Added option value `local` to `scratch` that automatically places the scratch | ||
files in a directory with the name derived from the model file (e.g. for | ||
`/test/model.nl` the directory will be `/test/model.nl_baron/`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.