Skip to content

Bug: Automate variable type detection in replicateVariables.m #1

@yeminwu

Description

@yeminwu

Summary

The replicateVariables.m function currently requires manual boolean flags (issdpvar, isbinvar, isintvar) to specify the type of YALMIP variable being replicated. This approach can lead to errors if the wrong flag is provided. Additionally, its ability to differentiate between binvar and intvar could be more robust.

This issue proposes refactoring the function to automatically detect the variable type from the input all_orig_vars, thus removing the need for these manual flags.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions