constraint vs enclosing

constraint

noun
  • Something that constrains; a restriction. 

  • An irresistible force or compulsion. 

  • A condition that a solution to an optimization problem must satisfy. 

  • A linkage or other restriction that maintains database integrity. 

  • The repression of one's feelings. 

enclosing

noun
  • The act or situation by which something is enclosed. 

  • That which encloses. 

How often have the words constraint and enclosing occurred in a corpus of books? (source: Google Ngram Viewer )