hdavid16 / DisjunctiveProgramming.jl

A JuMP extension for Generalized Disjunctive Programming
MIT License
27 stars 3 forks source link

Add a short alias for `LogicalVariable` #73

Closed pulsipher closed 9 months ago

pulsipher commented 9 months ago

The syntax @variable(model, var, LogicalVariable) seems redundant having to type variable twice. As an addition, we can add:

const Logical = LogicalVariable

such that we can instead write @variable(model, var, Logical).