Kristian Ejlebjærg Jensen
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 year ago                            
                            
                                2024/05/29 6:41 GMT-4                            
                        
                        Updated:
                            
                                1 year ago                            
                            
                                2024/05/29 6:41 GMT-4                            
                        
                        
                                                    Hi
COMSOL does not support integer optimization. IPOPT will change controls even though the sensitivity is zero, but in most situations, you can just fix the integer and perform a sweep over the optimization. It sounds like you only have a single integer parameter, so this ought to be a viable strategy.
Best regards,
Kristian E. Jensen
Technical Product Manager Optimization
                                                 
                                                
                            Hi
COMSOL does not support integer optimization. IPOPT will change controls even though the sensitivity is zero, but in most situations, you can just fix the integer and perform a sweep over the optimization. It sounds like you only have a single integer parameter, so this ought to be a viable strategy.
Best regards,
Kristian E. Jensen
Technical Product Manager Optimization                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 year ago                            
                            
                                2024/05/29 11:38 GMT-4                            
                        
                        Updated:
                            
                                1 year ago                            
                            
                                2024/05/29 11:40 GMT-4                            
                        
                        
                                                    Thank you for the reply, I will try that.
Is the incrementation of each parameter constant over the optimisation ? if so I could maybe find a scale factor that makes the step be 1
                                                 
                                                
                            Thank you for the reply, I will try that.
Is the incrementation of each parameter constant over the optimisation ? if so I could maybe find a scale factor that makes the step be 1                        
                                                
                                                                                                            
                                             
                        
                        
                            
                                                                                        
                                Kristian Ejlebjærg Jensen
                                                                                                                                                    COMSOL Employee
                                                         
                            
                                                                                                                                                
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 year ago                            
                            
                                2024/06/11 4:13 GMT-4                            
                        
                        Updated:
                            
                                1 year ago                            
                            
                                2024/06/11 15:02 GMT-4                            
                        
                        
                                                    Hi
You can specify the increment in the Parametric Sweep, i.e. range(1,1,10) sweeps the value from 1 to 10 in steps of 1.
Best regards,
Kristian E. Jensen
Technical Product Manager Optimization
                                                 
                                                
                            Hi
You can specify the increment in the Parametric Sweep, i.e. range(1,1,10) sweeps the value from 1 to 10 in steps of 1.
Best regards,
Kristian E. Jensen
Technical Product Manager Optimization