DEA

class pystoned.DEA.DDF(y, x, b=None, gy=[1], gx=[1], gb=None, rts='vrs', yref=None, xref=None, bref=None)[source]
__init__(y, x, b=None, gy=[1], gx=[1], gb=None, rts='vrs', yref=None, xref=None, bref=None)[source]

DEA: Directional distance function

Parameters:
  • y (float) – output variable.

  • x (float) – input variables.

  • b (float), optional) – undesirable output variables. Defaults to None.

  • gy (list, optional) – output directional vector. Defaults to [1].

  • gx (list, optional) – input directional vector. Defaults to [1].

  • gb (list, optional) – undesirable output directional vector. Defaults to None.

  • rts (String) – RTS_VRS (variable returns to scale) or RTS_CRS (constant returns to scale)

  • yref (String, optional) – reference output. Defaults to None.

  • xref (String, optional) – reference inputs. Defaults to None.

  • bref (String, optional) – reference undesirable output. Defaults to None.

class pystoned.DEA.DEA(y, x, orient, rts, yref=None, xref=None)[source]

Data Envelopment Analysis (DEA)

__init__(y, x, orient, rts, yref=None, xref=None)[source]

DEA: Envelopment problem

Parameters:
  • y (float) – output variable.

  • x (float) – input variables.

  • orient (String) – ORIENT_IO (input orientation) or ORIENT_OO (output orientation)

  • rts (String) – RTS_VRS (variable returns to scale) or RTS_CRS (constant returns to scale)

  • yref (String, optional) – reference output. Defaults to None.

  • xref (String, optional) – reference inputs. Defaults to None.

display_lamda()[source]

Display lamda value

display_status()[source]

Display the status of problem

display_theta()[source]

Display theta value

get_lamda()[source]

Return lamda value by array

get_status()[source]

Return status

get_theta()[source]

Return theta value by array

optimize(email='local', solver=None)[source]

Optimize the function by requested method

Parameters:
  • email (string) – The email address for remote optimization. It will optimize locally if OPT_LOCAL is given.

  • solver (string) – The solver chosen for optimization. It will optimize with default solver if OPT_DEFAULT is given.

class pystoned.DEA.DUAL(y, x, orient, rts, yref=None, xref=None)[source]
__init__(y, x, orient, rts, yref=None, xref=None)[source]

DEA: Multiplier problem

Parameters:
  • y (float) – output variable.

  • x (float) – input variables.

  • orient (String) – ORIENT_IO (input orientation) or ORIENT_OO (output orientation)

  • rts (String) – RTS_VRS (variable returns to scale) or RTS_CRS (constant returns to scale)

  • yref (String, optional) – reference output. Defaults to None.

  • xref (String, optional) – reference inputs. Defaults to None.

display_mu()[source]

Display mu value

display_nu()[source]

Display nu value

display_omega()[source]

Display omega value

get_efficiency()[source]

Return efficiency value by array

get_mu()[source]

Return mu value by array

get_nu()[source]

Return nu value by array

get_omega()[source]

Return omega value by array