TK Solver

TK Solver

Infobox Software
name = TK Solver



caption =
author =
developer = Software Arts; Universal Technical Systems
released =
latest release version = 5.0
latest release date =
latest preview version =
latest preview date =
operating system = Windows
platform =
language =
genre = Mathematics/engineering
license =
website = http://www.uts.us.com/

TK Solver (originally TK!Solver) is a mathematical modelling and problem solving software system based on a declarative, rule-based language, commercialized by Universal Technical Systems, Inc.

History

Invented by Milos Konopasek in the late 1970's and initially developed in 1982 by Software Arts, the company behind VisiCalc, TK Solver was acquired by Universal Technical Systems in 1984 after Software Arts fell into financial difficulty and was sold to Lotus Software. Konopasek's goal in inventing the TK Solver concept was to create a problem solving environment in which a given mathematical model built to solve a specific problem could be used to solve related problems (with a redistribution of input and output variables) with minimal or no additional programming required: once a user enters an equation, TK Solver can evaluate that equation as is—without isolating unknown variables on one side of the equals sign.

Core technology

TK Solver's core technologies are a declarative programming language, algebraic equation solver, an iterative equation solver, and a structured, object-based interface. The interface comprises nine classes of objects that can be shared between and merged into other TK files:

* Rules: equations, formulas, function calls which may include logical conditions
* Variables: a listing of the variables that are used in the rules, along with values (numeric or non-numeric) that have been entered by the user or calculated by the software
* Units: all units conversion factors, in a single location, to allow automatic update of values when units are changed
* Lists: ranges of numeric and non-numeric values which can be associated with a variable or processed directly by procedure functions
* Tables: collections of lists displayed together
* Plots: line charts, scatterplots, bar charts, and pie charts
* Functions: rule-based, table look-up, and procedural programming components
* Formats: settings for displaying numeric and string values
* Comments: for explanation and documentation

Each class of object is listed and stored on its own worksheet -- the Rule Sheet, Variable Sheet, Unit Sheet, etc. Within each worksheet, each object has properties summarized on subsheets or viewed in a property window. The interface uses toolbars and a hierarchal navigation bar that resembles the directory tree seen on the left side of the Windows Explorer.

The declarative programming structure is embodied in the rules, functions and variables that form the core of a mathematical model.

Rules, variables, and units

All rules are entered in the Rule Sheet or in user-defined functions. Unlike a spreadsheet or imperative programming environment, the rules can be in any order or sequence and are not expressed as assignment statements. "A + B = C / D" is a valid rule in TK Solver and can be solved for any of its four variables. Rules can be added and removed as needed in the Rule Sheet without regard for their order and incorporated into other models. A TK Solver model can include up to 32,000 rules, and the library that ships with the current version includes utilities for higher mathematics, statistics, engineering and science, finances, and programming.

Variables in a rule are automatically posted to the Variable Sheet when the rule is entered and the rule is displayed in mathematical format in the MathLook View window at the bottom of the screen. Any variable can operate as an input or an output, and the model will be solved for the output variables depending on the choice of inputs.

A database of unit conversion factors also ships with TK Solver, and users can add, delete, or import unit conversions in a way similar to that for rules. Each variable is associated with a "calculation" unit, but variables can also be assigned "display" units and TK automatically converts the values. For example, rules may be based upon meters and kilograms, but units of inches and pounds can be used for input and output.

Problem-solving

TK Solver has three ways of solving systems of equations. The "direct solver" solves a system algebraically by the principle of consecutive substitution. When multiple rules contain multiple unknowns, the program can trigger an iterative solver which uses the Newton-Raphson algorithm to successively approximate based on initial guesses for one or more of the output variables. Procedure functions can also be used to solve systems of equations. Libraries of such procedures are included with the program and can be merged into files as needed. A list solver feature allows variables to be associated with ranges of data or probability distributions, solving for multiple values, which is useful for generating tables and plots and for running Monte Carlo simulations. The premium version now also includes a "Solution Optimizer" for direct setting of bounds and constraints in solving models for minimum, maximum, or specific conditions.

TK Solver includes roughly 150 built-in functions: mathematical, trigonometric, Boolean, numerical calculus, database access, and programming functions, including string handling and calls to externally compiled routines. Users may also define three types of functions: declarative rule functions; list functions, for table lookups and other operations involving pairs of lists; and procedure functions, for loops and other procedural operations which may also process or result in arrays (lists of lists). The complete NIST database of thermodynamic and transport properties is included, with built-in functions for accessing it. TK Solver is also the platform for engineering applications marketed by UTS, including Advanced Spring Design, Integrated Gear Software, Interactive Roark’s Formulas, Heat Transfer on TK, and Dynamics and Vibration Analysis.

Data display and sharing

Tables, plots, comments, and the MathLook notation display tool can be used to enrich TK Solver models. Models can be linked to other components with Microsoft Visual Basic and .NET tools, or they can be web-enabled using the RuleMaster product or linked with Excel spreadsheets using the Excel Toolkit product. There is also a DesignLink option linking TK Solver models with CAD drawings and solid models. In the premium version, standalone models can be shared with others who do not have a TK license, opening them in Excel or the free TK Player.

Alternatives

If one particular solution to a set of equations is required, mathematical models can be constructed in virtually any programming language and in many calculators. If declarative programmability is required, the goal-seeking and solver facilities in spreadsheets such as Microsoft Excel and Lotus 123 may suffice if just a single output variable is to be reversed to input status but those do not allow for arbitrary assignment of input and output status to any variable as is the case with a declarative language. Another alternative is [http://www.spinstop.com/roger/eureka.htm Eureka] , a free 16-bit DOS solver that was once sold by Borland.

See also

* The mathematics of optimization
* Multidisciplinary design optimization

External links

* [http://www.uts.us.com/ItemDetails.asp?ItemID=0100-50-0010-00 TK Solver product listing on the UTS website]
* [http://www.wam.umd.edu/~toh/Chem623/UsingTKSolverPlus.html Short introduction to using TK Solver]
* [http://efm.editme.com/tkSolver Tips for new users of TK Solver]
* [http://www.caddigest.com/subjects/reviews_sw/tk_solver.htm CadDigest reviews of various versions of TK Solver]
* [http://www.economicsnetwork.ac.uk/cheer/ch15_1/tksolver.htm Computers in Higher Education Economics Review discusses version 4]
* [http://www.designnews.com/article/CA151140.html Design News review of version 3.0]
* [http://ieeexplore.ieee.org/iel3/6/11936/00546495.pdf?arnumber=546495 IEEE Spectrum review of version 3.0]

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Solver — may mean different things * A solver is a software tools for solving mathematical systems of equations. * Solver, the Newcastle band …   Wikipedia

  • Sølver Hansen Laane — (1788 ??) was a Norwegian politician.He was elected to the Norwegian Parliament in 1842, representing the rural constituency of Jarlsberg og Laurvigs Amt (today named Vestfold). [http://samfunnsveven.no/TT/U21.cfm?Utside= Uttaksnummer=21… …   Wikipedia

  • solver — (del lat. «solvĕre»; ant.) tr. *Resolver una ↘dificultad o un problema. * * * solver. (Del lat. solvĕre). tr. desus. Resolver una duda. || 2. desus. Hallar la solución de un problema …   Enciclopedia Universal

  • Solver — Sol ver (s[o^]lv [ e]r), n. One who, or that which, solves. [1913 Webster] …   The Collaborative International Dictionary of English

  • solver — |ê| v. tr. 1. Resolver. 2. Dissolver. 3. Pagar (uma dívida). 4. Explicar. 5. Aplanar (dificuldades) …   Dicionário da Língua Portuguesa

  • solver — (Del lat. solvĕre). 1. tr. desus. Resolver una duda. 2. desus. Hallar la solución de un problema …   Diccionario de la lengua española

  • Solver — Dieser Artikel wurde aufgrund von inhaltlichen Mängeln auf der Qualitätssicherungsseite der Redaktion Informatik eingetragen. Dies geschieht, um die Qualität der Artikel aus dem Themengebiet Informatik auf ein akzeptables Niveau zu bringen. Hilf… …   Deutsch Wikipedia

  • Solver (computer science) — A solver is a piece of mathematical software, possible in the form of a stand alone computer program or possibly as a software library that solves equations or systems of equations of one or more different types. These can include solutions to:*… …   Wikipedia

  • solver — sprendimo įtaisas statusas T sritis automatika atitikmenys: angl. resolver; solver vok. Lösungsgerät, n; Resolver, m rus. решающее устройство, n pranc. résolveur, m …   Automatikos terminų žodynas

  • solver — solve ► VERB ▪ find an answer to, explanation for, or way of dealing with (a problem or mystery). DERIVATIVES solvable adjective solver noun. ORIGIN Latin solvere loosen, unfasten …   English terms dictionary

  • solver — noun a thinker who focuses on the problem as stated and tries to synthesize information and knowledge to achieve a solution • Syn: ↑problem solver, ↑convergent thinker • Derivationally related forms: ↑solve • Hypernyms: ↑thinker …   Useful english dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”