Problem

class compas_tno.problems.Problem

Bases: object

The Problem class stores the matrices used in the optimisation. These are listed as parameters of the class and described below.

Parameters:
None
Attributes:
qarray(m x 1)

The vector of force densities

mint

The number of edges

nint

The number of vertices

nbint

The number of fixed vertices

Earray(2n x m)

The horizontal equilibrium matrix

Carray(n x m)

The connectivity matrix

Ctarray(m x n)

The transposed connectivity matrix

Ciarray(m x ni)

The sliced connectivity matrix with regards to the internal vertices

Citarray(ni x m)

The transpose of Ci

Cbarray(nb x m)

The sliced connectivity matrix with regards to the constrained (support) vertices

Uarray(m x m)

The diagonal matrix of coorrdinate differences in the x-direction

Varray(m x m)

The diagonal matrix of coorrdinate differences in the y-direction

Parray(n x 3)

The applied external loads in all nodes

freelist

The list with the index of the free vertices

fixedlist

The list with the index of the fixed vertices

phfreearray(ni x 2)

The applied horizonal loads on the free vertices

pharray(ni x 2)

A column vector with the the applied horizonal loads on the free vertices

lbarray(n x 1)

The lower-bound (intrados) limit for the nodes

ubarray(n x 1)

The upper-bound (extrados) limit for the nodes

lb0array(n x 1)

The lower-bound (intrados) limit for the nodes at the starting point (can be modified if thickness in the objective)

ub0array(n x 1)

The upper-bound (extrados) limit for the nodes at the starting point (can be modified if thickness in the objective)

sarray(n x 1)

The middle surface of the nodes

Xarray(n x 3)

The nodal position of the vertices of the network

x0array(n x 1)

The x-position of the vertices in the network

y0array(n x 1)

The y-position of the vertices in the network

free_xlist

index of the vertices free to move in x

free_ylist

index of the vertices free to move in y

rol_xlist

index of the vertices constrained partially on x.

rol_ylist

index of the vertices constrained partially on y.

Citxarray

Connectivity matrix sliced transposed on the vertices free on x.

Cityarray

Connectivity matrix sliced transposed on the vertices free on y.

Cbtxarray

Connectivity matrix sliced transposed on the vertices partially fixed on x.

Cbtyarray

Connectivity matrix sliced transposed on the vertices partially fixed on y.

xlimitsarray(n x 1)

Limits on the x-direction in which the nodes can move

ylimitsarray(n x 1)

Limits on the y-direction in which the nodes can move

qminarray(m x 1)

Lower-bounds of the force densities in the edges

qmaxarray(m x 1)

Upper-bounds of the force densities in the edges

k_idict

key-index dictionary

uv_idict

uv-index dictionary

i_uvdict

index-uv dictionary

indlist

List with the index of the independent edges

kint

Number of independents in the problem

deplist

List with the index of the dependent edges

Barray(m x k)

Matrix transforming the force densities in the independent edges to all force densities

rhofloat

Density of the material

constraintslist

List with the constraints of the problem