100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
README.baron.txt £2.99   Add to cart

Case

README.baron.txt

 3 views  0 purchase

Case of 5 pages for the course Amplide at Abacus College, Oxford (README.)

Preview 2 out of 5  pages

  • September 20, 2024
  • 5
  • 2024/2025
  • Case
  • Readme.baron.txt
  • A
All documents for this subject (10)
avatar-seller
1097434525U
Solver baron is a global nonlinear solver based on the BARON solver by
Nikolaos V. Sahinidis and co-authors. See

http://archimedes.cheme.cmu.edu/?q=baron
http://www.minlp.com/

For much more detail on BARON, including pointers to papers, see the
accompanying baron_manual.pdf.

It is most convenient to invoke baron with AMPL's solve command:

ampl: option solver baron;
ampl: solve;

but baron can also be run separately, with invocation syntax

baron stub [-AMPL] [keywd=[value] ...]

in which stub comes from AMPL's write command. For example,

> ampl -obfoo foo.mod foo.dat
> baron foo

demonstrates running baron separately; the ampl invocation writes file
foo.nl (stub = "foo"), which baron reads.

Command-line arguments to baron either have the form

keywd
or
keywd=value

where keywd is one of the keywords described below. Alternatively,
you can invoke baron the way AMPL's solve command does, i.e.,

baron stub -AMPL [keywd=value ...]

where stub was specified in

ampl -obstub ...
or
ampl -ogstub...

Such an invocation causes baron to read from stub.nl and to write stub.sol.

-----------------
Controlling baron
-----------------

Baron reads keywords and values from the environment (shell) variable
baron_options and from the command line. Execute

baron -?

or (if your shell requires ? to be quoted)

baron '-?'

for a summary of baron usage and

, baron -=

(or baron '-=') for a summary of keywords peculiar to the AMPL/BARON
driver "baron".

------------------
Sample Invocations
------------------

If you're using AMPL, just say

option solver baron;
solve;

If you've executed, say,

ampl -objunk junk.model junk.data

then you could say

baron junk epsr=1e-4 lsolver=minos

to force baron to use relative tolerance .0001 between the function
value at the solution returned and a lower bound thereon and to use
local solver minos. (This assumes a license for the AMPL/MINOS solver
"minos" is available.) With the Bourne shell, either of the invocations

baron_options='epsr=1e-4 lsolver=minos' baron junk
or
baron_options='epsr=1e-4 lsolver=minos'
export baron_options
baron junk

would have the same effect; within AMPL, specifying

option baron_options 'epsr=1e-4 lsolver=minos', solver baron;
solve;

would also have this effect.


-----------------------
solve_result_num values
=======================

Here is a table of solve_result_num values that "baron" can return to
an AMPL session, along with the text that appears in the associated
solve_message.

Value Message

0 optimal within tolerances
100 numerical difficulties but possibly optimal
150 feasible but insufficient progress
200 infeasible
201 infeasible, IIS found
202 infeasible, IS found, possibly not irreducible
203 infeasible, IIS sought but not found

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller 1097434525U. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £2.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

85443 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now

Start selling
£2.99
  • (0)
  Add to cart