API Documentation
desdeo_problem.problem Package
Desdeo-problem package
This package is for creating a problem for desdeo to solve. It includes modules for Variables, Objectives, Constraints, and actual Problem.
Functions
|
A function that creates an evaluator. |
|
Automatically build all variable objects. |
Classes
|
A simple scalar constraint that evaluates to a single scalar. |
Raised when an error related to the Constraint class in encountered. |
|
Base class for constraints. |
|
The abstract base class for objectives. |
|
Raised when an error related to the Objective class is encountered. |
|
|
The return object of <problem>.evaluate methods. |
The abstract base class for multiple objectives which are calculated at once. |
|
|
A simple objective function that returns a scalar. |
|
|
|
An objective function vector with one or more objective functions. |
|
A simple Objective class for single valued objectives. |
|
|
|
A Objective class for multi/valued objectives. |
Raised when an error related to the Problem class is encountered. |
|
The base class for the problems. |
|
|
The return object of <problem>.evaluate methods. |
|
A multiobjective optimization problem. |
|
A problem class for case where the data is pre-computed. |
|
An user defined multiobjective optimization problem. |
|
A class for a data based problem. |
|
A problem class for data-based problem. |
Raised when an error is encountered during the handling of the Variable objects. |
|
Raised when an error is encountered during the handling of the Variable objects. |
|
|
Simple variable with a name, initial value and bounds. |
|
A problem class for data-based problems with discrete values. |
Class Inheritance Diagram
digraph inheritance6d2b3d5a8e { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ABC" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Helper class that provides a standard way to create an ABC using"]; "ConstraintBase" [URL="api/desdeo_problem.problem.ConstraintBase.html#desdeo_problem.problem.ConstraintBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for constraints."]; "ABC" -> "ConstraintBase" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ConstraintError" [URL="api/desdeo_problem.problem.ConstraintError.html#desdeo_problem.problem.ConstraintError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Raised when an error related to the Constraint class in encountered."]; "DataProblem" [URL="api/desdeo_problem.problem.DataProblem.html#desdeo_problem.problem.DataProblem",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A class for a data based problem."]; "MOProblem" -> "DataProblem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DiscreteDataProblem" [URL="api/desdeo_problem.problem.DiscreteDataProblem.html#desdeo_problem.problem.DiscreteDataProblem",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A problem class for data-based problems with discrete values."]; "EvaluationResults" [URL="api/desdeo_problem.problem.EvaluationResults.html#desdeo_problem.problem.EvaluationResults",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="The return object of <problem>.evaluate methods."]; "ExperimentalProblem" [URL="api/desdeo_problem.problem.ExperimentalProblem.html#desdeo_problem.problem.ExperimentalProblem",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A problem class for data-based problem. This supports surrogate modelling."]; "MOProblem" -> "ExperimentalProblem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MOProblem" [URL="api/desdeo_problem.problem.MOProblem.html#desdeo_problem.problem.MOProblem",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An user defined multiobjective optimization problem."]; "ProblemBase" -> "MOProblem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ObjectiveBase" [URL="api/desdeo_problem.problem.ObjectiveBase.html#desdeo_problem.problem.ObjectiveBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="The abstract base class for objectives."]; "ABC" -> "ObjectiveBase" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ObjectiveError" [URL="api/desdeo_problem.problem.ObjectiveError.html#desdeo_problem.problem.ObjectiveError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Raised when an error related to the Objective class is encountered."]; "ObjectiveEvaluationResults" [URL="api/desdeo_problem.problem.ObjectiveEvaluationResults.html#desdeo_problem.problem.ObjectiveEvaluationResults",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="The return object of <problem>.evaluate methods."]; "ProblemBase" [URL="api/desdeo_problem.problem.ProblemBase.html#desdeo_problem.problem.ProblemBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="The base class for the problems."]; "ABC" -> "ProblemBase" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ProblemError" [URL="api/desdeo_problem.problem.ProblemError.html#desdeo_problem.problem.ProblemError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Raised when an error related to the Problem class is encountered."]; "ScalarConstraint" [URL="api/desdeo_problem.problem.ScalarConstraint.html#desdeo_problem.problem.ScalarConstraint",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A simple scalar constraint that evaluates to a single scalar."]; "ConstraintBase" -> "ScalarConstraint" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ScalarDataObjective" [URL="api/desdeo_problem.problem.ScalarDataObjective.html#desdeo_problem.problem.ScalarDataObjective",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A simple Objective class for single valued objectives."]; "ScalarObjective" -> "ScalarDataObjective" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ScalarDataProblem" [URL="api/desdeo_problem.problem.ScalarDataProblem.html#desdeo_problem.problem.ScalarDataProblem",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A problem class for case where the data is pre-computed."]; "ProblemBase" -> "ScalarDataProblem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ScalarMOProblem" [URL="api/desdeo_problem.problem.ScalarMOProblem.html#desdeo_problem.problem.ScalarMOProblem",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A multiobjective optimization problem."]; "ProblemBase" -> "ScalarMOProblem" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ScalarObjective" [URL="api/desdeo_problem.problem.ScalarObjective.html#desdeo_problem.problem.ScalarObjective",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A simple objective function that returns a scalar."]; "ObjectiveBase" -> "ScalarObjective" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Variable" [URL="api/desdeo_problem.problem.Variable.html#desdeo_problem.problem.Variable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Simple variable with a name, initial value and bounds."]; "VariableBuilderError" [URL="api/desdeo_problem.problem.VariableBuilderError.html#desdeo_problem.problem.VariableBuilderError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Raised when an error is encountered during the handling of the"]; "VariableError" [URL="api/desdeo_problem.problem.VariableError.html#desdeo_problem.problem.VariableError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Raised when an error is encountered during the handling of the"]; "VectorDataObjective" [URL="api/desdeo_problem.problem.VectorDataObjective.html#desdeo_problem.problem.VectorDataObjective",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A Objective class for multi/valued objectives. "]; "VectorObjective" -> "VectorDataObjective" [arrowsize=0.5,style="setlinewidth(0.5)"]; "VectorObjective" [URL="api/desdeo_problem.problem.VectorObjective.html#desdeo_problem.problem.VectorObjective",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An objective function vector with one or more objective functions."]; "VectorObjectiveBase" -> "VectorObjective" [arrowsize=0.5,style="setlinewidth(0.5)"]; "VectorObjectiveBase" [URL="api/desdeo_problem.problem.VectorObjectiveBase.html#desdeo_problem.problem.VectorObjectiveBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="The abstract base class for multiple objectives which are calculated at once."]; "ABC" -> "VectorObjectiveBase" [arrowsize=0.5,style="setlinewidth(0.5)"]; "_ScalarDataObjective" [URL="api/desdeo_problem.problem._ScalarDataObjective.html#desdeo_problem.problem._ScalarDataObjective",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "ScalarDataObjective" -> "_ScalarDataObjective" [arrowsize=0.5,style="setlinewidth(0.5)"]; "_ScalarObjective" [URL="api/desdeo_problem.problem._ScalarObjective.html#desdeo_problem.problem._ScalarObjective",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "ScalarObjective" -> "_ScalarObjective" [arrowsize=0.5,style="setlinewidth(0.5)"]; }desdeo_problem.testproblems Package
Functions
|
Build test problems. |
An example on how to implement a problem with 3 objectives and 4 variables and no constraints. |
|
|
Car-side impact problem. |
|
Four bar truss design problem. |
|
Reinforced concrete beam design problem. |
|
Pressure vesssel design problem. |
|
Hatch cover design problem. |
|
Coil compression spring design problem. |
|
Two bar truss design problem. |
|
Welded beam design problem. |
|
Disc brake design problem. |
|
The General Aviation Aircraft (GAA) problem. |
|
Multiple clutch brake problem. |
|
The river pollution problem with 4 or 5 objectives. |
|
The crash safety design problem with 3 objectives. |
desdeo_problem.surrogatemodels Package
Classes
Raised when an error related to the surrogate models classes is encountered. |
|
|
|