APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Computer Program Detail Page

Item Picture
Optimization with the Apache Library Model
written by Chad Garland and Larry Engelhardt
The Optimization with the Apache Library model demonstrates how the Apache Optimization library can be used within EJS to fit experimental data.  In this simulation, six different optimization algorithms have been implemented, and three different types of (pre-measured) experimental data are included: nuclear decay, a falling ball, and a damped oscillator.

In the description pages, exercises are provided that encourage the user to explore the efficiency and effectiveness of different algorithms (applied to different types of data), and the process of implementing code from the Apache Optimization library is described.  In this simulation, the sum of squared deviations is minimized, but if you have estimates for the uncertainties in your experimental data, the implementation can easily be modified to instead minimize the value of the chi-squared or reduced chi-squared deviation.  For maximization problems, simply follow the example code provided here, but replace the word MINIMIZE with MAXIMIZE.

The EJS "Optimization with the Apache library" model was created using the Easy Java Simulations (EJS) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.   Double clicking the ejs_Optimization_Apache.jar file will run the program if Java is installed.  You can modify this simulation if you have EJS installed by right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item.

Please note that this resource requires at least version 1.6 of Java.
1 source code document is available
Subjects Levels Resource Types
General Physics
- Computational Physics
- Measurement/Units
= Error
Mathematical Tools
- Statistics
- Upper Undergraduate
- Graduate/Professional
- Instructional Material
= Interactive Simulation
Intended Users Formats Ratings
- Learners
- Educators
- application/java
  • Currently 0.0/5

Want to rate this material?
Login here!


Access Rights:
Free access
License:
This material is released under a GNU General Public License Version 3 license.
Rights Holder:
Larry Englehardt
Record Cloner:
Metadata instance created January 23, 2013 by Wolfgang Christian
Record Updated:
June 13, 2014 by Andreu Glasmann
Last Update
when Cataloged:
January 22, 2013
ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
C. Garland and L. Engelhardt, Computer Program OPTIMIZATION WITH THE APACHE LIBRARY MODEL, Version 1.0 (2013), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12600&DocID=3194).
AJP/PRST-PER
C. Garland and L. Engelhardt, Computer Program OPTIMIZATION WITH THE APACHE LIBRARY MODEL, Version 1.0 (2013), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12600&DocID=3194>.
APA Format
Garland, C., & Engelhardt, L. (2013). Optimization with the Apache Library Model (Version 1.0) [Computer software]. Retrieved December 8, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12600&DocID=3194
Chicago Format
Garland, Chad, and Larry Engelhardt. "Optimization with the Apache Library Model." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12600&DocID=3194 (accessed 8 December 2024).
MLA Format
Garland, Chad, and Larry Engelhardt. Optimization with the Apache Library Model. Vers. 1.0. Computer software. 2013. Java 1.6. 8 Dec. 2024 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12600&DocID=3194>.
BibTeX Export Format
@misc{ Author = "Chad Garland and Larry Engelhardt", Title = {Optimization with the Apache Library Model}, Month = {January}, Year = {2013} }
Refer Export Format

%A Chad Garland %A Larry Engelhardt %T Optimization with the Apache Library Model %D January 22, 2013 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12600&DocID=3194 %O 1.0 %O application/java

EndNote Export Format

%0 Computer Program %A Garland, Chad %A Engelhardt, Larry %D January 22, 2013 %T Optimization with the Apache Library Model %7 1.0 %8 January 22, 2013 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=12600&DocID=3194


Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

This resource is stored in a shared folder.

You must login to access shared folders.

Optimization with the Apache Library Model:

Is Based On Easy Java Simulations Modeling and Authoring Tool

The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Optimization with the Apache Library Model.

relation by Wolfgang Christian

Know of another related resource? Login to relate this resource to it.
Save to my folders

Supplements

Contribute

Related Materials

Similar Materials

OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book