Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
simplex[setup] - construct a set of equations with variables on the lhs
Calling Sequence
setup(C)
setup(C, NONNEGATIVE)
setup(C, NONNEGATIVE, 't')
Parameters
C
-
set of linear equations
't'
name
Description
The function setup(C) constructs a set of equations in a form with isolated variables on the left-hand side. Those variables form a basis for the corresponding linear system, and do not occur on the right hand side of any equation. Slack variables of the form _SL.i are introduced to deal with inequalities. Unrestricted variables are transformed to be the difference of two variables.
The resulting system is equivalent to the original system C, in that solutions to the new system can be transformed into solutions of the original system. The resulting system need not correspond to a feasible basic solution.
If the optional second parameter 'NONNEGATIVE' is present, all variables are assumed to be non-negative. If a third parameter is present, then it is assigned the transformations used for any variable deemed to be unrestricted.
The command with(simplex,setup) allows the use of the abbreviated form of this command.
Examples
Download Help Document