How lower bound and upper bound value can be specify in fgoalattain
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
I have 13 variables 4 objective functions. I am using "fgoalattain" optimization tool. For lower bound and upper bound values I mentioned
Lower: [0 0 0 0 0 0 0 0 0 0 0 0 0]
Upper: [1 1 1 1 1 1 1 1 1 1 1 1 1]
variable always take value between 0 and 1.
How I can specify value only 0 or 1? as randi([0 1], x, y)

댓글 수: 0
채택된 답변
  Alan Weiss
    
      
 2016년 8월 18일
        
      편집: Alan Weiss
    
      
 2016년 8월 18일
  
      fgoalattain is not a discrete-variable solver, it solves only for continuous variables.
However, with only 13 variables, it should not be hard to generate manually all 8192 possible binary values and see which ones look best (take the four objective functions and find the Pareto points).
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Multiobjective Optimization에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

